Files
rr3-apk/decompiled-community/sources/com/tapjoy/k1.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

42 lines
1.4 KiB
Java

package com.tapjoy;
import android.webkit.WebView;
import com.tapjoy.TapjoyErrorMessage;
/* loaded from: classes4.dex */
public final class k1 implements Runnable {
public final WebView a;
public String b;
public k1(WebView webView, String str) {
this.a = webView;
this.b = str;
}
@Override // java.lang.Runnable
public final void run() {
if (this.a != null) {
if (this.b.startsWith("javascript:")) {
try {
String replaceFirst = this.b.replaceFirst("javascript:", "");
this.b = replaceFirst;
WebView webView = this.a;
if (webView == null) {
return;
}
webView.evaluateJavascript(replaceFirst, null);
return;
} catch (Exception e) {
TapjoyLog.e("TJWebViewJSInterface", new TapjoyErrorMessage(TapjoyErrorMessage.ErrorType.INTERNAL_ERROR, "Exception in evaluateJavascript. Device not supported. " + e.toString()));
return;
}
}
try {
this.a.loadUrl(this.b);
} catch (Exception e2) {
TapjoyLog.e("TJWebViewJSInterface", new TapjoyErrorMessage(TapjoyErrorMessage.ErrorType.INTERNAL_ERROR, "Exception in loadUrl. Device not supported. " + e2.toString()));
}
}
}
}