src/main/java/de/blau/android/easyedit/EasyEditManager.java
/**
     * Call the per ActionMode onCreateContextMenu
     * 
     * @param menu the ContextMenu
     * @return true if a menu was created
     */


@param menu the ContextMenu
@return true if a menu was created
@param menu the ContextMenu @return true if a menu was created
public boolean createContextMenu(ContextMenu menu) {
        try {
            synchronized (actionModeCallbackLock) {
                if (currentActionModeCallback != null && contextMenuEnabled && isProcessingAction()) {
                    return currentActionModeCallback.onCreateContextMenu(menu);
                }
            }
            return false;
        } finally {
            synchronized (actionModeCallbackLock) {
                contextMenuEnabled = false;
            }
        }
    }
public boolean createContextMenu ( ContextMenu menu ) { try { synchronized ( actionModeCallbackLock ) { if ( currentActionModeCallback != null && contextMenuEnabled && isProcessingAction ( ) ) { return currentActionModeCallback . onCreateContextMenu ( menu ) ; } } return false ; } finally { synchronized ( actionModeCallbackLock ) { contextMenuEnabled = false ; } } }
Call the per ActionMode onCreateContextMenu
Call the per ActionMode onCreateContextMenu