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

Commit 35c1abca authored by Lyn's avatar Lyn
Browse files

Source aconfig when PHASE_BOOT_COMPLETED

Fixes: 300671430
Bug: 290381858
Test: bitmap removal job scheduled on reboot

Change-Id: Id7394a851be597c221f8c971add66a65504e0f5a
parent 5c50e0f6
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2827,9 +2827,6 @@ public class NotificationManagerService extends SystemService {
            mAssistants.onBootPhaseAppsCanStart();
            mConditionProviders.onBootPhaseAppsCanStart();
            mHistoryManager.onBootPhaseAppsCanStart();
            if (expireBitmaps()) {
                NotificationBitmapJobService.scheduleJob(getContext());
            }
            registerDeviceConfigChange();
            migrateDefaultNAS();
            maybeShowInitialReviewPermissionsNotification();
@@ -2838,6 +2835,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());
            }
        }
    }