package com.tencent.mm.plugin.wallet.pay.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.wallet_core.model.FavorPayInfo;
import com.tencent.mm.plugin.wallet_core.ui.q.c;
import com.tencent.mm.sdk.platformtools.ab;

class WalletChangeBankcardUI$5 implements c {
    final /* synthetic */ WalletChangeBankcardUI toL;

    WalletChangeBankcardUI$5(WalletChangeBankcardUI walletChangeBankcardUI) {
        this.toL = walletChangeBankcardUI;
    }

    public final void a(String str, FavorPayInfo favorPayInfo, boolean z) {
        AppMethodBeat.i(45962);
        if (WalletChangeBankcardUI.b(this.toL)) {
            ab.w("MicroMsg.WalletChangeBankcardUI", "has receive cancel");
            h.pYm.k(965, 3, 1);
            AppMethodBeat.o(45962);
            return;
        }
        this.toL.toH = favorPayInfo;
        this.toL.mBundle.putParcelable("key_favor_pay_info", this.toL.toH);
        if (this.toL.toH == null || !z) {
            this.toL.gHr = str;
            this.toL.aqX();
            this.toL.acs(str);
            this.toL.toJ = null;
            AppMethodBeat.o(45962);
            return;
        }
        if (this.toL.toH != null) {
            this.toL.mW(true);
            this.toL.toF.f(this.toL.tgB, false);
        }
        if (this.toL.toD != null) {
            this.toL.toD.dismiss();
        }
        this.toL.cu();
        this.toL.AM(0);
        AppMethodBeat.o(45962);
    }
}
