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

import android.content.Intent;
import android.os.Bundle;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.wallet_core.model.BindCardOrder;
import com.tencent.mm.protocal.protobuf.hb;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.wallet_core.c.a;

class WalletECardBindCardListUI$2 implements a {
    final /* synthetic */ WalletECardBindCardListUI tQC;

    WalletECardBindCardListUI$2(WalletECardBindCardListUI walletECardBindCardListUI) {
        this.tQC = walletECardBindCardListUI;
    }

    public final Intent n(int i, Bundle bundle) {
        AppMethodBeat.i(48116);
        ab.i("MicroMsg.WalletECardBindCardListUI", "bind card end, resultCode: %s, feedbackData: %s", new Object[]{Integer.valueOf(i), bundle});
        if (i == -1) {
            BindCardOrder bindCardOrder = (BindCardOrder) bundle.getParcelable("key_bindcard_value_result");
            if (bindCardOrder != null) {
                hb hbVar = new hb();
                hbVar.pbn = bundle.getString("key_bind_card_type");
                hbVar.vJH = bindCardOrder.txK;
                hbVar.tuk = bundle.getString("key_mobile");
                if (!(bo.isNullOrNil(hbVar.vJH) || bo.isNullOrNil(hbVar.pbn) || bo.isNullOrNil(hbVar.tuk))) {
                    this.tQC.dOE().p(new Object[]{hbVar});
                    AppMethodBeat.o(48116);
                    return null;
                }
            }
            WalletECardBindCardListUI.c(this.tQC);
        }
        WalletECardBindCardListUI.d(this.tQC);
        AppMethodBeat.o(48116);
        return null;
    }
}
