diff options
author | Jim Miller <jaggies@google.com> | 2012-09-07 16:43:51 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-09-07 18:07:59 -0700 |
commit | e46efc046074ecb49439ed9a557e5c79c0582468 (patch) | |
tree | 5681c174b52335dec871655f13d6d655041fd05b /core/res/res/layout-port | |
parent | 824b959dfc830f3d0aa12afc5fb429980e35f3fd (diff) | |
download | frameworks_base-e46efc046074ecb49439ed9a557e5c79c0582468.tar.gz frameworks_base-e46efc046074ecb49439ed9a557e5c79c0582468.tar.bz2 frameworks_base-e46efc046074ecb49439ed9a557e5c79c0582468.zip |
Enable lazy-loading of security views in keyguard
This change removes all but the default KeyguardSelectorView from KeyguardViewHost
to (1) reduce the overall memory footprint (2) reduce initial layout inflation
time and (3) avoid initializing the camera until needed by face unlock.
Fixes bug 7127666
Change-Id: Ibac1838dd7a490dcadbfab5bdfdd82734b69055a
Diffstat (limited to 'core/res/res/layout-port')
-rw-r--r-- | core/res/res/layout-port/keyguard_host_view.xml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/res/res/layout-port/keyguard_host_view.xml b/core/res/res/layout-port/keyguard_host_view.xml index 5dc2225a757..5e467d1f51b 100644 --- a/core/res/res/layout-port/keyguard_host_view.xml +++ b/core/res/res/layout-port/keyguard_host_view.xml @@ -33,13 +33,8 @@ android:layout_height="match_parent" android:gravity="center"> + <!-- SelectorView is always used, so add it here. The rest are loaded dynamically --> <include layout="@layout/keyguard_selector_view"/> - <include layout="@layout/keyguard_account_view"/> - <include layout="@layout/keyguard_pattern_view"/> - <include layout="@layout/keyguard_password_view"/> - <include layout="@layout/keyguard_sim_pin_view"/> - <include layout="@layout/keyguard_sim_puk_view"/> - <include layout="@layout/keyguard_face_unlock_view"/> </ViewFlipper> |