Merge "Fixes starting window being occluded when enable shell transition"
This commit is contained in:
committed by
Android (Google) Code Review
commit
6a4c2b653e
@@ -2548,10 +2548,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
if (win.mAttrs.type == TYPE_APPLICATION_STARTING) {
|
||||
transit = WindowManagerPolicy.TRANSIT_PREVIEW_DONE;
|
||||
}
|
||||
if (win.inTransition()) {
|
||||
focusMayChange = true;
|
||||
win.mAnimatingExit = true;
|
||||
} else if (win.isWinVisibleLw() && winAnimator.applyAnimationLocked(transit, false)) {
|
||||
|
||||
if (win.isWinVisibleLw() && winAnimator.applyAnimationLocked(transit, false)) {
|
||||
focusMayChange = true;
|
||||
win.mAnimatingExit = true;
|
||||
} else if (win.mDisplayContent.okToAnimate() && win.isAnimating(TRANSITION | PARENTS,
|
||||
|
||||
@@ -5427,7 +5427,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
|
||||
@Override
|
||||
void assignLayer(Transaction t, int layer) {
|
||||
if (isStartingWindowAssociatedToTask()) {
|
||||
if (mStartingData != null) {
|
||||
// The starting window should cover the task.
|
||||
t.setLayer(mSurfaceControl, Integer.MAX_VALUE);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user