- 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
190 lines
7.5 KiB
Java
190 lines
7.5 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import android.os.Bundle;
|
|
import android.os.RemoteException;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.ads.FullScreenContentCallback;
|
|
import com.google.android.gms.ads.OnPaidEventListener;
|
|
import com.google.android.gms.ads.OnUserEarnedRewardListener;
|
|
import com.google.android.gms.ads.ResponseInfo;
|
|
import com.google.android.gms.ads.rewarded.OnAdMetadataChangedListener;
|
|
import com.google.android.gms.ads.rewarded.RewardItem;
|
|
import com.google.android.gms.ads.rewarded.ServerSideVerificationOptions;
|
|
import com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd;
|
|
import com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAdLoadCallback;
|
|
import com.google.android.gms.dynamic.ObjectWrapper;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzbxj extends RewardedInterstitialAd {
|
|
private final String zza;
|
|
private final zzbwp zzb;
|
|
private final Context zzc;
|
|
|
|
@Nullable
|
|
private FullScreenContentCallback zze;
|
|
|
|
@Nullable
|
|
private OnAdMetadataChangedListener zzf;
|
|
|
|
@Nullable
|
|
private OnPaidEventListener zzg;
|
|
private final long zzh = System.currentTimeMillis();
|
|
private final zzbxh zzd = new zzbxh();
|
|
|
|
public zzbxj(Context context, String str) {
|
|
this.zza = str;
|
|
this.zzc = context.getApplicationContext();
|
|
this.zzb = com.google.android.gms.ads.internal.client.zzbc.zza().zzs(context, str, new zzbpa());
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
public final Bundle getAdMetadata() {
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
return zzbwpVar.zzb();
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
return new Bundle();
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
public final String getAdUnitId() {
|
|
return this.zza;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
@Nullable
|
|
public final FullScreenContentCallback getFullScreenContentCallback() {
|
|
return this.zze;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
@Nullable
|
|
public final OnAdMetadataChangedListener getOnAdMetadataChangedListener() {
|
|
return this.zzf;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
@Nullable
|
|
public final OnPaidEventListener getOnPaidEventListener() {
|
|
return this.zzg;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
@NonNull
|
|
public final ResponseInfo getResponseInfo() {
|
|
com.google.android.gms.ads.internal.client.zzdy zzdyVar = null;
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzdyVar = zzbwpVar.zzc();
|
|
}
|
|
} 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.rewardedinterstitial.RewardedInterstitialAd
|
|
@NonNull
|
|
public final RewardItem getRewardItem() {
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
zzbwm zzd = zzbwpVar != null ? zzbwpVar.zzd() : null;
|
|
if (zzd != null) {
|
|
return new zzbwz(zzd);
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
return RewardItem.DEFAULT_REWARD;
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void setFullScreenContentCallback(@Nullable FullScreenContentCallback fullScreenContentCallback) {
|
|
this.zze = fullScreenContentCallback;
|
|
this.zzd.zzb(fullScreenContentCallback);
|
|
}
|
|
|
|
@Override // com.google.android.gms.ads.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void setImmersiveMode(boolean z) {
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzbwpVar.zzh(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.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void setOnAdMetadataChangedListener(@Nullable OnAdMetadataChangedListener onAdMetadataChangedListener) {
|
|
this.zzf = onAdMetadataChangedListener;
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzbwpVar.zzi(new com.google.android.gms.ads.internal.client.zzfr(onAdMetadataChangedListener));
|
|
}
|
|
} 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.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void setOnPaidEventListener(@Nullable OnPaidEventListener onPaidEventListener) {
|
|
this.zzg = onPaidEventListener;
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzbwpVar.zzj(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.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void setServerSideVerificationOptions(ServerSideVerificationOptions serverSideVerificationOptions) {
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzbwpVar.zzl(new zzbxd(serverSideVerificationOptions));
|
|
}
|
|
} 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.rewardedinterstitial.RewardedInterstitialAd
|
|
public final void show(@NonNull Activity activity, @NonNull OnUserEarnedRewardListener onUserEarnedRewardListener) {
|
|
this.zzd.zzc(onUserEarnedRewardListener);
|
|
try {
|
|
zzbwp zzbwpVar = this.zzb;
|
|
if (zzbwpVar != null) {
|
|
zzbwpVar.zzk(this.zzd);
|
|
this.zzb.zzm(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, RewardedInterstitialAdLoadCallback rewardedInterstitialAdLoadCallback) {
|
|
try {
|
|
if (this.zzb != null) {
|
|
zzeiVar.zzq(this.zzh);
|
|
this.zzb.zzg(com.google.android.gms.ads.internal.client.zzr.zza.zza(this.zzc, zzeiVar), new zzbxi(rewardedInterstitialAdLoadCallback, this));
|
|
}
|
|
} catch (RemoteException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzl("#007 Could not call remote method.", e);
|
|
}
|
|
}
|
|
}
|