From bfec0a8616bc197ee3b7b71be6fed1939d0c3c4d Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 5 Nov 2012 20:05:22 -0800 Subject: 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 --- tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') 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() { -- cgit v1.1