package com.tencent.mm.plugin.collect.reward.ui;

import android.view.MenuItem;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.ui.base.n.d;
import com.tencent.ytcommon.BuildConfig;

class QrRewardMainUI$5 implements d {
    final /* synthetic */ QrRewardMainUI kEC;

    QrRewardMainUI$5(QrRewardMainUI qrRewardMainUI) {
        this.kEC = qrRewardMainUI;
    }

    public final void onMMMenuItemSelected(MenuItem menuItem, int i) {
        AppMethodBeat.i(41087);
        switch (menuItem.getItemId()) {
            case 1:
                QrRewardMainUI.a(this.kEC, BuildConfig.FLAVOR);
                QrRewardMainUI.o(this.kEC);
                QrRewardMainUI.c(this.kEC, true);
                h.pYm.e(14721, new Object[]{Integer.valueOf(1), Integer.valueOf(3)});
                AppMethodBeat.o(41087);
                return;
            case 2:
                QrRewardMainUI.c(this.kEC, false);
                QrRewardMainUI.p(this.kEC);
                h.pYm.e(14721, new Object[]{Integer.valueOf(1), Integer.valueOf(4)});
                AppMethodBeat.o(41087);
                return;
            default:
                ab.i("MicroMsg.QrRewardMainUI", "unknown menu: %s", new Object[]{Integer.valueOf(menuItem.getItemId())});
                QrRewardMainUI.c(this.kEC, true);
                AppMethodBeat.o(41087);
                return;
        }
    }
}
