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

import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.account.ui.MobileVerifyUI.8;
import com.tencent.mm.plugin.b.a;
import com.tencent.mm.ui.base.n.d;

class MobileVerifyUI$8$2 implements d {
    final /* synthetic */ 8 gFs;

    MobileVerifyUI$8$2(8 8) {
        this.gFs = 8;
    }

    public final void onMMMenuItemSelected(MenuItem menuItem, int i) {
        AppMethodBeat.i(125274);
        switch (menuItem.getItemId()) {
            case 0:
                MobileVerifyUI.g(this.gFs.gFn);
                AppMethodBeat.o(125274);
                return;
            case 1:
                this.gFs.gFn.aqX();
                if (MobileVerifyUI.f(this.gFs.gFn) == 2) {
                    a.wA("R200_500");
                } else if (MobileVerifyUI.f(this.gFs.gFn) == 3) {
                    a.wA("F200_300");
                }
                Intent intent = new Intent(this.gFs.gFn, RegByMobileVoiceVerifyUI.class);
                Bundle bundle = new Bundle();
                bundle.putString("bindmcontact_mobile", this.gFs.gFn.cFl);
                bundle.putInt("voice_verify_type", MobileVerifyUI.h(this.gFs.gFn));
                intent.putExtras(bundle);
                this.gFs.gFn.startActivity(intent);
                break;
        }
        AppMethodBeat.o(125274);
    }
}
