Revert "Ignore ACTION_DOWN events when mTracking is true"
This reverts commit 01aa146c2d.
Reason for revert: b/269175395
Change-Id: Ic15aec87e90f8a6e87ca8e6ab72ab13d4d780069
This commit is contained in:
committed by
Android (Google) Code Review
parent
01aa146c2d
commit
2970e98227
@@ -6135,11 +6135,6 @@ public final class NotificationPanelViewController implements Dumpable {
|
||||
|
||||
switch (event.getActionMasked()) {
|
||||
case MotionEvent.ACTION_DOWN:
|
||||
if (mTracking) {
|
||||
// TODO(b/247126247) fix underlying issue. Should be ACTION_POINTER_DOWN.
|
||||
mShadeLog.d("Don't intercept down event while already tracking");
|
||||
return false;
|
||||
}
|
||||
mCentralSurfaces.userActivity();
|
||||
mAnimatingOnDown = mHeightAnimator != null && !mIsSpringBackAnimation;
|
||||
mMinExpandHeight = 0.0f;
|
||||
@@ -6227,11 +6222,6 @@ public final class NotificationPanelViewController implements Dumpable {
|
||||
"onTouch: duplicate down event detected... ignoring");
|
||||
return true;
|
||||
}
|
||||
if (mTracking) {
|
||||
// TODO(b/247126247) fix underlying issue. Should be ACTION_POINTER_DOWN.
|
||||
mShadeLog.d("Don't handle down event while already tracking");
|
||||
return true;
|
||||
}
|
||||
mLastTouchDownTime = event.getDownTime();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user