diff options
author | Jim Miller <jaggies@google.com> | 2012-11-05 20:05:22 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-11-05 20:27:38 -0800 |
commit | bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d (patch) | |
tree | 72832bb9442488065ceae24e5d1ade9297d9f584 /tools | |
parent | bb8abae507119612b4168b951354516b0bf7112d (diff) | |
download | frameworks_base-bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d.zip frameworks_base-bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d.tar.gz frameworks_base-bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d.tar.bz2 |
Add isSafeModeEnabled() API to WindowManagerService
This adds a means of determining when the device is in safe mode,
as required by keyguard to disabled some features.
Change-Id: I31d357e6738c92e1837f9e0263e5f3f4de66315a
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java b/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java index da736b7..fa2cb50 100644 --- a/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java +++ b/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java @@ -446,6 +446,11 @@ public class IWindowManagerImpl implements IWindowManager { public void lockNow(Bundle options) { // TODO Auto-generated method stub } + + @Override + public boolean isSafeModeEnabled() { + return false; + } @Override public IBinder getFocusedWindowToken() { |