package com.tencent.mm.plugin.emoji.ui.v2;

import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class EmojiStoreV2SingleProductUI$9 implements OnMenuItemClickListener {
    final /* synthetic */ EmojiStoreV2SingleProductUI lfC;

    EmojiStoreV2SingleProductUI$9(EmojiStoreV2SingleProductUI emojiStoreV2SingleProductUI) {
        this.lfC = emojiStoreV2SingleProductUI;
    }

    public final boolean onMenuItemClick(MenuItem menuItem) {
        AppMethodBeat.i(53753);
        if (EmojiStoreV2SingleProductUI.f(this.lfC) == null || EmojiStoreV2SingleProductUI.f(this.lfC).getVisibility() != 0) {
            this.lfC.finish();
        } else {
            EmojiStoreV2SingleProductUI.f(this.lfC).setVisibility(8);
            this.lfC.showOptionMenu(1001, EmojiStoreV2SingleProductUI.g(this.lfC));
            this.lfC.setMMTitle(2131299132);
        }
        AppMethodBeat.o(53753);
        return false;
    }
}
