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

Commit dd962ee1 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #3415137: New wallpaper size breaks thumbnails.

Change-Id: I3ce4fa8f532cc378c390138bab0ff3126fe0f0c3
parent 261ddb81
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5101,6 +5101,9 @@ public class WindowManagerService extends IWindowManager.Stub
            }
            Binder.restoreCallingIdentity(ident);

            // Constrain frame to the screen size.
            frame.intersect(0, 0, dw, dh);
            
            if (frame.isEmpty() || maxLayer == 0) {
                return null;
            }