Merge "Update notif ranking on consolidated policy change" into rvc-qpr-dev am: dfd1bdbcc0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12557525

Change-Id: I781e01d5b866d2c58fd1b021b8b0a4aad1096a35
This commit is contained in:
TreeHugger Robot
2020-09-10 17:59:26 +00:00
committed by Automerger Merge Worker

View File

@@ -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(() -> {