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

import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.account.bind.ui.BindQQUI.2;
import com.tencent.mm.plugin.account.friend.a.y;
import com.tencent.mm.ui.base.h;
import com.tencent.mm.ui.base.l;
import com.tencent.mm.ui.base.n.c;
import com.tencent.mm.ui.base.n.d;
import com.tencent.mm.ui.tools.j;

class BindQQUI$7 implements OnMenuItemClickListener {
    final /* synthetic */ BindQQUI gsw;

    BindQQUI$7(BindQQUI bindQQUI) {
        this.gsw = bindQQUI;
    }

    public final boolean onMenuItemClick(MenuItem menuItem) {
        AppMethodBeat.i(13551);
        j jVar = new j(this.gsw.mController.ylL);
        jVar.rBl = new c() {
            public final void a(l lVar) {
                AppMethodBeat.i(13549);
                lVar.setHeaderTitle(2131297553);
                lVar.hi(0, 2131304141);
                AppMethodBeat.o(13549);
            }
        };
        jVar.rBm = new d() {
            public final void onMMMenuItemSelected(MenuItem menuItem, int i) {
                AppMethodBeat.i(13550);
                switch (menuItem.getItemId()) {
                    case 0:
                        BindQQUI bindQQUI = BindQQUI$7.this.gsw;
                        g.Rg().a(new y(y.gvV), 0);
                        bindQQUI.getString(2131297061);
                        bindQQUI.tipDialog = h.b(bindQQUI, bindQQUI.getString(2131296965), true, new 2(bindQQUI));
                        break;
                }
                AppMethodBeat.o(13550);
            }
        };
        jVar.cuu();
        AppMethodBeat.o(13551);
        return false;
    }
}
