Driving Zone: Germany v1.22.4版本的 MD5 值为:2b6e2d8e8733a3104dcc306c5770286c
以下内容为反编译后的 fd.java 源代码,内容仅作参考
package com.yandex.mobile.ads.impl;
import android.content.Context;
import android.webkit.WebSettings;
import android.webkit.WebView;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public abstract class fd extends WebView {
Map<String, Object> f7569a;
public fd(Context context) {
super(context);
g();
}
private void g() {
WebSettings settings = getSettings();
settings.setAllowFileAccess(false);
if (z5.a(11)) {
settings.setAllowContentAccess(false);
if (z5.a(16)) {
settings.setAllowFileAccessFromFileURLs(false);
settings.setAllowUniversalAccessFromFileURLs(false);
}
}
}
public Object a(String str) {
Map<String, Object> map = this.f7569a;
if (map != null) {
return map.get(str);
}
return null;
}
@Override
public void addJavascriptInterface(Object obj, String str) {
super.addJavascriptInterface(obj, str);
if (this.f7569a == null) {
this.f7569a = new HashMap();
}
this.f7569a.put(str, obj);
}
public void b(String str) {
StringBuilder a2 = kd.a(str);
a2.append(c());
a2.append("<body style='margin:0; padding:0;'>");
loadDataWithBaseURL("https://yandex.ru", a2.toString(), "text/html", "UTF-8", null);
}
protected String c() {
return "";
}
public void d() {
nz1.f(this);
Map<String, Object> map = this.f7569a;
if (map != null) {
Iterator<String> it = map.keySet().iterator();
while (it.hasNext()) {
removeJavascriptInterface(it.next());
}
this.f7569a.clear();
}
destroy();
getClass().toString();
}
public void e() {
int i = y5.b;
try {
WebView.class.getDeclaredMethod("onPause", new Class[0]).invoke(this, new Object[0]);
} catch (Exception unused) {
}
getClass().toString();
}
public void f() {
int i = y5.b;
try {
WebView.class.getDeclaredMethod("onResume", new Class[0]).invoke(this, new Object[0]);
} catch (Exception unused) {
}
getClass().toString();
}
@Override
public void removeJavascriptInterface(String str) {
if (z5.a(11)) {
super.removeJavascriptInterface(str);
}
}
}