I want to remove system menus; for example, in the Message app I want to remove the Send option from the menu.
There is a way to add menus using
ApplicationMenuItemRepository.getInstance()
.addMenuItem(ApplicationMenuItemRepository.MENUITEM_SYSTEM, this);
and also to removeMenuItem()
in the same way, but I'm not able to remove menu items.
How can I use this, or any alternate way, to remove menu?