Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev am: b33721641e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13416446 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie3dbc1bc156b8a2711266b57ac184ecde4b171fc
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user