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

This commit is contained in:
TreeHugger Robot
2020-09-10 16:58:31 +00:00
committed by Android (Google) Code Review

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