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

Commit f1ad7221 authored by abdelrahmani's avatar abdelrahmani Committed by Abdelrahman Ibrahim
Browse files

Disable wallpaper effects generation service except for Pixel phones and tablet.

The service is not needed for Wear devices that don't bundle the Wallpaper effects service.

Bug: 286229182
test: atest CtsWallpaperEffectsGenerationServiceTestCases
Change-Id: Id7c787fd648271ad71a7b2c1a361b9f351dfb080
parent d96c6b6f
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -2194,12 +2194,13 @@ public final class SystemServer implements Dumpable {
            }

            // WallpaperEffectsGeneration manager service
            // TODO (b/135218095): Use deviceHasConfigString(context,
            //  R.string.config_defaultWallpaperEffectsGenerationService)
            if (deviceHasConfigString(context,
                R.string.config_defaultWallpaperEffectsGenerationService)) {
                t.traceBegin("StartWallpaperEffectsGenerationService");
                mSystemServiceManager.startService(
                    WALLPAPER_EFFECTS_GENERATION_MANAGER_SERVICE_CLASS);
                t.traceEnd();
            }

            t.traceBegin("StartAudioService");
            if (!isArc) {