Merge "Don't dismiss keyboard after clicking X button on the widgets search bar" into sc-dev am: 755723403b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14748544 Change-Id: Id13572638904399f37f24ae3ff4c6f527128d972
This commit is contained in:
@@ -101,10 +101,8 @@ public class WidgetsSearchBarController implements TextWatcher,
|
||||
|
||||
@Override
|
||||
public void clearSearchResult() {
|
||||
mSearchAlgorithm.cancel(/* interruptActiveRequests= */ true);
|
||||
// Any existing search session will be cancelled by setting text to empty.
|
||||
mInput.setText("");
|
||||
clearFocus();
|
||||
mSearchModeListener.exitSearchMode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user