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

Commit 56e5b030 authored by Jason Chang's avatar Jason Chang
Browse files

Fix the wallpaper app cannot display into full screen when

in one-handed mode

To set appBounds when OHM sets bounds.

Bug: 177498128

Test: manual
Change-Id: I8ea6a223a4bb7df07e053cecabfeb28d80908d9d
parent 081a843f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ public class OneHandedDisplayAreaOrganizer extends DisplayAreaOrganizer {
                    animateWindows(token, leash, fromBounds, toBounds, direction,
                            mEnterExitAnimationDurationMs);
                    wct.setBounds(token, toBounds);
                    wct.setAppBounds(token, toBounds);
                });
        applyTransaction(wct);
    }
@@ -232,6 +233,7 @@ public class OneHandedDisplayAreaOrganizer extends DisplayAreaOrganizer {
                    // DisplayRotationController will applyTransaction() after finish rotating
                    if (wct != null) {
                        wct.setBounds(token, null/* reset */);
                        wct.setAppBounds(token, null/* reset */);
                    }
                });
        tx.apply();