Merge "Use ACTION_UP instead of ACTION_DOWN in handler" into tm-dev

This commit is contained in:
Fabian Kozynski
2022-03-03 18:56:59 +00:00
committed by Android (Google) Code Review

View File

@@ -1505,7 +1505,7 @@ public class CentralSurfaces extends CoreStartable implements
return (v, event) -> {
mAutoHideController.checkUserAutoHide(event);
mRemoteInputManager.checkRemoteInputOutside(event);
if (event.getAction() == MotionEvent.ACTION_DOWN) {
if (event.getAction() == MotionEvent.ACTION_UP) {
if (mExpandedVisible) {
mShadeController.animateCollapsePanels();
}