summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lyn Han <lynhan@google.com> 2023-09-15 23:05:15 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-09-15 23:05:15 +0000
commit26facd1a492cc4ba034ec9d77bb58768522a89fe (patch)
treeefff7a8a869101a0cc0abbc134125f596688b9b6
parentba7a5b50522ec669155a907cf73629b8397d14ea (diff)
parent35c1abcaac51afd2984925622122539fbb0be0f6 (diff)
Merge "Source aconfig when PHASE_BOOT_COMPLETED" into main
-rwxr-xr-xservices/core/java/com/android/server/notification/NotificationManagerService.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index 6a5b9d8c9edd..bada8165766c 100755
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -2826,9 +2826,6 @@ public class NotificationManagerService extends SystemService {
mAssistants.onBootPhaseAppsCanStart();
mConditionProviders.onBootPhaseAppsCanStart();
mHistoryManager.onBootPhaseAppsCanStart();
- if (expireBitmaps()) {
- NotificationBitmapJobService.scheduleJob(getContext());
- }
registerDeviceConfigChange();
migrateDefaultNAS();
maybeShowInitialReviewPermissionsNotification();
@@ -2837,6 +2834,10 @@ public class NotificationManagerService extends SystemService {
} else if (phase == SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY) {
mPreferencesHelper.updateFixedImportance(mUm.getUsers());
mPreferencesHelper.migrateNotificationPermissions(mUm.getUsers());
+ } else if (phase == SystemService.PHASE_BOOT_COMPLETED) {
+ if (expireBitmaps()) {
+ NotificationBitmapJobService.scheduleJob(getContext());
+ }
}
}