Merge "[WindowManagerService] fix starting window issue"
am: 8683f1b160
* commit '8683f1b160c10184aa15cec1b8ef776e2ce8fa9a':
[WindowManagerService] fix starting window issue
This commit is contained in:
@@ -4312,7 +4312,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
AppWindowToken ttoken = findAppWindowToken(transferFrom);
|
AppWindowToken ttoken = findAppWindowToken(transferFrom);
|
||||||
if (ttoken != null) {
|
if (ttoken != null) {
|
||||||
WindowState startingWindow = ttoken.startingWindow;
|
WindowState startingWindow = ttoken.startingWindow;
|
||||||
if (startingWindow != null) {
|
if (startingWindow != null && ttoken.startingView != null) {
|
||||||
// In this case, the starting icon has already been displayed, so start
|
// In this case, the starting icon has already been displayed, so start
|
||||||
// letting windows get shown immediately without any more transitions.
|
// letting windows get shown immediately without any more transitions.
|
||||||
mSkipAppTransitionAnimation = true;
|
mSkipAppTransitionAnimation = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user