Merge "fix race condition when a new display is added" into klp-dev

This commit is contained in:
keunyoung
2013-08-13 00:07:22 +00:00
committed by Android (Google) Code Review

View File

@@ -10746,7 +10746,7 @@ public class WindowManagerService extends IWindowManager.Stub
if (display == null) {
throw new IllegalArgumentException("getDisplayContent: display must not be null");
}
newDisplayContentLocked(display);
getDisplayContentLocked(display.getDisplayId());
}
/**