am 3f4a10a5: am 8844c75a: Merge "Disassociate system windows from apps" into lmp-dev
* commit '3f4a10a5eac64960bbae4af2b1f44cdc0d5309c3': Disassociate system windows from apps
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user