summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-05-22 18:56:22 -0700
committerSelim Cinek <cinek@google.com>2015-05-23 01:57:41 +0000
commitd6623618b28906d058ac61623e11853ebe9ad1de (patch)
tree7e81e534f61995c9ac8232e7d1bc7c2825a287c0 /core/java/android
parent801ca67cb6b85c2ad17106d8cad4cc7bff8ea4e0 (diff)
Fixed logspam and handling subwindows with the input consumer
Bug: 21402648 Change-Id: I4c1c73487dfd19ba452ff2077d8541547f149c3b
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java15
1 files changed, 11 insertions, 4 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 1b759a33de56..eebcd845f61a 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -274,11 +274,18 @@ public interface WindowManagerPolicy {
* Get the layer at which this window's surface will be Z-ordered.
*/
public int getSurfaceLayer();
-
+
/**
- * Return the token for the application (actually activity) that owns
- * this window. May return null for system windows.
- *
+ * Retrieve the type of the top-level window.
+ *
+ * @return the base type of the parent window if attached or its own type otherwise
+ */
+ public int getBaseType();
+
+ /**
+ * Return the token for the application (actually activity) that owns
+ * this window. May return null for system windows.
+ *
* @return An IApplicationToken identifying the owning activity.
*/
public IApplicationToken getAppToken();