OSDN Git Service

Skip Pip animation to fullscreen if orientation is going to change
authorWale Ogunwale <ogunwale@google.com>
Tue, 2 May 2017 04:32:58 +0000 (21:32 -0700)
committerWale Ogunwale <ogunwale@google.com>
Tue, 2 May 2017 22:02:49 +0000 (22:02 +0000)
commit42f07d9fd4723bcdf1c024f94da4e0bde1451e4f
tree937de3657d2d3c987958d9ea7f99b34dc13a2334
parent4794cbf57415798628ce004b9d79437d03ecc0cd
Skip Pip animation to fullscreen if orientation is going to change

Having this kind of animation look good is extremely difficult.
The best we can do is skip the animation and just go to fullscreen
if we know the device orientation is going to change because the
current screen configuration isn't compatible with the fixed
orientation requested by the app going fullscreen.

Change-Id: I97b14723a0d678c05efedc93fe692ad3b3212a72
Fixes: 37722472
Test: manual
services/core/java/com/android/server/am/ActivityRecord.java
services/core/java/com/android/server/am/ActivityStack.java
services/core/java/com/android/server/am/PinnedActivityStack.java