- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
171 lines
6.8 KiB
Java
171 lines
6.8 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import android.os.RemoteException;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.ads.AdLoadCallback;
|
|
import com.google.android.gms.ads.FullScreenContentCallback;
|
|
import com.google.android.gms.ads.LoadAdError;
|
|
import com.google.android.gms.ads.MobileAds;
|
|
import com.google.android.gms.ads.OnPaidEventListener;
|
|
import com.google.android.gms.ads.ResponseInfo;
|
|
import com.google.android.gms.ads.admanager.AdManagerInterstitialAd;
|
|
import com.google.android.gms.ads.admanager.AppEventListener;
|
|
import com.google.android.gms.dynamic.ObjectWrapper;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzbmj extends AdManagerInterstitialAd {
|
|
private final Context zza;
|
|
private final com.google.android.gms.ads.internal.client.zzr zzb;
|
|
private final com.google.android.gms.ads.internal.client.zzby zzc;
|
|
private final String zzd;
|
|
private final zzbpa zze;
|
|
private final long zzf;
|
|
|
|
@Nullable
|
|
private AppEventListener zzg;
|
|
|
|
@Nullable
|
|
private FullScreenContentCallback zzh;
|
|
|
|
@Nullable
|
|
private OnPaidEventListener zzi;
|
|
|
|
public zzbmj(Context context, String str) {
|
|
zzbpa zzbpaVar = new zzbpa();
|
|
this.zze = zzbpaVar;
|
|
this.zzf = System.currentTimeMillis();
|
|
this.zza = context;
|
|
this.zzd = str;
|
|
this.zzb = com.google.android.gms.ads.internal.client.zzr.zza;
|
|
this.zzc = com.google.android.gms.ads.internal.client.zzbc.zza().zzf(context, new com.google.android.gms.ads.internal.client.zzs(), str, zzbpaVar);
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
public final String getAdUnitId() {
|
|
return this.zzd;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.admanager.AdManagerInterstitialAd
|
|
@Nullable
|
|
public final AppEventListener getAppEventListener() {
|
|
return this.zzg;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
@Nullable
|
|
public final FullScreenContentCallback getFullScreenContentCallback() {
|
|
return this.zzh;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
@Nullable
|
|
public final OnPaidEventListener getOnPaidEventListener() {
|
|
return this.zzi;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
@NonNull
|
|
public final ResponseInfo getResponseInfo() {
|
|
com.google.android.gms.ads.internal.client.zzdy zzdyVar = null;
|
|
try {
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzdyVar = zzbyVar.zzk();
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
return ResponseInfo.zzb(zzdyVar);
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.admanager.AdManagerInterstitialAd
|
|
public final void setAppEventListener(@Nullable AppEventListener appEventListener) {
|
|
try {
|
|
this.zzg = appEventListener;
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzbyVar.zzG(appEventListener != null ? new zzayy(appEventListener) : null);
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
public final void setFullScreenContentCallback(@Nullable FullScreenContentCallback fullScreenContentCallback) {
|
|
try {
|
|
this.zzh = fullScreenContentCallback;
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzbyVar.zzJ(new com.google.android.gms.ads.internal.client.zzbf(fullScreenContentCallback));
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
public final void setImmersiveMode(boolean z) {
|
|
try {
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzbyVar.zzL(z);
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
public final void setOnPaidEventListener(@Nullable OnPaidEventListener onPaidEventListener) {
|
|
try {
|
|
this.zzi = onPaidEventListener;
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzbyVar.zzP(new com.google.android.gms.ads.internal.client.zzfs(onPaidEventListener));
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.interstitial.InterstitialAd
|
|
public final void show(@NonNull Activity activity) {
|
|
if (activity == null) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzj("The activity for show is null, will proceed with show using the context provided when loading the ad.");
|
|
}
|
|
try {
|
|
com.google.android.gms.ads.internal.client.zzby zzbyVar = this.zzc;
|
|
if (zzbyVar != null) {
|
|
zzbyVar.zzW(ObjectWrapper.wrap(activity));
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
|
|
public final void zza(com.google.android.gms.ads.internal.client.zzei zzeiVar, AdLoadCallback adLoadCallback) {
|
|
try {
|
|
if (this.zzc != null) {
|
|
zzeiVar.zzq(this.zzf);
|
|
this.zzc.zzy(this.zzb.zza(this.zza, zzeiVar), new com.google.android.gms.ads.internal.client.zzh(adLoadCallback, this));
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
adLoadCallback.onAdFailedToLoad(new LoadAdError(0, "Internal Error.", MobileAds.ERROR_DOMAIN, null, null));
|
|
}
|
|
}
|
|
|
|
public zzbmj(Context context, String str, com.google.android.gms.ads.internal.client.zzby zzbyVar) {
|
|
this.zze = new zzbpa();
|
|
this.zzf = System.currentTimeMillis();
|
|
this.zza = context;
|
|
this.zzd = str;
|
|
this.zzb = com.google.android.gms.ads.internal.client.zzr.zza;
|
|
this.zzc = zzbyVar;
|
|
}
|
|
}
|