diff options
| author | 2022-02-02 07:42:16 +0000 | |
|---|---|---|
| committer | 2022-02-02 07:42:16 +0000 | |
| commit | 79d91e3efa240f02de99036d100935c839c72615 (patch) | |
| tree | 662bd64a8f62e26b93e8417c475b0f18a8d53334 /services/java | |
| parent | 0c20077d1f7d1422b3a4ef55572f06dd00230eb6 (diff) | |
| parent | a5afd3736ab7ab659b0e741a0501fe51e2ad6369 (diff) | |
Merge changes from topic "susharon-wallpapereffectsgeneration"
* changes:
Server implementation of WallpaperEffectsService API.
Data class and interface for wallpaper effects generation api.
Diffstat (limited to 'services/java')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index c9aeabd17191..d0c861fa912e 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -366,6 +366,8 @@ public final class SystemServer implements Dumpable { "com.android.server.adb.AdbService$Lifecycle"; private static final String SPEECH_RECOGNITION_MANAGER_SERVICE_CLASS = "com.android.server.speech.SpeechRecognitionManagerService"; + private static final String WALLPAPER_EFFECTS_GENERATION_MANAGER_SERVICE_CLASS = + "com.android.server.wallpapereffectsgeneration.WallpaperEffectsGenerationManagerService"; private static final String APP_PREDICTION_MANAGER_SERVICE_CLASS = "com.android.server.appprediction.AppPredictionManagerService"; private static final String CONTENT_SUGGESTIONS_SERVICE_CLASS = @@ -1895,7 +1897,6 @@ public final class SystemServer implements Dumpable { } t.traceEnd(); - t.traceBegin("StartIpSecService"); try { ipSecService = IpSecService.create(context); @@ -2126,6 +2127,14 @@ public final class SystemServer implements Dumpable { Slog.i(TAG, "Wallpaper service disabled by config"); } + // WallpaperEffectsGeneration manager service + // TODO (b/135218095): Use deviceHasConfigString(context, + // R.string.config_defaultWallpaperEffectsGenerationService) + t.traceBegin("StartWallpaperEffectsGenerationService"); + mSystemServiceManager.startService( + WALLPAPER_EFFECTS_GENERATION_MANAGER_SERVICE_CLASS); + t.traceEnd(); + t.traceBegin("StartAudioService"); if (!isArc) { mSystemServiceManager.startService(AudioService.Lifecycle.class); |