commit | 09322286c176af651bd1816a4540572d78e01aa1 | [log] [tgz] |
---|---|---|
author | Eliot Courtney <edcourtney@google.com> | Thu Nov 09 15:31:19 2017 +0900 |
committer | Eliot Courtney <edcourtney@google.com> | Thu Nov 30 16:18:05 2017 +0900 |
tree | 2014c402d5b1226634f240eab0eb33911b158fa6 | |
parent | e1a2016c6ac0abdcbfa5a71f6796403f24f53bca [diff] [blame] |
Split NotificationUserManager out of StatusBar. This class handles functionality related to private/public contents, redacting notifications, whether to show notifications on the keyguard, and user changes. Bug: 63874929 Bug: 62602530 Test: runtest systemui Test: Compile and run Change-Id: If44fdf5f89c1e72c4bd5f49731fd4a158ea50552
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index fff6abe..9a837ef 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -503,7 +503,8 @@ if (suppressedSummary) { continue; } - if (!mStatusBar.shouldShowOnKeyguard(row.getStatusBarNotification())) { + if (!mStatusBar.getNotificationLockscreenUserManager().shouldShowOnKeyguard( + row.getStatusBarNotification())) { continue; } if (row.isRemoved()) {