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

Commit b3372164 authored by Jason Chang's avatar Jason Chang Committed by Android (Google) Code Review
Browse files

Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev

parents 02492968 56e5b030
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -202,6 +202,7 @@ public class OneHandedDisplayAreaOrganizer extends DisplayAreaOrganizer {
                    animateWindows(token, leash, fromBounds, toBounds, direction,
                            mEnterExitAnimationDurationMs);
                    wct.setBounds(token, toBounds);
                    wct.setAppBounds(token, toBounds);
                });
        applyTransaction(wct);
    }
@@ -231,6 +232,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();