- 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
85 lines
2.9 KiB
Java
85 lines
2.9 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.net.Uri;
|
|
import android.text.TextUtils;
|
|
import android.webkit.JavascriptInterface;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzcgd {
|
|
private final zzcge zza;
|
|
private final zzcgc zzb;
|
|
|
|
public zzcgd(zzcge zzcgeVar, zzcgc zzcgcVar) {
|
|
this.zzb = zzcgcVar;
|
|
this.zza = zzcgeVar;
|
|
}
|
|
|
|
@JavascriptInterface
|
|
public String getClickSignals(String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Click string is empty, not proceeding.");
|
|
return "";
|
|
}
|
|
zzava zzI = ((zzcgk) this.zza).zzI();
|
|
if (zzI == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Signal utils is empty, ignoring.");
|
|
return "";
|
|
}
|
|
zzauv zzc = zzI.zzc();
|
|
if (zzc == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Signals object is empty, ignoring.");
|
|
return "";
|
|
}
|
|
if (this.zza.getContext() == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Context is null, ignoring.");
|
|
return "";
|
|
}
|
|
zzcge zzcgeVar = this.zza;
|
|
return zzc.zze(zzcgeVar.getContext(), str, ((zzcgm) zzcgeVar).zzF(), this.zza.zzi());
|
|
}
|
|
|
|
@JavascriptInterface
|
|
public String getViewSignals() {
|
|
zzava zzI = ((zzcgk) this.zza).zzI();
|
|
if (zzI == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Signal utils is empty, ignoring.");
|
|
return "";
|
|
}
|
|
zzauv zzc = zzI.zzc();
|
|
if (zzc == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Signals object is empty, ignoring.");
|
|
return "";
|
|
}
|
|
if (this.zza.getContext() == null) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Context is null, ignoring.");
|
|
return "";
|
|
}
|
|
zzcge zzcgeVar = this.zza;
|
|
return zzc.zzh(zzcgeVar.getContext(), ((zzcgm) zzcgeVar).zzF(), this.zza.zzi());
|
|
}
|
|
|
|
@JavascriptInterface
|
|
public void notify(final String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzj("URL is empty, ignoring message");
|
|
} else {
|
|
com.google.android.gms.ads.internal.util.zzs.zza.post(new Runnable() { // from class: com.google.android.gms.internal.ads.zzcgb
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zzcgd.this.zza(str);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
public final /* synthetic */ void zza(String str) {
|
|
Uri parse = Uri.parse(str);
|
|
zzcff zzaO = ((zzcfw) this.zzb.zza).zzaO();
|
|
if (zzaO == null) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzg("Unable to pass GMSG, no AdWebViewClient for AdWebView!");
|
|
} else {
|
|
zzaO.zzk(parse);
|
|
}
|
|
}
|
|
}
|