Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev
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