cgeo/c-geo-opensource — Issue #1110: onPrepareOptionsMenu() for Android 3+
Author: SammysHP
Created: 2012-02-11 22:03:22+00:00
State: open
Labels: refactoring

> On Android 3.0 and higher, the options menu is considered to always be open when menu items are presented in the action bar. When an event occurs and you want to perform a menu update, you must call ```invalidateOptionsMenu()``` to request that the system call ```onPrepareOptionsMenu()```.

There are some cases where we modify the menu (e.g. after updating a cache in the details-view).