Merge "Use ACTION_UP instead of ACTION_DOWN in handler" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8b1283e1bb
@@ -1505,7 +1505,7 @@ public class CentralSurfaces extends CoreStartable implements
|
|||||||
return (v, event) -> {
|
return (v, event) -> {
|
||||||
mAutoHideController.checkUserAutoHide(event);
|
mAutoHideController.checkUserAutoHide(event);
|
||||||
mRemoteInputManager.checkRemoteInputOutside(event);
|
mRemoteInputManager.checkRemoteInputOutside(event);
|
||||||
if (event.getAction() == MotionEvent.ACTION_DOWN) {
|
if (event.getAction() == MotionEvent.ACTION_UP) {
|
||||||
if (mExpandedVisible) {
|
if (mExpandedVisible) {
|
||||||
mShadeController.animateCollapsePanels();
|
mShadeController.animateCollapsePanels();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user