question: void handleSelectionChanged ( String selection ) { if ( mDidExpandSelection ) { mDidExpandSelection = false ; return ; } if ( selection == null || selection . isEmpty ( ) ) { scheduleInvalidTapNotification ( ) ; if ( mSelectionType == SelectionType . TAP ) { resetSelectionStates ( ) ; return ; } } if ( selection != null && ! selection . isEmpty ( ) ) { unscheduleInvalidTapNotification ( ) ; } mSelectedText = selection ; if ( mWasTapGestureDetected ) { mSelectionType = SelectionType . TAP ; handleSelection ( selection , mSelectionType ) ; mWasTapGestureDetected = false ; } else { mHandler . handleSelectionModification ( selection , mX , mY ) ; } }
target:  Handles a change in the current Selection.