Loading services/core/java/com/android/server/notification/NotificationManagerService.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -2826,9 +2826,6 @@ public class NotificationManagerService extends SystemService { mAssistants.onBootPhaseAppsCanStart(); mAssistants.onBootPhaseAppsCanStart(); mConditionProviders.onBootPhaseAppsCanStart(); mConditionProviders.onBootPhaseAppsCanStart(); mHistoryManager.onBootPhaseAppsCanStart(); mHistoryManager.onBootPhaseAppsCanStart(); if (expireBitmaps()) { NotificationBitmapJobService.scheduleJob(getContext()); } registerDeviceConfigChange(); registerDeviceConfigChange(); migrateDefaultNAS(); migrateDefaultNAS(); maybeShowInitialReviewPermissionsNotification(); maybeShowInitialReviewPermissionsNotification(); Loading @@ -2837,6 +2834,10 @@ public class NotificationManagerService extends SystemService { } else if (phase == SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY) { } else if (phase == SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY) { mPreferencesHelper.updateFixedImportance(mUm.getUsers()); mPreferencesHelper.updateFixedImportance(mUm.getUsers()); mPreferencesHelper.migrateNotificationPermissions(mUm.getUsers()); mPreferencesHelper.migrateNotificationPermissions(mUm.getUsers()); } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { if (expireBitmaps()) { NotificationBitmapJobService.scheduleJob(getContext()); } } } } } Loading Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -2826,9 +2826,6 @@ public class NotificationManagerService extends SystemService { mAssistants.onBootPhaseAppsCanStart(); mAssistants.onBootPhaseAppsCanStart(); mConditionProviders.onBootPhaseAppsCanStart(); mConditionProviders.onBootPhaseAppsCanStart(); mHistoryManager.onBootPhaseAppsCanStart(); mHistoryManager.onBootPhaseAppsCanStart(); if (expireBitmaps()) { NotificationBitmapJobService.scheduleJob(getContext()); } registerDeviceConfigChange(); registerDeviceConfigChange(); migrateDefaultNAS(); migrateDefaultNAS(); maybeShowInitialReviewPermissionsNotification(); maybeShowInitialReviewPermissionsNotification(); Loading @@ -2837,6 +2834,10 @@ public class NotificationManagerService extends SystemService { } else if (phase == SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY) { } else if (phase == SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY) { mPreferencesHelper.updateFixedImportance(mUm.getUsers()); mPreferencesHelper.updateFixedImportance(mUm.getUsers()); mPreferencesHelper.migrateNotificationPermissions(mUm.getUsers()); mPreferencesHelper.migrateNotificationPermissions(mUm.getUsers()); } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { if (expireBitmaps()) { NotificationBitmapJobService.scheduleJob(getContext()); } } } } } Loading