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

import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.se;
import com.tencent.mm.protocal.protobuf.mr;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.wallet_core.ui.e;
import com.tencent.ytcommon.BuildConfig;

class RemittanceBusiResultUI$4 implements OnClickListener {
    final /* synthetic */ RemittanceBusiResultUI pSU;
    final /* synthetic */ mr pSW;

    RemittanceBusiResultUI$4(RemittanceBusiResultUI remittanceBusiResultUI, mr mrVar) {
        this.pSU = remittanceBusiResultUI;
        this.pSW = mrVar;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(44872);
        ab.i("MicroMsg.RemittanceBusiResultUI", "app type: %s", new Object[]{Integer.valueOf(this.pSW.type)});
        if (this.pSW.type == 1) {
            RemittanceBusiResultUI.a(this.pSU);
            se seVar = new se();
            seVar.cOf.userName = this.pSW.vQG;
            seVar.cOf.cOh = bo.bc(this.pSW.vQH, BuildConfig.FLAVOR);
            seVar.cOf.scene = 1034;
            seVar.cOf.cOi = 0;
            a.xxA.m(seVar);
            AppMethodBeat.o(44872);
            return;
        }
        if (this.pSW.type == 2) {
            RemittanceBusiResultUI.a(this.pSU);
            e.n(this.pSU.mController.ylL, this.pSW.url, true);
        }
        AppMethodBeat.o(44872);
    }
}
