Currency Plus v2.10.8版本的 MD5 值为:8586f74edd9ace5aa261a19c9da51484
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.fyber.inneractive.sdk.activities;
import android.webkit.RenderProcessGoneDetail;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.fyber.inneractive.sdk.network.r;
import com.fyber.inneractive.sdk.network.s;
import com.fyber.inneractive.sdk.network.t;
import com.fyber.inneractive.sdk.util.IAlog;
import com.fyber.inneractive.sdk.util.f0;
import com.fyber.inneractive.sdk.util.u0;
import org.json.JSONArray;
import org.json.JSONObject;
public class a extends WebViewClient {
public final FyberReportAdActivity f9151a;
public a(FyberReportAdActivity fyberReportAdActivity) {
this.f9151a = fyberReportAdActivity;
}
@Override
public void onReceivedError(WebView webView, int i10, String str, String str2) {
IAlog.e("Received Error on WebViewClient: Code: %d, Description: %s, failingUrl: %s", Integer.valueOf(i10), str, str2);
}
@Override
public boolean onRenderProcessGone(WebView webView, RenderProcessGoneDetail renderProcessGoneDetail) {
t.a("WebViewRendererProcessGone", "Web view renderer process has gone. Web view destroyed", null, null);
FyberReportAdActivity fyberReportAdActivity = this.f9151a;
if (fyberReportAdActivity.f9122a == webView) {
fyberReportAdActivity.f9122a = null;
}
f0.a(webView);
this.f9151a.finish();
return true;
}
@Override
public boolean shouldOverrideUrlLoading(WebView webView, String str) {
com.fyber.inneractive.sdk.flow.f fVar;
if (str == null) {
return false;
}
if (u0.a(str)) {
WebView webView2 = this.f9151a.f9122a;
if (webView2 != null) {
webView2.loadUrl("chrome://crash");
}
return true;
} else if (!str.startsWith("fybermarketplace://reportAd?") || (fVar = FyberReportAdActivity.f9121b) == null) {
return false;
} else {
String substring = str.substring(28);
com.fyber.inneractive.sdk.flow.e eVar = (com.fyber.inneractive.sdk.flow.e) fVar;
s.a aVar = new s.a(r.FYBER_REPORT_AD, eVar.f9608a, eVar.f9609b, (JSONArray) null);
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put("message", substring);
} catch (Exception unused) {
IAlog.e("Got exception adding param to json object: %s, %s", "message", substring);
}
aVar.f10075f.put(jSONObject);
aVar.f10076g = true;
aVar.a((String) null);
WebView webView3 = this.f9151a.f9122a;
if (webView3 != null) {
webView3.loadUrl("javascript:reportSent();");
}
return true;
}
}
}