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

Commit 265a17a9 authored by Abdelrahman Ibrahim's avatar Abdelrahman Ibrahim Committed by Android (Google) Code Review
Browse files

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

parents cdfe758d f1ad7221
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) {