Merge "Don't call surface.remove if surface is null." into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1b08a4a8a3
@@ -632,9 +632,12 @@ public class AppWindowContainerController
|
||||
mContainer.startingSurface = null;
|
||||
mContainer.startingWindow = null;
|
||||
mContainer.startingDisplayed = false;
|
||||
if (surface == null && DEBUG_STARTING_WINDOW) {
|
||||
Slog.v(TAG_WM, "startingWindow was set but startingSurface==null, couldn't "
|
||||
+ "remove");
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user