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

import android.app.ProgressDialog;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.model.aw;
import com.tencent.mm.model.c;
import com.tencent.mm.model.r;
import com.tencent.mm.plugin.messenger.foundation.a.a.j;
import com.tencent.mm.protocal.protobuf.bko;
import com.tencent.mm.sdk.platformtools.ap.a;
import com.tencent.mm.ui.p;
import com.tencent.ytcommon.BuildConfig;

class i$2 implements a {
    final /* synthetic */ ProgressDialog kHP;
    final /* synthetic */ boolean kRo;
    final /* synthetic */ p ooo = null;

    i$2(ProgressDialog progressDialog, boolean z) {
        this.kHP = progressDialog;
        this.kRo = z;
    }

    public final boolean BI() {
        AppMethodBeat.i(23538);
        if (this.kHP != null) {
            this.kHP.dismiss();
        }
        int YK = r.YK();
        if (this.kRo) {
            YK &= -16777217;
        } else {
            YK |= 16777216;
            aw.ZK();
            c.Ry().set(286722, BuildConfig.FLAVOR);
            aw.ZK();
            c.Ry().set(286721, BuildConfig.FLAVOR);
            aw.ZK();
            c.Ry().set(286723, BuildConfig.FLAVOR);
        }
        aw.ZK();
        c.Ry().set(34, Integer.valueOf(YK));
        bko bko = new bko();
        bko.vCi = 16777216;
        bko.wNJ = this.kRo ? 0 : 1;
        aw.ZK();
        c.XL().c(new j.a(39, bko));
        if (this.ooo != null) {
            this.ooo.a(null, null);
        }
        AppMethodBeat.o(23538);
        return false;
    }
}
