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

Commit 4420986b authored by Chris Poultney's avatar Chris Poultney Committed by Android (Google) Code Review
Browse files

Merge "Fix multiple performance regressions" into main

parents 0e235460 49d2a0b9
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -194,12 +194,8 @@ public class WallpaperDataParser {
                wallpaper.cropHint.set(0, 0, 0, 0);
                wpdData.mPadding.set(0, 0, 0, 0);
                wallpaper.name = "";
                if (liveWallpaperContentHandling()) {
                    wallpaper.setDescription(new WallpaperDescription.Builder().setComponent(
                            mImageWallpaper).build());
                } else {
                    wallpaper.setComponent(mImageWallpaper);
                }
                // TODO (b/379936272) Find a safe value for wallpaper component. mImageComponent
                // does not work at least on some platforms.
            } else {
                if (wallpaper.wallpaperId <= 0) {
                    wallpaper.wallpaperId = makeWallpaperIdLocked();