APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Remote Controller - Haier TV
版本号:1.0.10
包名称:com.haier.tv.remote.control

MD5 校验值:a8893c8973e19d6d1ff0adc6bd02cc1a

反编译源代码说明

s.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package q2;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.ViewGroup;
import android.webkit.WebView;
import com.google.android.gms.internal.ads.ad0;
import com.google.android.gms.internal.ads.bk0;
import com.google.android.gms.internal.ads.dd0;
import com.google.android.gms.internal.ads.el;
import com.google.android.gms.internal.ads.fl;
import com.google.android.gms.internal.ads.hk0;
import com.google.android.gms.internal.ads.ix;
import com.google.android.gms.internal.ads.nq;
import com.google.android.gms.internal.ads.ok0;
import com.google.android.gms.internal.ads.tj0;
import com.google.android.gms.internal.ads.wf0;
import com.google.android.gms.internal.ads.wx;
import java.util.Map;
import java.util.concurrent.Future;
import r2.a1;
import r2.c0;
import r2.c5;
import r2.e1;
import r2.f0;
import r2.f2;
import r2.h1;
import r2.i0;
import r2.k4;
import r2.m2;
import r2.p2;
import r2.r0;
import r2.r4;
import r2.t2;
import r2.v;
import r2.w0;
import r2.w4;

public final class s extends r0 {

    private final hk0 f21845j;

    private final w4 f21846k;

    private final Future f21847l = ok0.f11282a.S(new o(this));

    private final Context f21848m;

    private final r f21849n;

    private WebView f21850o;

    private f0 f21851p;

    private el f21852q;

    private AsyncTask f21853r;

    public s(Context context, w4 w4Var, String str, hk0 hk0Var) {
        this.f21848m = context;
        this.f21845j = hk0Var;
        this.f21846k = w4Var;
        this.f21850o = new WebView(context);
        this.f21849n = new r(context, str);
        M5(0);
        this.f21850o.setVerticalScrollBarEnabled(false);
        this.f21850o.getSettings().setJavaScriptEnabled(true);
        this.f21850o.setWebViewClient(new m(this));
        this.f21850o.setOnTouchListener(new n(this));
    }

    public static String S5(s sVar, String str) {
        if (sVar.f21852q == null) {
            return str;
        }
        Uri parse = Uri.parse(str);
        try {
            parse = sVar.f21852q.a(parse, sVar.f21848m, null, null);
        } catch (fl e7) {
            bk0.h("Unable to process ad data", e7);
        }
        return parse.toString();
    }

    public static void V5(s sVar, String str) {
        Intent intent = new Intent("android.intent.action.VIEW");
        intent.setData(Uri.parse(str));
        sVar.f21848m.startActivity(intent);
    }

    @Override
    public final void A1(e1 e1Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final boolean C0() {
        return false;
    }

    @Override
    public final String D() {
        return null;
    }

    @Override
    public final void E3(c0 c0Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final boolean H0() {
        return false;
    }

    @Override
    public final void J3(String str) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void J4(r3.a aVar) {
    }

    @Override
    public final void K3(w0 w0Var) {
        throw new IllegalStateException("Unused method");
    }

    public final void M5(int i7) {
        if (this.f21850o == null) {
            return;
        }
        this.f21850o.setLayoutParams(new ViewGroup.LayoutParams(-1, i7));
    }

    @Override
    public final void O() {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void P1(w4 w4Var) {
        throw new IllegalStateException("AdSize must be set before initialization");
    }

    @Override
    public final void P2(f0 f0Var) {
        this.f21851p = f0Var;
    }

    @Override
    public final void P3(t2 t2Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void Q3(r4 r4Var, i0 i0Var) {
    }

    @Override
    public final void S2() {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void S3(nq nqVar) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void U() {
        l3.o.e("resume must be called on the main UI thread.");
    }

    @Override
    public final void Z0(String str) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void b3(wf0 wf0Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final void c3(h1 h1Var) {
    }

    @Override
    public final void d1(a1 a1Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final w4 g() {
        return this.f21846k;
    }

    @Override
    public final void g2(k4 k4Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final f0 h() {
        throw new IllegalStateException("getIAdListener not implemented");
    }

    @Override
    public final Bundle i() {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final m2 j() {
        return null;
    }

    @Override
    public final a1 k() {
        throw new IllegalStateException("getIAppEventListener not implemented");
    }

    @Override
    public final void k5(ix ixVar) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final p2 l() {
        return null;
    }

    @Override
    public final void l1(c5 c5Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final r3.a n() {
        l3.o.e("getAdFrame must be called on the main UI thread.");
        return r3.b.u3(this.f21850o);
    }

    @Override
    public final void n3(f2 f2Var) {
    }

    @Override
    public final void o2(dd0 dd0Var, String str) {
        throw new IllegalStateException("Unused method");
    }

    public final String p() {
        Uri.Builder builder = new Uri.Builder();
        builder.scheme("https://").appendEncodedPath((String) wx.f15693d.e());
        builder.appendQueryParameter("query", this.f21849n.d());
        builder.appendQueryParameter("pubId", this.f21849n.c());
        builder.appendQueryParameter("mappver", this.f21849n.a());
        Map e7 = this.f21849n.e();
        for (String str : e7.keySet()) {
            builder.appendQueryParameter(str, (String) e7.get(str));
        }
        Uri build = builder.build();
        el elVar = this.f21852q;
        if (elVar != null) {
            try {
                build = elVar.b(build, this.f21848m);
            } catch (fl e8) {
                bk0.h("Unable to process ad data", e8);
            }
        }
        return q() + "#" + build.getEncodedQuery();
    }

    @Override
    public final void p0() {
        l3.o.e("pause must be called on the main UI thread.");
    }

    public final String q() {
        String b7 = this.f21849n.b();
        if (true == TextUtils.isEmpty(b7)) {
            b7 = "www.google.com";
        }
        return "https://" + b7 + ((String) wx.f15693d.e());
    }

    @Override
    public final void q2(ad0 ad0Var) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final String s() {
        throw new IllegalStateException("getAdUnitId not implemented");
    }

    @Override
    public final void t3(boolean z6) {
        throw new IllegalStateException("Unused method");
    }

    @Override
    public final String u() {
        return null;
    }

    @Override
    public final boolean u1(r4 r4Var) {
        l3.o.j(this.f21850o, "This Search Ad has already been torn down");
        this.f21849n.f(r4Var, this.f21845j);
        this.f21853r = new q(this, null).execute(new Void[0]);
        return true;
    }

    public final int y(String str) {
        String queryParameter = Uri.parse(str).getQueryParameter("height");
        if (TextUtils.isEmpty(queryParameter)) {
            return 0;
        }
        try {
            v.b();
            return tj0.B(this.f21848m, Integer.parseInt(queryParameter));
        } catch (NumberFormatException unused) {
            return 0;
        }
    }

    @Override
    public final void z() {
        l3.o.e("destroy must be called on the main UI thread.");
        this.f21853r.cancel(true);
        this.f21847l.cancel(true);
        this.f21850o.destroy();
        this.f21850o = null;
    }

    @Override
    public final void z5(boolean z6) {
    }
}