Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class NotificationWakeUpCoordinator @Inject constructor( // if we animate, we see the shelf briefly visible. Instead we fully animate // the notification and its background out animate = false } else { } else if (!mWakingUp && !willWakeUp){ entry.setAmbientGoingAway(true) mEntrySetToClearWhenFinished.add(entry) } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +3 −0 Original line number Diff line number Diff line Loading @@ -648,6 +648,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView if (!getShowingLayout().isDimmable()) { return false; } if (showingAmbientPulsing()) { return false; } return super.isDimmable(); } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/AmbientState.java +3 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,9 @@ public class AmbientState { } public boolean isDimmed() { return mDimmed; // While we are expanding from pulse, we want the notifications not to be dimmed, otherwise // you'd see the difference to the pulsing notification return mDimmed && !(isPulseExpanding() && mDozeAmount == 1.0f); } public boolean isDark() { Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +1 −0 Original line number Diff line number Diff line Loading @@ -5709,6 +5709,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd view.setTranslationY(wakeUplocation); } } mDimmedNeedsAnimation = true; } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class NotificationWakeUpCoordinator @Inject constructor( // if we animate, we see the shelf briefly visible. Instead we fully animate // the notification and its background out animate = false } else { } else if (!mWakingUp && !willWakeUp){ entry.setAmbientGoingAway(true) mEntrySetToClearWhenFinished.add(entry) } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +3 −0 Original line number Diff line number Diff line Loading @@ -648,6 +648,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView if (!getShowingLayout().isDimmable()) { return false; } if (showingAmbientPulsing()) { return false; } return super.isDimmable(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/AmbientState.java +3 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,9 @@ public class AmbientState { } public boolean isDimmed() { return mDimmed; // While we are expanding from pulse, we want the notifications not to be dimmed, otherwise // you'd see the difference to the pulsing notification return mDimmed && !(isPulseExpanding() && mDozeAmount == 1.0f); } public boolean isDark() { Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +1 −0 Original line number Diff line number Diff line Loading @@ -5709,6 +5709,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd view.setTranslationY(wakeUplocation); } } mDimmedNeedsAnimation = true; } @Override Loading