diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-04-30 01:27:35 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-04-30 01:30:27 +0800 |
commit | cf951a027696295a23ba4a643de921cb4bd9f9e1 (patch) | |
tree | 56267ee2082c981c4429ef4116bfb0238bfdbb27 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 285e3754084cfa88abb9629a6f4f07c8cc3bb809 (diff) |
Apply rotation animation when canceling fixed rotation
... if the activity requested the same orientation as display.
The launching activity may not declare fixed orientation, so when
launching it in a different orientation, the fixed rotation will
be applied. But if the activity requested to use previous
orientation before the transition is done, it suddenly redraws
that causes flickering.
Fix: 186759371
Test: ActivityRecordTests#testActivityOnCancelFixedRotationTransform
Change-Id: I839dc1b563e9e3c150fbad8c33596dbc2bf0677b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions