/** * Re-enables selection modification handling and invokes * ContextualSearchSelectionHandler.handleSelection(). * * @param selection The text that was selected. * @param type The type of selection made by the user. */ private void handleSelection(String selection, SelectionType type) { mShouldHandleSelectionModification = true; mHandler.handleSelection(selection, isValidSelection(selection), type, mX, mY); }