src/main/java/de/blau/android/easyedit/EasyEditManager.java
/**
     * Invalidate the menu of the current ActionMode
     */
Invalidate the menu of the current ActionMode
Invalidate the menu of the current ActionMode
public void invalidate() {
        synchronized (actionModeCallbackLock) {
            if (currentActionMode != null) {
                if (currentActionModeCallback != null) {
                    currentActionModeCallback.update();
                }
                Map map = main.getMap();
                if (map != null) {
                    map.removeCallbacks(invalidateMode);
                    map.postDelayed(invalidateMode, INVALIDATION_DELAY);
                }
            }
        }
    }
public void invalidate ( ) { synchronized ( actionModeCallbackLock ) { if ( currentActionMode != null ) { if ( currentActionModeCallback != null ) { currentActionModeCallback . update ( ) ; } Map map = main . getMap ( ) ; if ( map != null ) { map . removeCallbacks ( invalidateMode ) ; map . postDelayed ( invalidateMode , INVALIDATION_DELAY ) ; } } } }
Invalidate the menu of the current ActionMode
Invalidate the menu of the current ActionMode