DO NOT MERGE Notifs sent from suspended apps should reappear
Notifications sent from suspended apps were being preemptively blocked by isBlocked in NotificationMangerService. Instead, isBlocked should only block notifications the user has specified to block. This should not include suspended packages. (Notifications sent from suspended apps are marked as hidden/suspended in the RankingMap in PostNotificationRunnable so they can be resurfaced when the sending app is unsuspended.) Change-Id: I377eec04c9636e800bcd2709984c19610f2c524e Bug: 113100262 Test: atest cts/tests/app/src/android/app/cts/NotificationManagerTest.java Test: runtest -x cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/LegacyNotificationManagerTest.java Test: runtest -x frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java
Loading
Please register or sign in to comment