WeChat.apk(点击下载) / h.java


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

import android.content.Context;
import android.content.Intent;
import android.view.MenuItem;
import com.tencent.mm.R;
import com.tencent.mm.plugin.report.service.q;
import com.tencent.mm.sdk.platformtools.Log;
import com.tencent.mm.ui.w;
import com.tencent.mm.wallet_core.ui.t;
import i14.d0;
import i14.l0;
import i14.p0;
import p64.n;

public class h implements MenuItem.OnMenuItemClickListener {

    /* renamed from: d  reason: collision with root package name */
    public final /* synthetic */ WalletBankcardManageUI f161268d;

    public class a implements l0 {
        public a(h hVar) {
        }

        @Override // i14.l0
        public void onCreateMMMenu(d0 d0Var) {
            d0Var.a(0, R.string.kgc);
        }
    }

    public class b implements p0 {
        public b() {
        }

        @Override // i14.p0
        public void onMMMenuItemSelected(MenuItem menuItem, int i15) {
            int itemId = menuItem.getItemId();
            Log.i("MicroMsg.WalletBankcardManageUI", "operType:%s", Integer.valueOf(itemId));
            if (itemId == 0) {
                Intent intent = new Intent();
                intent.putExtra(w.j.f187152r, true);
                intent.putExtra("rawUrl", "https://payapp.weixin.qq.com/kfweb/helpcenter/dispatch?scene_code=CommIssueBankCard");
                t.Q(h.this.f161268d.getContext(), intent);
                q.INSTANCE.g(14422, 3);
            }
        }
    }

    public h(WalletBankcardManageUI walletBankcardManageUI) {
        this.f161268d = walletBankcardManageUI;
    }

    public boolean onMenuItemClick(MenuItem menuItem) {
        n nVar = new n((Context) this.f161268d.getContext(), 1, false);
        nVar.f281245i = new a(this);
        nVar.f281259q = new b();
        nVar.q();
        return false;
    }
}