Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33559c69 authored by Beverly's avatar Beverly
Browse files

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
Bug: 167011205
Change-Id: I7e383182e14a26830d185d3a233518ee7aecda24
parent 0f9dd1d1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1957,6 +1957,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(() -> {