diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java index 403bece4a7c6..4d4d17748ba7 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java @@ -3992,7 +3992,12 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump mExpandLatencyTracking = false; } float maxPanelHeight = getMaxPanelTransitionDistance(); - if (mHeightAnimator == null) { + if (mHeightAnimator == null && !MigrateClocksToBlueprint.isEnabled()) { + // MigrateClocksToBlueprint - There is an edge case where swiping up slightly, + // and then swiping down will trigger overscroll logic. Even without this flag + // enabled, the notifications can then run into UDFPS. At this point it is + // safer to remove overscroll for this one case to prevent overlap. + // Split shade has its own overscroll logic if (isTracking()) { float overExpansionPixels = Math.max(0, h - maxPanelHeight); |