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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user