package com.tencent.mm.model.gdpr.ui;

import android.os.Bundle;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ai.a;
import com.tencent.mm.ai.b;
import com.tencent.mm.plugin.webview.ui.tools.widget.e;
import com.tencent.mm.protocal.protobuf.bxx;
import com.tencent.mm.protocal.protobuf.bxy;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.ui.widget.MMWebView;

class MPGdprPolicyUI$1 implements e {
    final /* synthetic */ MPGdprPolicyUI foz;

    MPGdprPolicyUI$1(MPGdprPolicyUI mPGdprPolicyUI) {
        this.foz = mPGdprPolicyUI;
    }

    public final boolean aba() {
        AppMethodBeat.i(1498);
        this.foz.runOnUiThread(new 1(this));
        AppMethodBeat.o(1498);
        return true;
    }

    public final void abb() {
        AppMethodBeat.i(1499);
        this.foz.runOnUiThread(new 2(this));
        AppMethodBeat.o(1499);
    }

    public final void a(MMWebView mMWebView) {
        AppMethodBeat.i(1500);
        this.foz.runOnUiThread(new 3(this));
        AppMethodBeat.o(1500);
    }

    public final boolean oZ(String str) {
        return false;
    }

    public final boolean c(int i, Bundle bundle) {
        AppMethodBeat.i(1501);
        if (i == 200) {
            boolean z = bundle.getBoolean("OnMPGdprPolicyAgreement_KIsAgree", false);
            MPGdprPolicyUI.a(this.foz, z);
            MPGdprPolicyUI.b(this.foz);
            if (!(!z || bo.isNullOrNil(MPGdprPolicyUI.c(this.foz)) || MPGdprPolicyUI.d(this.foz).foo == 0)) {
                a aVar = new a();
                bxx bxx = new bxx();
                bxx.csB = MPGdprPolicyUI.c(this.foz);
                bxx.scene = MPGdprPolicyUI.d(this.foz).foo;
                b.a aVar2 = new b.a();
                aVar2.fsJ = bxx;
                aVar2.fsK = new bxy();
                aVar2.fsI = 2734;
                aVar2.uri = "/cgi-bin/mmbiz-bin/wxabusiness/setgdrpauth";
                aVar.ehh = aVar2.acD();
                aVar.acy();
            }
        }
        AppMethodBeat.o(1501);
        return false;
    }
}
