src/main/java/de/blau/android/easyedit/EasyEditManager.java
/**
     * Update the selection
     * 
     * If nothing is selected the current mode is terminated, in multi-select the selection is adjusted
     */
Update the selection

If nothing is selected the current mode is terminated, in multi-select the selection is adjusted
Update the selection If nothing is selected the current mode is terminated in multi - select the selection is adjusted
public void updateSelection() {
        synchronized (actionModeCallbackLock) {
            if (logic.selectedNodesCount() + logic.selectedWaysCount() + logic.selectedRelationsCount() == 0) {
                finish();
            } else if (currentActionModeCallback instanceof ExtendSelectionActionModeCallback) {
                ((ExtendSelectionActionModeCallback) currentActionModeCallback).updateSelection();
            }
        }
    }
public void updateSelection ( ) { synchronized ( actionModeCallbackLock ) { if ( logic . selectedNodesCount ( ) + logic . selectedWaysCount ( ) + logic . selectedRelationsCount ( ) == 0 ) { finish ( ) ; } else if ( currentActionModeCallback instanceof ExtendSelectionActionModeCallback ) { ( ( ExtendSelectionActionModeCallback ) currentActionModeCallback ) . updateSelection ( ) ; } } }
Update the selection
Update the selection
// only need to test if anything at all is still selected