Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -420,6 +420,7 @@ public class NotificationEntryManager implements } } @Override public void updateNotificationRanking(NotificationListenerService.RankingMap rankingMap) { List<NotificationEntry> entries = new ArrayList<>(); entries.addAll(mNotificationData.getActiveNotifications()); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −2 Original line number Diff line number Diff line Loading @@ -1550,12 +1550,12 @@ public class StatusBar extends SystemUI implements DemoMode, @Override public void onHeadsUpStateChanged(NotificationEntry entry, boolean isHeadsUp) { mEntryManager.updateNotificationRanking(null /* rankingMap */); mEntryManager.updateNotifications(); } @Override public void onAmbientStateChanged(NotificationEntry entry, boolean isAmbient) { mEntryManager.updateNotificationRanking(null); mEntryManager.updateNotifications(); if (isAmbient) { mDozeServiceHost.fireNotificationPulse(); } else if (!mAmbientPulseManager.hasNotifications()) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -420,6 +420,7 @@ public class NotificationEntryManager implements } } @Override public void updateNotificationRanking(NotificationListenerService.RankingMap rankingMap) { List<NotificationEntry> entries = new ArrayList<>(); entries.addAll(mNotificationData.getActiveNotifications()); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −2 Original line number Diff line number Diff line Loading @@ -1550,12 +1550,12 @@ public class StatusBar extends SystemUI implements DemoMode, @Override public void onHeadsUpStateChanged(NotificationEntry entry, boolean isHeadsUp) { mEntryManager.updateNotificationRanking(null /* rankingMap */); mEntryManager.updateNotifications(); } @Override public void onAmbientStateChanged(NotificationEntry entry, boolean isAmbient) { mEntryManager.updateNotificationRanking(null); mEntryManager.updateNotifications(); if (isAmbient) { mDozeServiceHost.fireNotificationPulse(); } else if (!mAmbientPulseManager.hasNotifications()) { Loading