Fix RecyclerViewFastScroller bugs, hide keyboard
Bug: 189982238 Bug: 187561242 Bug: 187909098 Test: manual Change-Id: I693810e5761004c48d028253c25a2fe96477af40
This commit is contained in:
1 parent
962b212c9e
commit
7cc29dc44d
2 files changed
+32
-11
No files matched your search
@@ -190,8 +190,6 @@ public class AllAppsRecyclerView extends BaseRecyclerView {
|
||||
case SCROLL_STATE_DRAGGING:
|
||||
mgr.logger().sendToInteractionJankMonitor(
|
||||
LAUNCHER_ALLAPPS_VERTICAL_SWIPE_BEGIN, this);
|
||||
hideKeyboardAsync(ActivityContext.lookupContext(getContext()),
|
||||
getApplicationWindowToken());
|
||||
break;
|
||||
case SCROLL_STATE_IDLE:
|
||||
mgr.logger().sendToInteractionJankMonitor(
|
||||
@@ -207,6 +205,8 @@ public class AllAppsRecyclerView extends BaseRecyclerView {
|
||||
&& mEmptySearchBackground != null && mEmptySearchBackground.getAlpha() > 0) {
|
||||
mEmptySearchBackground.setHotspot(e.getX(), e.getY());
|
||||
}
|
||||
hideKeyboardAsync(ActivityContext.lookupContext(getContext()),
|
||||
getApplicationWindowToken());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user