- 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
37 lines
1.3 KiB
Java
37 lines
1.3 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.net.Uri;
|
|
import android.webkit.WebView;
|
|
import androidx.webkit.JavaScriptReplyProxy;
|
|
import androidx.webkit.WebMessageCompat;
|
|
import androidx.webkit.WebViewCompat;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzfkz implements WebViewCompat.WebMessageListener {
|
|
final /* synthetic */ zzfla zza;
|
|
|
|
public zzfkz(zzfla zzflaVar) {
|
|
this.zza = zzflaVar;
|
|
}
|
|
|
|
@Override // androidx.webkit.WebViewCompat.WebMessageListener
|
|
public final void onPostMessage(WebView webView, WebMessageCompat webMessageCompat, Uri uri, boolean z, JavaScriptReplyProxy javaScriptReplyProxy) {
|
|
try {
|
|
JSONObject jSONObject = new JSONObject(webMessageCompat.getData());
|
|
String string = jSONObject.getString("method");
|
|
String string2 = jSONObject.getJSONObject("data").getString("adSessionId");
|
|
if (string.equals("startSession")) {
|
|
zzfla.zze(this.zza, string2);
|
|
} else if (string.equals("finishSession")) {
|
|
zzfla.zzc(this.zza, string2);
|
|
} else {
|
|
zzfkm.zza.booleanValue();
|
|
}
|
|
} catch (JSONException e) {
|
|
zzfmh.zza("Error parsing JS message in JavaScriptSessionService.", e);
|
|
}
|
|
}
|
|
}
|