History log of /packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d189ac52a4e49291b729d817fc903116abc086d0 15-Jun-2016 Maurice Lam <yukl@google.com> Use GLIF theme for Settings > Security > Screen lock

Bug: 24405946
Change-Id: I1fed96cbc228b6bb367637f83f9cd3bac2761417
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
71fde52ae36f134e93835bee53bc4bfe5481bba0 30-Mar-2016 Udam Saini <udam@google.com> Fixes graybar as status bar and unshifts header view.

StickyHeaderListView will not layout all the way to the top of the screen
if fitsSystemWindows is true.

bug:27875272
Change-Id: I4150dc183778284df2f07f3a6220e0c0b2607774
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
92779ce70156031f4fa3b8c2d84305f5b3b44105 28-Mar-2016 Udam Saini <udam@google.com> Prevents drawer menu from showing depending on intent.

When ChooseLockScreenGeneric is started via the set password
intents, it should not allow the drawer menu to show.

bug:26288300
Change-Id: I10d512e20fedab2be8c725c7d524db0c55666590
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
686ae494f485a5025dfa456b4f32427b3715c337 03-Feb-2016 Udam Saini <udam@google.com> Start redaction activity after we finish current activity.

This is needed so that activity manager won't start a new task stack.
During setup, we want everything on the same task stack to allow
task locking.

Change-Id: Iaa1e13da8251ad37362ea41b374300268b6e9875
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
c8457a8605e747113377105b52372b3acc350fc6 01-Feb-2016 Clara Bayarri <clarabayarri@google.com> Merge "Make Lockscreen Notification Content work for profiles"
c6ce1793f775fd710e72695f0f8e8416781590d3 29-Jan-2016 Robin Lee <rgl@google.com> Merge "Only setCredentialRequiredToDecrypt if primary user"
5bb1e4fb909a5f0e0574d3572ea1edcf32a2190f 27-Jan-2016 Robin Lee <rgl@google.com> Only setCredentialRequiredToDecrypt if primary user

Change-Id: I3b68cc1169296aa95777e12fa27c3ede4291ec78
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
62775bf756a8eca9423bb4fab3fc7b71ab22d1a7 28-Jan-2016 Adrian Roos <roosa@google.com> Move lock screen setting behind gear

Bug: 19003093
Change-Id: I15baa5b1d19324521070d641ae6a227d782a4e9e
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
f6077f4757183ae8b31af0928c895c806241b593 25-Jan-2016 Clara Bayarri <clarabayarri@google.com> Make Lockscreen Notification Content work for profiles

The settings for the Notification Content is user-dependent
and the correct values are used in the lock screen.

Bug: 26709332
Change-Id: I7acf94014771dacc2841da336bed645fdb948541
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
194300dff340d67255d12762ffb376b7ba201c87 13-Jan-2016 Benjamin Franz <bfranz@google.com> Add background image for work challenge

If the challenge shown is for a work profile, add the default image and
color to the background of the fragment.

Change-Id: I148c6cd3a835a84c7bac78b020839dfdae4a6c36
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
b8a22e42d42e6de8fce1a2026c112c12fd0f0f7a 18-Dec-2015 Clara Bayarri <clarabayarri@google.com> Update Work Challenge check to take userId

Change-Id: I239bca2dc55066c717d74487105646df22768d93
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6934a044b8ebf4dac28d1c1142b6eee4ecc64f66 14-Oct-2015 Clara Bayarri <clarabayarri@google.com> Work Profile Passphrase Setting

Create a new section in Security Settings which includes all
settings for the Work Challenge.
Only some settings apply to the Work Challenge, so we reuse
the security settings layouts for items and compare them against
a whitelist to remove unwanted items.

Additionally, remove all usages of ChooseLockGeneric.KEY_USER_ID
in favor of Intent.EXTRA_USER_ID.

Change-Id: I3d1ba953a2056f7c61a7b3feeb8b49f1a352dff6
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
fe432e838e5588cd4ac664d7e74f3d70a99d7df1 12-Oct-2015 Clara Bayarri <clarabayarri@google.com> Refactor Choose/Confirm Lock flow to take user id

This is a first step to allow this flow to be reused for setting
a work profile-specific lock, to be used with the work challenge.

Change-Id: Iaa65fdab9021cda5f0a1d3bc526a6b54f8a7dd16
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
e47a2ab83eac80ed6e46606668db21b178168da7 01-Sep-2015 Xiyuan Xia <xiyuan@google.com> Fix wrong stage exception in ChooseLockPattern

ChooseLockPattern should updateStage instead of always enabling
pattern view input.

Bug:22760251
Change-Id: I3675c0aada293e168769147ba8e4203e9310e593
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
3e7e3d6c594018e4bc7fc77acc19e148d8bf1bdd 26-Aug-2015 Xiyuan Xia <xiyuan@google.com> Fix ChoosePat/Pin/Pwd crash from async task

Use a retained worker fragment to track the asynchronous
save-and-finish task so that ChoosePattern/Password activity
is properly dismissed after a configuration change.

Bug:23424884
Bug:23521530
Change-Id: I328022c1603cfb0f6812cd8aa7916ae7b72c9950
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
cff37ecbdd4a3d8f9b81fc295155bde5fcf8ea0c 03-Aug-2015 Paul Lawrence <paullawrence@google.com> Gray out confirm button on pattern/pin/password set dialog

Setting a pin/pattern/password can take a second. Gray out the confirm
button to avoid multiple submissions.

Note that this requires async tasks so that the button is shown as gray
in a timely way.

Also don't add another stage - this causes a11y to repeat the title.

Bug: 22882174
Change-Id: Ib8047fde9e12afa25e82ebfa3a1e799a4b7043f2
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
00da4f6d3b7cd2aa347b88e3f15b3b6ddd3e5803 25-Jun-2015 Selim Cinek <cinek@google.com> Always announcing wrong pattern now for talkback in pattern settings

Bug: 21797216
Change-Id: If86078f2d711a80e4a4aa28ce8817aed8244d30b
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
ccade402782d9b39331ada3859aa00893132e5c9 12-Jun-2015 Alex Chau <alexchau@google.com> Enforce Keyguard policy in Notification Settings

- Applied getKeyguardDisabledFeatures for notification settings and
notification setup page (after settings a screenlock)
- If a notification settings is disabled, the next least secure setting
will be chosen
- Although KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS can be set be
profile, it will not be reflected in both settings page. This is
because it does not affect the owner (user 0), as mentioned in
DevicePolicyManagerService.PROFILE_KEYGUARD_FEATURES_AFFECT_OWNER
- Skip RedactionInterstitial if there is <= 1 options for the user
- Tested with both Setup wizard and settings case, both pattern and
password, as well as toggling the policy on and off

Bug: 19307118
Bug: 17099898

Change-Id: If640d5576caa0163e9942569f7b4643a30bbfe0a
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
58c5fb38c75cf04309f74927b3c91c54a645b690 05-Jun-2015 Jorim Jaggi <jjaggi@google.com> Fix lockpattern weirdness

- Pass back correct result when pressing cancel.
- Make sure the start the interstitial activity after checking so
we don't preempt the async thread we are still running.

Bug: 21621918
Change-Id: I5558089abf02a00a268050fc48894cea86692fa0
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
91e6c499ca8f33cc093fed4277d2b48ab780b309 16-May-2015 Andres Morales <anmorales@google.com> [LockSettings] pipe through HW throttle timeout

Bug: 21118563
Change-Id: I23f5af2ebef9dac981281fb04c055a02f3b159b8
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
bf9ac6b4fb6428d0194a5163181b30cccaedb8eb 06-May-2015 Xiyuan Xia <xiyuan@google.com> Migrate settings UI to use async security check

Bug: 20697812
Change-Id: Ieb0090ddb61198a60abb1e34ff9c6e8476c33789
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
5437588abd69bf3eff59684528aaf50e09b6cffc 17-Apr-2015 Adrian Roos <roosa@google.com> Require explicit userId in LockPatternUtils

Bug: 18931518
Change-Id: Ie2faa18918aaadf17a84287898438549a693b0cc
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6609b0c22ae89a24d1b07dc3c4143452616d4450 13-Apr-2015 Andres Morales <anmorales@google.com> pipe auth token through confirm and set password

ConfirmDeviceCredentialsActivity and ChooseLockGeneric now understand
CLSH.EXTRA_KEY_HAS_CHALLENGE and CLSH.EXTRA_KEY_CHALLENGE in their
launching intents. If present, they return a hw_auth_token_t verifying
the challenge passed in as a field in keyed by
CLSH.EXTRA_KEY_CHALLENGE_TOKEN in their result intents.

Change-Id: I0b4e02b6a798a9e57d02522880a180dffadfcde1
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
a0e1236fa970ea953bfbcc84fcae1f3fb7f189d1 02-Apr-2015 Andres Morales <anmorales@google.com> [LockSettings] pipe old password through when setting new one

Change-Id: Ia98b93d1cdb8c2d0bff42de7ecb59f5b80fb780e
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
8a09b619aeb233e2aab1919301f162d8acf1f0f0 07-Apr-2015 Jorim Jaggi <jjaggi@google.com> Update confirm device credentials to spec, add fingerprint

- New strings in the screen.
- New layout/style.
- Clean up internal API's around it.
- Add fingerprint support if launched from externally
- Separate theme if launched from externally
- If launched from above Keyguard, use SHOW_WHEN_LOCKED flag

Change-Id: Icdf9bf9e0506841f24e8aab5f0f1d1f4b688951f
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6b879f50f6a7452a14b311e20e4ed8d20e744613 08-Jan-2015 Adrian Roos <roosa@google.com> Remove usages of LPU.savedPatternExists

The correct method to call is isLockPatternEnabled, which
also checks whether we've actually selected a pattern.

Also removes the code for the obsolete pattern enabled setting.

Bug: 18931518
Change-Id: I6f369eb60f8f6bb1e33384cd06534c713ab52e79
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
f788718f2142e5546bbf1b6847793d59ffea898b 07-Jan-2015 Adrian Roos <roosa@google.com> Purge biometric weak from internal code

Bug: 18931518
Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
47811fe057052df5ea20db06696d589965092b4b 12-Dec-2014 Lucky Zhang <luckyzh@google.com> [FRP] Notification screen slides in wrong direction

The method that launches notification screen from choose lock activity
finished the original activity before starting the new activity. This
made the system think it is a backward transition instead of a forward
one. Swapping the order to start new activity first and then finish
old activity fixed the problem.

This also changes the behavior in settings. However, it seems like this
is also the desired behavior for settings.

Bug: 18723199
Change-Id: I90538fa52e0d62a2274c8e0333682035849802c6
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
5df6e0302c242b801eee73a513ba04a79f508c2e 05-Dec-2014 Adrian Roos <roosa@google.com> Merge "Fix race leading to spuriously disabled trust agents" into lmp-mr1-dev
16809b1ad7262ee95d647b7655c4adf8cdeb75ab 05-Dec-2014 Adrian Roos <roosa@google.com> Fix race leading to spuriously disabled trust agents

If TrustManagerService is able to refresh the trust agents before
the Settings activity gets a chance to reenable the lock pattern,
the TrustManagerService won't see a secure credential and won't
load any agents. This was introduced when we switched to isSecure
instead of getKeyguardStoredPasswordQuality. The latter ignored
the lockPatternEnabled flag.

Bug: 18596036
Change-Id: I2734899f7684916fc84bc3a07edca29310887103
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
af103b4eb476881fb27cfb9b6dc94b3fa5e74f28 04-Dec-2014 Maurice Lam <yukl@google.com> [FRP] Use setup wizard nav bar buttons

Use setup wizard nav bar buttons instead of custom button bar for
lock screen setup.

Bug: 18482708
Change-Id: I471f475ebe6bc7ba8cfbd179daddd854c1b6982a
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
ecd2b7b81fd2faa2f2f3dbe5a169c749321f3d89 01-Dec-2014 Maurice Lam <yukl@google.com> [FRP] Theme interstitials for lock screen setup

Use the setup wizard theme for EncryptionInterstital and
RedactionInterstitial as they will show during the lock screen setup
as part of setup wizard.

Bug: 18482708
Change-Id: I65c8924952345a4e17fcf4ffb7d68df53244c5d7
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6b19fa9017800b94c75238339a337fd8f6c3e808 26-Nov-2014 Maurice Lam <yukl@google.com> [FRP] Theming for Pattern and Password screens

Basic theming for pattern and password screens. Create subclasses for
ChooseLockPassword and ChooseLockPattern, and copied their XML
layouts.

This CL mainly uses the buttons in the original screens as-is, with a
follow-up CL coming to change to use the nav bar buttons.

Bug: 18482708
Change-Id: I81751f781de633aff23fc68657589360007c235a
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
90d6c568cf24178669254964af343f729639b31d 24-Nov-2014 Adrian Roos <roosa@google.com> Don't show RedactionInterstitial when changing password

Only show when going from an insecure to secure lock.

Bug: 18467783
Change-Id: Ia73682d45b1dcd9ad61a00abeac099a94256e3b7
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
0698a216311acd9ab52224602d1a75c08bf89f04 17-Oct-2014 Jim Miller <jaggies@google.com> Several fixes to new EncryptionInterstitial dialog.

The code now observes whether accessibility is turned on when
deciding the default state.

Additionally, it fixes a bug where the user can back out of
EncryptionInterstitial and leave the setting in a bad state.
We now propagate the state until the place where it ultimately
gets stored.

Also fixes problem where Encryption was ignoring the state
where the device was already encrypted.

Fixes bug 17881324

Change-Id: Iec09e4464832a506bb2a78bb14a38b3531971fa0
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
46c7f6d6f32efec26bc9343f591ad1ddbe8f3b4a 14-Oct-2014 Jim Miller <jaggies@google.com> Add a checkbox option to 'require password to decrypt'

Fixes bug 17881324

Change-Id: I3f256f448a35cf8104ee6acb4de253874101f7c0
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6d5c75f6cd928befb348fa283e53edc10716f151 24-Sep-2014 Adrian Roos <roosa@google.com> Prevent saving credentials multiple times

Bug: 17610563
Change-Id: Ibb51889fc8085f8fad5e36481af2419576cda34a
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
6f60f7ed22f94891156115643452a32d0324f65a 05-Aug-2014 Adrian Roos <roosa@google.com> Ask about redacted notifications after setting up a secure lock

Bug: 14437890
Change-Id: I54cf355242375e8c7968c7d27c441fbd0a54cef2
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
15826d4ea1428b3d1edb86866ca57a93c2252bda 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS

- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
66026773bbf1d7631743a5b892a4f768c694f868 25-Sep-2013 Amith Yamasani <yamasani@google.com> Make sure that external callers cannot pass in the confirm bypass extra

Security fix for vulnerability where an app could launch into the screen lock
change dialog without first confirming the existing password/pattern.

Also, make sure that the fragments are launched with the correct corresponding
activity.

Bug: 9858403
Change-Id: I0f2c00a44abeb624c6fba0497bf6036a6f1a4564
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
a677ee210c67d13d15ba0663887675bda16354d8 26-Jul-2013 Amith Yamasani <yamasani@google.com> Whitelist fragments appropriate for an activity

Change-Id: If4f8c4e9d9949b652946cffe0ebb09b587e5a042
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
e656031ff8c48dffafe965b5859c5c82a5f23fe7 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move lockscreen to using haptic feedback setting.

This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: Id6931903b3ebeca6aeacef9b127490a381cd40b4
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
eef72c39ae83697b1beaa148ec56aced67382fec 04-Oct-2012 alanv <alanv@google.com> Announce dynamic content changes in lock confirmation settings.

Also re-orders updateStage() and setText/Selection calls so that text
events don't flush announcements. This does not change functionality.

Bug: 7256500
Change-Id: I8b10d66e9f73c7a630a8c3c5128372e18f26234c
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
487b16f3400b62b79f8108ca669cc3e937c69def 02-Nov-2011 Danielle Millett <dmillett@google.com> Adding an improve face matching settings option for Face Unlock

Adding an option which will launch a version of setup where faces
can be added to the current gallery. It requires the user to first
confirm their password before launching addToSetup.

Patch 3 - Updated for renaming of FackLockTutorial to SetupIntro.
Now it is called every time regardless of it it's showing the tutorial
and a flag is passed in to determine whether or not SetupIntro shows
the tutorial.

Patch 4 - Removed 'Setup Complete' toast at the end of screen lock
setups since it was primarily for Face Unlock and the congratulations
screen removes the need for it.

Change-Id: Idc5f960809d992ec7bbce59ef1e13b95ef7cce45
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
e4599058ddda62fd8baebe616268c92d64421b6d 12-Oct-2011 Jeff Sharkey <jsharkey@android.com> Toast when finished pattern or password setup.

Bug: 5443781
Change-Id: I599ccbb9c535396e05a2a22ab6d3ef302fb9c623
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
5541a86efe5f26956e54de49c4a59bf1dab79a78 03-Sep-2011 Jim Miller <jaggies@google.com> Fix 5185505: Add weak biometric sensors to security choices.

This adds a simple biometric sensor (face lock) to the security choices.

Updated to disable biometric sensor by default.

Change-Id: I088e5e99cf5f8c7a06a1a992a9257940eb2cc07f
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
63cf89a49a751c49bf60b9898e7d59f02b91c046 08-Aug-2011 Jim Miller <jaggies@google.com> Fix 5044847: Minor tweaks to SecuritySettings.

Fix for 5044847 removes "Press menu for help" which is no longer used on any device.
Fix for 5092312 removes black background from pattern/pin/password settings.

Change-Id: I849ea0296aa9f0e9ace65086f9b154a961959f00
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
77cb854d689cd5c49e14f80abb7803d77ced2e79 15-Feb-2011 Jim Miller <jaggies@google.com> Fix 3409373: Don't grey out Cancel button on confirm pattern screen

Change-Id: I5832fd92cb71c91239326b295c36d207286263f2
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
8c74072e9cad7ae7cf7266f87b8f202aa42939ce 07-Jan-2011 Jim Miller <jaggies@google.com> Fix 3281395: Fix duplicate title in LockScreen Settings.

Change-Id: I3c53d1864e521f4245b94d39664266891a728615
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
1bafb6e0194aa4c0495301a1f4510e40b11eab99 06-Jan-2011 Jim Miller <jaggies@google.com> Fix 3315401: Prevent pattern confirmation screen from asking twice

This fixes a bug where changing from PIN to pattern caused
the lock pattern tutorial to ask for the PIN twice and ultimately
crash due to ConfirmLockPattern getting into the wrong state.

Change-Id: Ia3b3186dcd56f2b47a09f54d7636436ee80aa13c
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
17e9e1933055b207473b488595b2887bfcaea32e 08-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Initial pass at fragmentizing lockscreen settings.

This converts most of the existing activities to fragments and wraps
them in PreferenceActivities so they can be launched as before
(e.g. by a DevicePolicyManager)

Upload after sync/rebase.

Change-Id: I4f351b75d9fca0498bcb04b4e11ff3b70765a4ba
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
2deec7edc937b1d19df0a74c4cd0c5ee3ef33070 14-Apr-2010 Jim Miller <jaggies@google.com> Fix 2594148: confirm PIN/Password before resetting device

This fixes a bug where user was allowed to factory reset the device
without entering their PIN/Password.

It also fixes the same issue with MediaFormat (Settings->SD Card->Format).

Change-Id: I0677a50aa771ad8663513fd7ec398a70953dcde2
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
bbb4afa19f75694c585506b0c091372d60e07ca7 09-Apr-2010 Jim Miller <jaggies@google.com> Fix 2579923: Make changing lock screen method more discoverable.

This changes the organization of lock screen security settings
to make choosing an alternate unlock method more discoverable.

Instead of having to disable the old lock method to use a new
one, the user now just has one set/change option in lock settings,
with a list of method-specific setting below it.

In addition, we ask the user to confirm their old credentials
before prompting them to choose a new one, which eliminates one
source of confusion.

Also, ChooseLockGeneric now shows a UI if quality isn't specified.
Any unlock method less secure than minimum specified by
DevicePolicyManager (if active) is greyed out.

Change-Id: Iecc6f64d4d3368a583f06f8d5fe9655cc3d5bd3b
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
00d2476d8fc122b4eef59d6be6f7aa41e9c56fde 23-Dec-2009 Jim Miller <jaggies@google.com> Fix 2332563: Add password-lock support to lockscreen
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
56544d0e9198ab21dabec621cdf419b52b412dac 29-Sep-2009 Jim Miller <jaggies@google.com> Fix for 2137900: Be more conservative about poking the wakelock
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
e6dd1fa1851302710ac7845d25d8ad8a5b6ee438 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
72ed6feab24308a0acd1fa2135afa3476759cf39 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
a578a6c4ad2924236a8882e3eb794474d57ca450 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
8a156091eff22a360f802332daf2fe00b4267ad7 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/ChooseLockPattern.java