Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a81f580f authored by Winson's avatar Winson
Browse files

Clearing search query after clearing input text.

Bug: 30435142
Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf
parent 8fcdee05
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
    }