public void stopSearch ( int tag ) { String queryId = mTagToId . get ( tag ) ; mTagToId . delete ( tag ) ; if ( queryId != null && mCallbacks . remove ( queryId ) != null ) { mSearchInterface . stopSearch ( queryId ) ; } }
Stops a previously registered search request performed by the application . The application must provide the tag it registered the search with . The callback associated to the search does not receive any further notification .