Skip to content
Commit 1ef1fba9 authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

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
parent e0b24a3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment