diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-04-19 20:33:01 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-04-20 19:34:37 +0800 |
commit | 1c04f614c14bce2e07d505867a3ddb4182664e00 (patch) | |
tree | 6e08435a1509b3e50af6712d9b2c675e38ccc4e8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aa36363f72caf018595efa9d79c0c9b600fc012e (diff) |
Check animating accurately when assigning mAnimatingExit from relayout
Otherwise if the window is animating with type which won't report to
WindowState#onExitAnimationDone (e.g. ANIMATION_TYPE_FIXED_TRANSFORM),
the window will keep mAnimatingExit=true and visible logically. The
condition from relayout now is aligned with WS#removeIfPossible.
Also polish a case when launching app from notification with orientation
change. The notification shade may animate collapsing panel so it should
not be faded out.
Fixes: 185554529
Test: DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: I02943e37869bb2757ad38440fe281cf19b4ceec9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions