summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-06-16 18:56:17 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-06-17 22:27:07 +0800
commit3ae8aab87f8646908173b12de2eadc2dc6e266b1 (patch)
tree0878911c22ddbcb3fac20d1b93485c12a13e8f97 /tools/aapt2/java/JavaClassGenerator.cpp
parentcd03d90a72097e7cae87a9b8d0652c8ad152fd71 (diff)
Finish fixed rotation while the task has done transition
Assume an activity A is started in portrait and it starts another landscape activity B immediately in the same task. If fixed rotation applies for this case, the starting window will transfer across different orientations that may look flickering. And because the transformed activity is the B, the transition finished event of A cannot match B that causes the display stays in old orientation. This change makes the case use normal rotation animation to avoid the flickering, and still handles the case that the transition is done but the notified record is the first activity to avoid other similar cases to miss the orientation update. Fixes: 158112625 Test: DisplayContentTests#testFinishFixedRotationNoAppTransitioningTask Change-Id: I559b0881463e379c17e35b7cfd96948feb36bf4b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions