恐 怖 老 奶 奶1破 解 版 中 文 版 无 敌 版 v4.15.00版本的 MD5 值为:2c4218ea002b12a6cce81f33a9f0144d
以下内容为反编译后的 g.java 源代码,内容仅作参考
package com.anythink.expressad.atsignalcommon.windvane;
import android.text.TextUtils;
import android.webkit.WebView;
public final class g implements b {
public static g f4020a = new g();
public static g a() {
return f4020a;
}
@Override
public final void b(Object obj, String str) {
if (obj instanceof a) {
a aVar = (a) obj;
if (TextUtils.isEmpty(str)) {
String.format("javascript:window.MvBridge.onFailure(%s,'');", aVar.f4017g);
} else {
str = n.c(str);
}
String format = String.format("javascript:window.MvBridge.onFailure(%s,'%s');", aVar.f4017g, str);
WindVaneWebView windVaneWebView = aVar.f4011a;
if (windVaneWebView != null) {
try {
windVaneWebView.loadUrl(format);
} catch (Exception e2) {
e2.printStackTrace();
} catch (Throwable th) {
th.printStackTrace();
}
}
}
}
@Override
public final void a(Object obj, String str, String str2) {
String format;
if (obj instanceof a) {
a aVar = (a) obj;
if (TextUtils.isEmpty(str2)) {
format = String.format("javascript:window.MvBridge.fireEvent('%s', '');", str);
} else {
format = String.format("javascript:window.MvBridge.fireEvent('%s','%s');", str, n.c(str2));
}
WindVaneWebView windVaneWebView = aVar.f4011a;
if (windVaneWebView != null) {
try {
windVaneWebView.loadUrl(format);
} catch (Exception e2) {
e2.printStackTrace();
} catch (Throwable th) {
th.printStackTrace();
}
}
}
}
public static void a(WebView webView, String str, String str2) {
String format;
if (TextUtils.isEmpty(str2)) {
format = String.format("javascript:window.MvBridge.fireEvent('%s', '');", str);
} else {
format = String.format("javascript:window.MvBridge.fireEvent('%s','%s');", str, n.c(str2));
}
if (webView != null) {
try {
webView.loadUrl(format);
} catch (Exception e2) {
e2.printStackTrace();
} catch (Throwable th) {
th.printStackTrace();
}
}
}
@Override
public final void a(Object obj, String str) {
if (obj instanceof a) {
a aVar = (a) obj;
String format = TextUtils.isEmpty(str) ? String.format("javascript:window.OW.onSuccess(%s,'');", aVar.f4017g) : String.format("javascript:window.OW.onSuccess(%s,'%s');", aVar.f4017g, n.c(str));
WindVaneWebView windVaneWebView = aVar.f4011a;
if (windVaneWebView != null) {
try {
windVaneWebView.loadUrl(format);
} catch (Exception e2) {
e2.printStackTrace();
} catch (Throwable th) {
th.printStackTrace();
}
}
}
}
}