diff options
author | Ming-Shin Lu <lumark@google.com> | 2020-04-22 21:37:13 +0800 |
---|---|---|
committer | Ming-Shin Lu <lumark@google.com> | 2020-04-23 00:00:14 +0800 |
commit | 1ef1fba97f2fb4263ed7a7656315632d61500fdb (patch) | |
tree | 1c5dfe9bd1c70a49eac8126779a446fabb4d344d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e0b24a3feede201a5944100a99391f32e5d02a2d (diff) |
Fix AlwaysOnTop stack Z ordering issue
Since in hierarchycal animation, we used WindowContainer#reassignLayer
to compute child layer with cumulative layer number according
specified layer sequence, so we don't use the previous way to get layer
number by WindowContainer#getPrefixOrderIndex.
But in RecentsAnimationController & RemoteAnimationController still uses
the old way to set animation layer, which can no longer use such
conflict way.
Also, make sure WindowContainer#needsZboost as true when the animation
is closing.
Fix: 151024899
Test: atest WindowContainerTest RemoteAnimationControllerTest
RecentsAnimationControllerTest
Test: manual, launch google map app -> enter PiP mode,
swipe up to overview screen or launch activity from shortcut,
make sure the PiP window is not covered by other apps.
Change-Id: I753a8478ca873599d6585a2ec93d1a0fa39e0095
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions