Hide keyboard only when scrolling happens

Bug: 179307221
Test: see attached video

Change-Id: I9b13c8f62122a6d7bf56a28c830be9a9dbfee52a
This commit is contained in:
Hyunyoung Song committed 2021-03-16 00:05:04 -07:00
1 parent af0d09b98b
commit a907a995c9
6 files changed
+17 -10

No files matched your search

@@ -131,10 +131,9 @@ public class ExtendedEditText extends EditText {
public void reset() {
if (!TextUtils.isEmpty(getText())) {
setText("");
} else {
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()) {
return;
}
}
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()) {
return;
}
if (isFocused()) {
View nextFocus = focusSearch(View.FOCUS_DOWN);