Merge "Revert "Ignore ACTION_DOWN events when mTracking is true"" into tm-qpr-dev
This commit is contained in:
@@ -4636,11 +4636,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;
|
||||
@@ -4728,11 +4723,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