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

Commit 3c703d82 authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

Merge "Move wallpaper transition leashes to the back" into udc-dev am: f11d33ba

parents 3cdc9439 f11d33ba
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -176,7 +176,14 @@ public class TransitionUtil {
        }

        // Put all the OPEN/SHOW on top
        if (TransitionUtil.isOpeningType(mode)) {
        if ((change.getFlags() & FLAG_IS_WALLPAPER) != 0) {
            // Wallpaper is always at the bottom, opening wallpaper on top of closing one.
            if (mode == WindowManager.TRANSIT_OPEN || mode == WindowManager.TRANSIT_TO_FRONT) {
                t.setLayer(leash, -zSplitLine + info.getChanges().size() - layer);
            } else {
                t.setLayer(leash, -zSplitLine - layer);
            }
        } else if (TransitionUtil.isOpeningType(mode)) {
            if (isOpening) {
                t.setLayer(leash, zSplitLine + info.getChanges().size() - layer);
                if ((change.getFlags() & FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT) == 0) {