WeChat.apk(点击下载) / b.java


package qs2;

import android.content.Intent;
import android.os.Bundle;
import com.tencent.mm.ipcinvoker.e;
import com.tencent.mm.ipcinvoker.g;
import com.tencent.mm.ipcinvoker.type.IPCLong;
import com.tencent.mm.sdk.platformtools.Log;
import com.tencent.mm.sdk.platformtools.MMApplicationContext;
import java.net.URI;
import java.net.URL;

public class b implements e<Bundle, IPCLong> {
    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, com.tencent.mm.ipcinvoker.g] */
    @Override // com.tencent.mm.ipcinvoker.e
    public void invoke(Bundle bundle, g<IPCLong> gVar) {
        Bundle bundle2 = bundle;
        try {
            String string = bundle2.getString("download_url", "");
            Log.i("MicroMsg.DownloadMailApkTask", "download, url %s, md5 %s", string, bundle2.getString("download_md5", ""));
            URL url = new URL(string);
            new URI(url.getProtocol(), url.getUserInfo(), url.getHost(), url.getPort(), url.getPath(), url.getQuery(), url.getRef()).toURL();
            Intent intent = new Intent();
            intent.putExtra("rawUrl", "https://wx.mail.qq.com/list/readtemplate?name=wxplugin_push.html");
            sv3.b.j(MMApplicationContext.getContext(), "webview", ".ui.tools.WebViewUI", intent, null);
            gVar.a(new IPCLong(-1));
        } catch (Exception e15) {
            gVar.a(new IPCLong(-1));
            Log.e("MicroMsg.DownloadMailApkTask", "dz[download qq mail error:%s]", e15.toString());
            Log.printErrStackTrace("MicroMsg.DownloadMailApkTask", e15, "", new Object[0]);
        }
    }
}