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

import android.content.Intent;
import android.view.MenuItem;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.fav.a.b;
import com.tencent.mm.plugin.fav.a.h;
import com.tencent.mm.plugin.fav.ui.g;
import com.tencent.mm.plugin.record.ui.FavRecordDetailUI.2;
import com.tencent.mm.ui.base.n.d;
import com.tencent.ytcommon.BuildConfig;

class FavRecordDetailUI$2$2 implements d {
    final /* synthetic */ 2 pKl;

    FavRecordDetailUI$2$2(2 2) {
        this.pKl = 2;
    }

    public final void onMMMenuItemSelected(MenuItem menuItem, int i) {
        AppMethodBeat.i(24206);
        Intent intent;
        switch (menuItem.getItemId()) {
            case 0:
                intent = new Intent();
                intent.putExtra("Select_Conv_Type", 3);
                intent.putExtra("scene_from", 1);
                intent.putExtra("mutil_select_is_ret", true);
                intent.putExtra("select_fav_local_id", FavRecordDetailUI.b(this.pKl.pKi).field_localId);
                com.tencent.mm.bp.d.b(this.pKl.pKi, ".ui.transmit.SelectConversationUI", intent, 4097);
                h.j(FavRecordDetailUI.b(this.pKl.pKi).field_localId, 1, 0);
                AppMethodBeat.o(24206);
                return;
            case 2:
                com.tencent.mm.ui.base.h.a(this.pKl.pKi.mController.ylL, this.pKl.pKi.getString(2131296882), BuildConfig.FLAVOR, new 1(this), null);
                AppMethodBeat.o(24206);
                return;
            case 3:
                intent = new Intent();
                intent.putExtra("key_fav_scene", 2);
                intent.putExtra("key_fav_item_id", FavRecordDetailUI.a(this.pKl.pKi));
                b.b(this.pKl.pKi.mController.ylL, ".ui.FavTagEditUI", intent);
                AppMethodBeat.o(24206);
                return;
            case 4:
                intent = new Intent();
                intent.putExtra("key_fav_scene", 1);
                intent.putExtra("key_fav_item_id", FavRecordDetailUI.b(this.pKl.pKi).field_localId);
                b.b(this.pKl.pKi.mController.ylL, ".ui.FavTagEditUI", intent);
                AppMethodBeat.o(24206);
                return;
            case 5:
                g.a(this.pKl.pKi, FavRecordDetailUI.a(this.pKl.pKi), FavRecordDetailUI.d(this.pKl.pKi));
                break;
        }
        AppMethodBeat.o(24206);
    }
}
