Merge "Fix snapshot starting window isn't apply fixed-rotation with IME visible" into tm-dev am: c2a6a2efeb am: 63ff950b3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659525 Change-Id: I8b2760cc431bf1ec85533f4a3eb6a20ca7e68ada Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -159,9 +159,7 @@ public class StartingSurfaceController {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (topFullscreenActivity.getWindowConfiguration().getRotation()
|
if (topFullscreenActivity.getWindowConfiguration().getRotation()
|
||||||
!= taskSnapshot.getRotation()
|
!= taskSnapshot.getRotation()) {
|
||||||
// Use normal rotation to avoid flickering of IME window in old orientation.
|
|
||||||
&& !taskSnapshot.hasImeSurface()) {
|
|
||||||
// The snapshot should have been checked by ActivityRecord#isSnapshotCompatible
|
// The snapshot should have been checked by ActivityRecord#isSnapshotCompatible
|
||||||
// that the activity will be updated to the same rotation as the snapshot. Since
|
// that the activity will be updated to the same rotation as the snapshot. Since
|
||||||
// the transition is not started yet, fixed rotation transform needs to be applied
|
// the transition is not started yet, fixed rotation transform needs to be applied
|
||||||
|
|||||||
Reference in New Issue
Block a user