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

Commit 668feb25 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by android-build-merger
Browse files

Merge "Don't call surface.remove if surface is null." into oc-mr1-dev am: 1b08a4a8

am: 5bee11f5

Change-Id: Ie3f01cf1a7409f82bf13e4d10199e386109d994e
parents 2b5e4f13 5bee11f5
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -632,10 +632,13 @@ public class AppWindowContainerController
                mContainer.startingSurface = null;
                mContainer.startingWindow = null;
                mContainer.startingDisplayed = false;
                if (surface == null && DEBUG_STARTING_WINDOW) {
                if (surface == null) {
                    if (DEBUG_STARTING_WINDOW) {
                        Slog.v(TAG_WM, "startingWindow was set but startingSurface==null, couldn't "
                                + "remove");
                    }
                    return;
                }
            } else {
                if (DEBUG_STARTING_WINDOW) {
                    Slog.v(TAG_WM, "Tried to remove starting window but startingWindow was null:"