summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
index 5d2b61b42db9..2f3b3a0fc2de 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java
@@ -1544,12 +1544,7 @@ public class NotificationStackScrollLayout
public void setExpandedHeight(float height) {
final boolean skipHeightUpdate = shouldSkipHeightUpdate();
- // when scene framework is enabled and in single shade, updateStackPosition is already
- // called by updateTopPadding every time the stack moves, so skip it here to avoid
- // flickering.
- if (!SceneContainerFlag.isEnabled() || mShouldUseSplitNotificationShade) {
- updateStackPosition();
- }
+ updateStackPosition();
if (!skipHeightUpdate) {
mExpandedHeight = height;