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

Commit 44f21b6a authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Move bitmap for lock screen wallpaper into gfx

Bug: 145008953
Test: set lock screen wallpaper and check that it shows up on lock
screen.
Test: check app summary of `dumpsys meminfo` that Native Heap doesn't
increase by ~20 MB. I'm seeing the increase in EGL mtrack.

Change-Id: I1229d3f10f050a0530bf63668e9b1724551aad41
parent 3f92a5be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -134,6 +134,7 @@ public class LockscreenWallpaper extends IWallpaperManagerCallback.Stub implemen
        if (fd != null) {
            try {
                BitmapFactory.Options options = new BitmapFactory.Options();
                options.inPreferredConfig = Bitmap.Config.HARDWARE;
                return LoaderResult.success(BitmapFactory.decodeFileDescriptor(
                        fd.getFileDescriptor(), null, options));
            } catch (OutOfMemoryError e) {