History log of /packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
8fd852e7c2f488650095024aca9c51f8c7ddc3b3 25-Jan-2014 Nicolas Prevot <nprevot@google.com> Add new "pin complex" type to supported keyguard PINs

This adds a feature to allow DevicePolicyAdmins to prevent using
simple PINs, which are defined as those containing more than 3
repeated values. Examples include '1234', '2468', '1111', '9876', etc.

Bug 12081139

Change-Id: I68d8fe2459837cb5e083724e1740e65f0519f7e1
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
8d26ba45e36f8ce9a7117662e83832aa08ad923d 15-May-2013 Amith Yamasani <yamasani@google.com> Return proper result code after creating pin/password lock

When adding a new restricted profile, user must enter some lockscreen
security. For PIN/password, return the result code (instead of cancelled)
so that UserSettings can proceed with adding the profile.

Bug: 8909229
Change-Id: I3567d7dfac869e38762f9e2a45d8ec83c51fa657
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.java
7e7912de4fb44481ded8e17d5ac1d7a1c9a0d184 28-Aug-2012 Nick Kralevich <nnk@google.com> ChooseLockPassword: allow spaces in passwords

This fixes http://code.google.com/p/android/issues/detail?id=35988

Change-Id: I1880d7e41028f034e75a048226cce3bf96845a09
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
552bc61ae2aaf67fd2f19564ca2ced002e8675e6 07-Oct-2011 Amith Yamasani <yamasani@google.com> Remove pending message when fragment is paused.

Bug: 5422788

Converted the runnable to a message and removed any pending messages in onPause.

Change-Id: I048413ae2abd69a359b1fa2c648d98df3c3ae343
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
c620ba41ce20e683aad3d124b3866cadaddcc87d 28-Sep-2011 Steven Ross <stross@google.com> calling back SetupFaceLock to clean up temporary gallery

This is done when the backup lock is complete or canceled.
If successful, the permanent gallery is replaced with the new one.
The temporary gallery is always deleted

Also deletes the main gallery if the lock type is changed from facial recognition

Change-Id: Id7b066fd852c7ba188d6e46b47391a362cbab40f
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.java
74b1e0a7330af195621ad0965748bee66c46f4b6 16-Apr-2011 Jim Miller <jaggies@google.com> Fix 4283049: Restore continue/cancel buttons in LockScreen Settings

This fixes a bug where the continue/cancel buttons were missing
from LockScreen settings in landscape mode.

The change also includes a minor change to enable using the IME enter
key to proceed to the next step.

Change-Id: I2dca0b40e38a128cc0aa637f573da01e779edb73
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
9afb14de3b8bbc8c3905926eb3765a65c414e414 15-Feb-2011 Jim Miller <jaggies@google.com> Fix 3444669: Fix message string for max password length

Change-Id: I5828dc0127b0296d87bdc0c9e251fd9c9a92bd0d
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
3b46f49d2a5abb47c1bdf239f855d2063b60595e 18-Jan-2011 Jim Miller <jaggies@google.com> Fix 3296883: Hide PIN characters in ChooseLockPassword

This configures the password entry EditText to numeric password mode
to hide PIN entry characters.

Change-Id: I0e97210f6499c6557c1f0e9e861559a5f8ac1f07
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
d75905991c5a1783ca27dc188c2d086f8f13ff94 11-Jan-2011 Jim Miller <jaggies@google.com> Fix 3298889: Show continue button on PIN and password screens

This fixes the above bug by allowing the PIN and password
screens to shrink to reveal the continue/cancel buttons
when the IME is shown.

This also fixes a minor resource bug where the title was
showing "confirm your password/pin" instead of "choose your password/pin".

Change-Id: I610c6018085e0c4ef1b6dc384566d06d1211f8ea
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
7da8cae44b622518fbffd6d265f291c39e9fc722 07-Jan-2011 Jim Miller <jaggies@google.com> Fix 3281395: Fix duplicate title in LockScreen Settings. [DO NOT MERGE]

Manual merge of Change-Id: I3c53d1864e521f4245b94d39664266891a728615

Change-Id: I59eedd81af226949ac0df10390ae0642e1812c5a
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
9757e30dfa0ab691c4c15366568367e166071a7d 18-Dec-2010 Jim Miller <jaggies@google.com> Fix 3281395: Use breadcrumb area to display title for LockScreen

Change-Id: Icd631b4c70e7b9f6b9a8c24dd513aed259a22d6a
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
2e28acedc623527aa5e84ba66635700d6547569a 15-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen layouts on large device

This updates the layouts to conform to the latest UX spec on
large devices and fixes a bug where the IME shown for PIN
selection was the QWERTY keyboard.

Change-Id: Ib9f0b1631f11c8eff6898bfff9447d3dad75cc42
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.java
2df65e4facac659314c2440d0af6316924166e2b 05-Jun-2010 Konstantin Lopyrev <klopyrev@google.com> Adding support for minimum non-letter characters.

Change-Id: I1eb96e3b88a368f1d92acdf71974fcd8fda1caab
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
57fbf694a53afb9c1924d81272179dceb3acfa4d 28-May-2010 Konstantin Lopyrev <klopyrev@google.com> Change I546ee2fb: Fix 2677197: Adding minimum complex character support.

Change-Id: I5590ec2743b84e34098871507dbcc2f49e5a4e9f
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
015c186a2466ad1bee01952ef067ba8d7e21cab7 13-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Added password history

Change-Id: I6198833e099ec1f33309dc26b28e0fd4a6edb288
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
af366a3ed66dcb3c3ecb1dd101e5d8869b518598 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2535700: Add support for enforcing password quality

Change-Id: I908b4229d46061f3d450adec72b04276fe10afc1
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
70d5c3a0139899e5f4d425c8ab2d68f0dfc5c6da 10-Mar-2010 Jim Miller <jaggies@google.com> Fix 2504863: Use password min/max constants in ChooseLockPassword

This fixes a bug where the system was defaulting to 8 digits max password length.

The UI is best for N <=12, but works for more. I set the default limit to 16 which is
more than most humans can remember. That also seems to be the practical limit for the small
sample of DevicePolicyManagers I checked.

DevicePolicyManagers can always specify more digits if they really want.

Change-Id: I8637e0c9366800886759424b5a28f48dca15c535
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
122b6c85a9bc7076eacc388142f8c4fccc5462c9 11-Feb-2010 Jim Miller <jaggies@google.com> Fix 2332563: Update logic for lockscreen in Settings.
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
2f9dbcb49174d85218dd18e3b2097d3b9fc789c7 10-Feb-2010 Jim Miller <jaggies@google.com> Fix 2373088: Update SecuritySettings with new layout and minor logic tweaks.
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
abc3dc64cf61c9f5c28b6f2640b221d63cb86a0a 20-Jan-2010 Dianne Hackborn <hackbod@google.com> Start hooking up password device policies

This introduces a new activity for changing the password, which takes
care of launching the correct password activity based on the caller's
request and active policy. The security settings activity now uses
this, and it implements the API action for launching the password UI.
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
47d380f1e6c823cea444004cb799d4c791145cc6 20-Jan-2010 Jim Miller <jaggies@google.com> Fix 2385283: Add DevicePolicyManager calls to LockScreen.
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.java