diff options
| author | 2023-09-15 23:05:15 +0000 | |
|---|---|---|
| committer | 2023-09-15 23:05:15 +0000 | |
| commit | 26facd1a492cc4ba034ec9d77bb58768522a89fe (patch) | |
| tree | efff7a8a869101a0cc0abbc134125f596688b9b6 | |
| parent | ba7a5b50522ec669155a907cf73629b8397d14ea (diff) | |
| parent | 35c1abcaac51afd2984925622122539fbb0be0f6 (diff) | |
Merge "Source aconfig when PHASE_BOOT_COMPLETED" into main
| -rwxr-xr-x | services/core/java/com/android/server/notification/NotificationManagerService.java | 7 |
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()); + } } } |