summaryrefslogtreecommitdiffstats
path: root/services/accessibility
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-03-14 17:25:20 +0100
committerJorim Jaggi <jjaggi@google.com>2014-03-28 22:35:03 +0100
commit380ecb81db52a9d0197ca969951d07b91c20d2b9 (patch)
tree753915d98f530e97095dc9f3c95dba67d3fadfb5 /services/accessibility
parentca4761661a41fc0750a2bc5e7c90481216e626c3 (diff)
downloadframeworks_base-380ecb81db52a9d0197ca969951d07b91c20d2b9.zip
frameworks_base-380ecb81db52a9d0197ca969951d07b91c20d2b9.tar.gz
frameworks_base-380ecb81db52a9d0197ca969951d07b91c20d2b9.tar.bz2
Make Keyguard a library and make StatusBar the new Keyguard.
This change achieves a couple of things: - Let Keyguard be a library, so we can use it in SystemUI. - Introduce FLAG_KEYGUARD for windows and deprecate TYPE_KEYGUARD. Make all the TYPE_KEYGUARD behaviour dependant on the flag. - Implement a new KeyguardService in SystemUI, and bind that service from PhoneWindowManager. - Introduce BaseStatusBar.setKeyguardState and inflate KeyguardSimpleHostView there and use FLAG_KEYGUARD for the window, such that the status bar window essentially gets the Keyguard. Bug: 13635952 Change-Id: I059d80d8b9b9818a778ab685f4672ea2694def63
Diffstat (limited to 'services/accessibility')
-rw-r--r--services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
index 35f873e..a72965d 100644
--- a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
+++ b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
@@ -2972,7 +2972,6 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
return AccessibilityWindowInfo.TYPE_INPUT_METHOD;
}
- case WindowManager.LayoutParams.TYPE_KEYGUARD:
case WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG:
case WindowManager.LayoutParams.TYPE_NAVIGATION_BAR:
case WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL: