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

Commit f0c57b71 authored by Beverly's avatar Beverly Committed by Beverly Tai
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
Fixes: 167011205
Change-Id: I7e383182e14a26830d185d3a233518ee7aecda24
parent 4db6ccaa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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(() -> {