Merge "Disassociate system windows from apps" into lmp-dev

This commit is contained in:
Craig Mautner
2014-08-13 18:06:18 +00:00
committed by Android (Google) Code Review

View File

@@ -2314,6 +2314,10 @@ public class WindowManagerService extends IWindowManager.Stub
+ attrs.token + ". Aborting.");
return WindowManagerGlobal.ADD_BAD_APP_TOKEN;
}
} else if (token.appWindowToken != null) {
Slog.i(TAG, "Non-null appWindowToken for system window of type=" + type);
// app token should be null for any other window types.
token.appWindowToken = null;
}
win = new WindowState(this, session, client, token,