From 380ecb81db52a9d0197ca969951d07b91c20d2b9 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Fri, 14 Mar 2014 17:25:20 +0100 Subject: 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 --- packages/Keyguard/res/layout/keyguard_account_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_face_unlock_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_multi_user_selector.xml | 2 +- packages/Keyguard/res/layout/keyguard_password_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_pattern_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_pin_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_presentation.xml | 2 +- packages/Keyguard/res/layout/keyguard_selector_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_sim_pin_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_sim_puk_view.xml | 2 +- packages/Keyguard/res/layout/keyguard_status_area.xml | 2 +- packages/Keyguard/res/layout/keyguard_status_view.xml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'packages/Keyguard/res/layout') diff --git a/packages/Keyguard/res/layout/keyguard_account_view.xml b/packages/Keyguard/res/layout/keyguard_account_view.xml index 766effa..bde2ec6 100644 --- a/packages/Keyguard/res/layout/keyguard_account_view.xml +++ b/packages/Keyguard/res/layout/keyguard_account_view.xml @@ -18,7 +18,7 @@ --> diff --git a/packages/Keyguard/res/layout/keyguard_selector_view.xml b/packages/Keyguard/res/layout/keyguard_selector_view.xml index 6cb5e67..d3064ed 100644 --- a/packages/Keyguard/res/layout/keyguard_selector_view.xml +++ b/packages/Keyguard/res/layout/keyguard_selector_view.xml @@ -20,7 +20,7 @@