그늘 v4.6.9版本的 MD5 值为:45bd3dac9e441bb87fea09c92b437adc
以下内容为反编译后的 d.java 源代码,内容仅作参考
package ce;
import android.webkit.WebView;
import org.json.JSONException;
import org.json.JSONObject;
import xd.b;
public final class d extends b.a {
public final String f1164c;
public d(com.tencent.open.c.c cVar, long j10, String str) {
super(cVar, j10);
this.f1164c = str;
}
@Override
public final void a() {
ae.a.h("openSDK_LOG.SecureJsListener", "-->onComplete, result: null");
}
@Override
public final void b(String str) {
int i;
ae.a.h("openSDK_LOG.SecureJsListener", "-->onCustomCallback, js: " + str);
JSONObject jSONObject = new JSONObject();
if (!com.tencent.open.c.c.f5362a) {
i = -4;
} else {
i = 0;
}
try {
jSONObject.put("result", i);
jSONObject.put("sn", this.f15365b);
jSONObject.put("data", str);
} catch (JSONException e10) {
e10.printStackTrace();
}
String jSONObject2 = jSONObject.toString();
WebView webView = this.f15364a.get();
if (webView != null) {
StringBuffer stringBuffer = new StringBuffer("javascript:if(!!");
String str2 = this.f1164c;
stringBuffer.append(str2);
stringBuffer.append("){");
stringBuffer.append(str2);
stringBuffer.append("(");
stringBuffer.append(jSONObject2);
stringBuffer.append(")}");
String stringBuffer2 = stringBuffer.toString();
ae.a.h("openSDK_LOG.SecureJsListener", "-->callback, callback: " + stringBuffer2);
webView.loadUrl(stringBuffer2);
}
}
@Override
public final void c() {
ae.a.b("openSDK_LOG.SecureJsListener", "-->onNoMatchMethod...");
}
}