Files
rr3-apk/decompiled/sources/com/google/android/gms/ads/AdActivity.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

247 lines
7.0 KiB
Java

package com.google.android.gms.ads;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.RemoteException;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbte;
@KeepForSdk
/* loaded from: classes2.dex */
public final class AdActivity extends Activity {
@NonNull
@KeepForSdk
public static final String CLASS_NAME = "com.google.android.gms.ads.AdActivity";
@Nullable
private zzbte zza;
private final void zza() {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
try {
zzbteVar.zzx();
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
}
@Override // android.app.Activity
public final void onActivityResult(int i, int i2, @NonNull Intent intent) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzh(i, i2, intent);
}
} catch (Exception e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onActivityResult(i, i2, intent);
}
@Override // android.app.Activity
public final void onBackPressed() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
if (!zzbteVar.zzH()) {
return;
}
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onBackPressed();
try {
zzbte zzbteVar2 = this.zza;
if (zzbteVar2 != null) {
zzbteVar2.zzi();
}
} catch (RemoteException e2) {
zzo.zzl("#007 Could not call remote method.", e2);
}
}
@Override // android.app.Activity, android.content.ComponentCallbacks
public final void onConfigurationChanged(@NonNull Configuration configuration) {
super.onConfigurationChanged(configuration);
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzk(ObjectWrapper.wrap(configuration));
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
zzbte zzq = zzbc.zza().zzq(this);
this.zza = zzq;
if (zzq == null) {
zzo.zzl("#007 Could not call remote method.", null);
finish();
return;
}
try {
zzq.zzl(bundle);
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onDestroy() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzm();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onDestroy();
}
@Override // android.app.Activity
public final void onPause() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzo();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onPause();
}
@Override // android.app.Activity
public final void onRequestPermissionsResult(int i, @NonNull String[] strArr, @NonNull int[] iArr) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzp(i, strArr, iArr);
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void onRestart() {
super.onRestart();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzq();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onResume() {
super.onResume();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzr();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onSaveInstanceState(@NonNull Bundle bundle) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzs(bundle);
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onSaveInstanceState(bundle);
}
@Override // android.app.Activity
public final void onStart() {
super.onStart();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzt();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onStop() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzu();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onStop();
}
@Override // android.app.Activity
public final void onUserLeaveHint() {
super.onUserLeaveHint();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzv();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void setContentView(int i) {
super.setContentView(i);
zza();
}
@Override // android.app.Activity
public final void setContentView(@NonNull View view) {
super.setContentView(view);
zza();
}
@Override // android.app.Activity
public final void setContentView(@NonNull View view, @NonNull ViewGroup.LayoutParams layoutParams) {
super.setContentView(view, layoutParams);
zza();
}
}