summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ViewRootImpl.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-05-07 14:21:38 -0700
committerDianne Hackborn <hackbod@google.com>2015-05-07 16:30:52 -0700
commit49b043f37d7231b1544cb72e1bfb616e5a00688d (patch)
treeb08f8d748f099c46346e0e5e997d217eea8c88ca /core/java/android/view/ViewRootImpl.java
parentcfd6e9dfd063cba795497f251aa6f7fe2554f10b (diff)
downloadframeworks_base-49b043f37d7231b1544cb72e1bfb616e5a00688d.zip
frameworks_base-49b043f37d7231b1544cb72e1bfb616e5a00688d.tar.gz
frameworks_base-49b043f37d7231b1544cb72e1bfb616e5a00688d.tar.bz2
Fix issue #20655182: API Review: ViewAssistStructure
Fix the various view assist related APIs. Also remove the blockAssist view attribute, and instead use the window's FLAG_SECURE to drive blocking of the entire hierarchy (which is semantically correct, and will protect existing apps that have already indicated they need it). Change-Id: I6beebc86b202809cba0a356cae9607d8d0fb5e78
Diffstat (limited to 'core/java/android/view/ViewRootImpl.java')
-rw-r--r--core/java/android/view/ViewRootImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java
index fda6e63..080498c 100644
--- a/core/java/android/view/ViewRootImpl.java
+++ b/core/java/android/view/ViewRootImpl.java
@@ -653,6 +653,10 @@ public final class ViewRootImpl implements ViewParent,
return (mWindowAttributes.flags & WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE) != 0;
}
+ public int getWindowFlags() {
+ return mWindowAttributes.flags;
+ }
+
public CharSequence getTitle() {
return mWindowAttributes.getTitle();
}