- 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
109 lines
3.6 KiB
Java
109 lines
3.6 KiB
Java
package com.google.android.gms.ads.admanager;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RequiresPermission;
|
|
import com.google.android.gms.ads.AdSize;
|
|
import com.google.android.gms.ads.BaseAdView;
|
|
import com.google.android.gms.ads.VideoController;
|
|
import com.google.android.gms.ads.VideoOptions;
|
|
import com.google.android.gms.ads.internal.client.zzbe;
|
|
import com.google.android.gms.ads.internal.client.zzby;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.internal.ads.zzbcl;
|
|
import com.google.android.gms.internal.ads.zzbej;
|
|
import com.google.android.gms.internal.ads.zzbuh;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class AdManagerAdView extends BaseAdView {
|
|
public AdManagerAdView(@NonNull Context context) {
|
|
super(context, 0);
|
|
Preconditions.checkNotNull(context, "Context cannot be null");
|
|
}
|
|
|
|
@Nullable
|
|
public AdSize[] getAdSizes() {
|
|
return this.zza.zzC();
|
|
}
|
|
|
|
@Nullable
|
|
public AppEventListener getAppEventListener() {
|
|
return this.zza.zzh();
|
|
}
|
|
|
|
@NonNull
|
|
public VideoController getVideoController() {
|
|
return this.zza.zzf();
|
|
}
|
|
|
|
@Nullable
|
|
public VideoOptions getVideoOptions() {
|
|
return this.zza.zzg();
|
|
}
|
|
|
|
@RequiresPermission("android.permission.INTERNET")
|
|
public void loadAd(@NonNull final AdManagerAdRequest adManagerAdRequest) {
|
|
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
|
|
zzbcl.zza(getContext());
|
|
if (((Boolean) zzbej.zzf.zze()).booleanValue()) {
|
|
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
|
|
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.admanager.zzb
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
AdManagerAdView.this.zza(adManagerAdRequest);
|
|
}
|
|
});
|
|
return;
|
|
}
|
|
}
|
|
this.zza.zzm(adManagerAdRequest.zza());
|
|
}
|
|
|
|
public void recordManualImpression() {
|
|
this.zza.zzo();
|
|
}
|
|
|
|
public void setAppEventListener(@Nullable AppEventListener appEventListener) {
|
|
this.zza.zzv(appEventListener);
|
|
}
|
|
|
|
public void setManualImpressionsEnabled(boolean z) {
|
|
this.zza.zzw(z);
|
|
}
|
|
|
|
public void setVideoOptions(@NonNull VideoOptions videoOptions) {
|
|
this.zza.zzy(videoOptions);
|
|
}
|
|
|
|
public final /* synthetic */ void zza(AdManagerAdRequest adManagerAdRequest) {
|
|
try {
|
|
this.zza.zzm(adManagerAdRequest.zza());
|
|
} catch (IllegalStateException e) {
|
|
zzbuh.zza(getContext()).zzh(e, "AdManagerAdView.loadAd");
|
|
}
|
|
}
|
|
|
|
public final boolean zzb(zzby zzbyVar) {
|
|
return this.zza.zzz(zzbyVar);
|
|
}
|
|
|
|
public void setAdSizes(@NonNull AdSize... adSizeArr) {
|
|
if (adSizeArr == null || adSizeArr.length <= 0) {
|
|
throw new IllegalArgumentException("The supported ad sizes must contain at least one valid ad size.");
|
|
}
|
|
this.zza.zzt(adSizeArr);
|
|
}
|
|
|
|
public AdManagerAdView(@NonNull Context context, @NonNull AttributeSet attributeSet) {
|
|
super(context, attributeSet, true);
|
|
Preconditions.checkNotNull(context, "Context cannot be null");
|
|
}
|
|
|
|
public AdManagerAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i, 0, true);
|
|
Preconditions.checkNotNull(context, "Context cannot be null");
|
|
}
|
|
}
|