Clearing search query after clearing input text.

Bug: 30435142
Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf
This commit is contained in:
Winson
2016-07-27 13:50:05 -07:00
parent 8fcdee05bb
commit a81f580fb7

View File

@@ -140,10 +140,11 @@ public abstract class AllAppsSearchBarController
* Resets the search bar state.
*/
public void reset() {
mQuery = null;
unfocusSearchField();
mCb.clearSearchResult();
mInput.setText("");
// We need to reset this after we clear the input text
mQuery = null;
hideKeyboard();
}