Hide keyboard only when scrolling happens

Bug: 179307221
Test: see attached video

Change-Id: I9b13c8f62122a6d7bf56a28c830be9a9dbfee52a
This commit is contained in:
Hyunyoung Song
2021-03-10 10:18:03 -08:00
parent af0d09b98b
commit a907a995c9
6 changed files with 17 additions and 10 deletions

View File

@@ -246,11 +246,7 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
hideInput();
return false;
}
boolean shouldScroll = rv.shouldContainerScroll(ev, mLauncher.getDragLayer());
if (shouldScroll) {
hideInput();
}
return shouldScroll;
return rv.shouldContainerScroll(ev, mLauncher.getDragLayer());
}
@Override