Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af135c5b authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Do not transfer starting window to translucent activity am: a28e8cc5

am: 15eebd10

* commit '15eebd10':
  Do not transfer starting window to translucent activity

Change-Id: Id606f5269bc64572ee5b809e16a306504043a862
parents e7ddcaf6 15eebd10
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -3940,16 +3940,6 @@ public class WindowManagerService extends IWindowManager.Stub
                return;
            }

            if (transferStartingWindow(transferFrom, wtoken)) {
                return;
            }

            // There is no existing starting window, and the caller doesn't
            // want us to create one, so that's it!
            if (!createIfNeeded) {
                return;
            }

            // If this is a translucent window, then don't
            // show a starting window -- the current effect (a full-screen
            // opaque starting window that fades away to the real contents
@@ -3995,6 +3985,16 @@ public class WindowManagerService extends IWindowManager.Stub
                }
            }

            if (transferStartingWindow(transferFrom, wtoken)) {
                return;
            }

            // There is no existing starting window, and the caller doesn't
            // want us to create one, so that's it!
            if (!createIfNeeded) {
                return;
            }

            if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Creating StartingData");
            wtoken.startingData = new StartingData(pkg, theme, compatInfo, nonLocalizedLabel,
                    labelRes, icon, logo, windowFlags);