From 74bf065e43a3075ffcaf9fcdc1ef423a1e14b761 Mon Sep 17 00:00:00 2001 From: Wale Ogunwale Date: Mon, 12 Jan 2015 10:24:36 -0800 Subject: Don't allow windows with invalid types to be added. Bug: 18950225 Change-Id: Ia7ead72d036c7628e0a97f8fe9fef2a35525e4df --- core/java/android/view/WindowManagerGlobal.java | 1 + 1 file changed, 1 insertion(+) (limited to 'core/java/android/view/WindowManagerGlobal.java') diff --git a/core/java/android/view/WindowManagerGlobal.java b/core/java/android/view/WindowManagerGlobal.java index 0d82087..a14c766 100644 --- a/core/java/android/view/WindowManagerGlobal.java +++ b/core/java/android/view/WindowManagerGlobal.java @@ -103,6 +103,7 @@ public final class WindowManagerGlobal { public static final int ADD_MULTIPLE_SINGLETON = -7; public static final int ADD_PERMISSION_DENIED = -8; public static final int ADD_INVALID_DISPLAY = -9; + public static final int ADD_INVALID_TYPE = -10; private static WindowManagerGlobal sDefaultWindowManager; private static IWindowManager sWindowManagerService; -- cgit v1.1