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,
|
animateWindows(token, leash, fromBounds, toBounds, direction,
|
||||||
mEnterExitAnimationDurationMs);
|
mEnterExitAnimationDurationMs);
|
||||||
wct.setBounds(token, toBounds);
|
wct.setBounds(token, toBounds);
|
||||||
|
wct.setAppBounds(token, toBounds);
|
||||||
});
|
});
|
||||||
applyTransaction(wct);
|
applyTransaction(wct);
|
||||||
}
|
}
|
||||||
@@ -231,6 +232,7 @@ public class OneHandedDisplayAreaOrganizer extends DisplayAreaOrganizer {
|
|||||||
// DisplayRotationController will applyTransaction() after finish rotating
|
// DisplayRotationController will applyTransaction() after finish rotating
|
||||||
if (wct != null) {
|
if (wct != null) {
|
||||||
wct.setBounds(token, null/* reset */);
|
wct.setBounds(token, null/* reset */);
|
||||||
|
wct.setAppBounds(token, null/* reset */);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tx.apply();
|
tx.apply();
|
||||||
|
|||||||
Reference in New Issue
Block a user