Skip to content
Commit 0165c9e7 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Support shell rotation transition on general window container

This eliminate the limitation of rotation animation that it could
only have one instance for display. Now the rotation animations
can be tracked by them self so there could have multiple instances
run at the same time, such as for multiple display or individual
child window container.

The first usage is: (also see commit d16620e8)
The fixed rotation transform of activity is canceled so display
doesn't have rotation change but the activity has. Then only the
activity needs to animate.

Bug: 223397858
Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot
      Enable auto rotation. Launch an app without fixed orientation
      from portrait launcher while device is in landscape. Before
      the launch animation is done, rotate the device to portrait
      (there is no display orientation change). The launched app
      should rotate from landscape to portrait without flickering.

Change-Id: Ic47960e812f07365965df4ab2913e2003289a315
parent 86725073
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment