Update notif ranking on consolidated policy change
Test: manual 1. Turn on DND that doesn't suppress vis effects 2. Turn on Bedtime Mode Observe: notifications are hidden from Bedtime mode Fixes: 167011205 Change-Id: I7e383182e14a26830d185d3a233518ee7aecda24
This commit is contained in:
@@ -1938,6 +1938,13 @@ public class NotificationManagerService extends SystemService {
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
void onConsolidatedPolicyChanged() {
|
||||
Binder.withCleanCallingIdentity(() -> {
|
||||
mRankingHandler.requestSort();
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
void onAutomaticRuleStatusChanged(int userId, String pkg, String id, int status) {
|
||||
Binder.withCleanCallingIdentity(() -> {
|
||||
|
||||
Reference in New Issue
Block a user