package com.tencent.mm.plugin.appbrand.ui;

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.support.v7.app.AppCompatActivity;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.pluginsdk.model.v.a;
import com.tencent.mm.pluginsdk.ui.tools.m;

class AppBrandTBSDownloadProxyUI$5 implements OnClickListener {
    final /* synthetic */ AppBrandTBSDownloadProxyUI iIJ;

    AppBrandTBSDownloadProxyUI$5(AppBrandTBSDownloadProxyUI appBrandTBSDownloadProxyUI) {
        this.iIJ = appBrandTBSDownloadProxyUI;
    }

    public final void onClick(DialogInterface dialogInterface, int i) {
        AppMethodBeat.i(133104);
        h.pYm.a(366, 2, 1, false);
        a.ov(false);
        m.kT(2);
        if (this.iIJ.isFinishing() || this.iIJ.uiu) {
            AppMethodBeat.o(133104);
            return;
        }
        AppBrandTBSDownloadProxyUI appBrandTBSDownloadProxyUI = this.iIJ;
        AppCompatActivity appCompatActivity = this.iIJ.mController.ylL;
        this.iIJ.mController.ylL.getString(2131297061);
        appBrandTBSDownloadProxyUI.tipDialog = com.tencent.mm.ui.base.h.b(appCompatActivity, this.iIJ.mController.ylL.getString(2131296866), true, null);
        this.iIJ.tipDialog.setOnCancelListener(new 1(this));
        AppBrandTBSDownloadProxyUI.b(this.iIJ);
        AppBrandTBSDownloadProxyUI.c(this.iIJ);
        AppMethodBeat.o(133104);
    }
}
