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

import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.ytcommon.BuildConfig;

class LaunchAAByPersonAmountSelectUI$3 implements OnMenuItemClickListener {
    final /* synthetic */ LaunchAAByPersonAmountSelectUI gou;

    LaunchAAByPersonAmountSelectUI$3(LaunchAAByPersonAmountSelectUI launchAAByPersonAmountSelectUI) {
        this.gou = launchAAByPersonAmountSelectUI;
    }

    public final boolean onMenuItemClick(MenuItem menuItem) {
        AppMethodBeat.i(40790);
        if (LaunchAAByPersonAmountSelectUI.e(this.gou) <= 0 || LaunchAAByPersonAmountSelectUI.c(this.gou) == null || LaunchAAByPersonAmountSelectUI.c(this.gou).size() <= LaunchAAByPersonAmountSelectUI.e(this.gou)) {
            LaunchAAByPersonAmountSelectUI.d(this.gou);
            h.pYm.e(13721, new Object[]{Integer.valueOf(3), Integer.valueOf(4)});
            AppMethodBeat.o(40790);
        } else {
            com.tencent.mm.ui.base.h.b(this.gou.mController.ylL, this.gou.getString(2131300919, new Object[]{Integer.valueOf(LaunchAAByPersonAmountSelectUI.e(this.gou))}), BuildConfig.FLAVOR, true);
            h.pYm.e(13722, new Object[]{Integer.valueOf(8)});
            AppMethodBeat.o(40790);
        }
        return true;
    }
}
