History log of /packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f958f2e14ee07098543291181113c0afdb3b193f 25-Aug-2016 Doris Ling <dling@google.com> Fix crash in ChooseLockPassworkFragment.

Check for null activity when the handler receives messages to ensure
that the fragment is still attached to the activity.

Fixes: 31034901

Test: Manual - Manually try to update password, verify it works. Run
monkey test on settings package and verify no crash seen.

Change-Id: I9753729ee64458fa1bc25d78abc946d2563a5067
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
9ba765b875ebeb66d8a870a29a00fe53e9da306d 02-Aug-2016 Tony Mak <tonymak@google.com> Hide redundant restrictions

Change-Id: Id9b8ec6f045632a87092b4dccef5f7ff73a327cc
Fix: 30109035
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
9c26c9dba6998fda4b3af27e315220b8bec6e0c5 01-Jul-2016 Tony Mak <tonymak@google.com> Remove KeyboardView in ChooseLockPassword

1. We actually use user installed keyboard
2. Request focus on the edittext instead of the keyboard

Bug: 24900754

Change-Id: I6257a592ad34875d46c5c05349098b891ef37d98
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
0bbcdccdbfa1f8473eb1c14e275c7de6dd43b4d4 12-Jul-2016 Tony Mak <tonymak@google.com> Visualize password requirements and their fulfillment

1. Aggregate policies and generate the requirements
2. When user modifies the password, check is each requirement fulfilled
Update the view accordingly.

Change-Id: I962ed3b81ce844006be1024a493e94ce52a3fdec
Fix: 24900754
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
44f2736f5453ec3bf1fffd3471ecda24da57a094 09-Jul-2016 Maurice Lam <yukl@google.com> Fix PIN screen title

Set the header text of the screen after Activity.setTitle is called,
so that the PIN screen will show the PIN text as header, as opposed to
the default which is always "password".

Bug: 30041779
Change-Id: I525bd4e5c51252410fdeb0424329bbfbd86e5b7d
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
9757152d16c2f4564d1ea826b266fe03c27103b6 16-Feb-2016 Udam Saini <udam@google.com> Removes tap continue when done text

This text is hidden by the keyboard, and the continue/keyboard done
button seem more intuitive than with this text.

bug:27063940
Change-Id: I1a4dca31fbf1c1cf9c00a68f0bb00df760992cda
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
1f8fb0f8ce1e82266a3a12b3d31b9062cff3fc44 12-Aug-2015 Paul Lawrence <paullawrence@google.com> Stop crash on repeated enters on virtual keyboard

Change https://googleplex-android-review.git.corp.google.com/#/c/742462/
removed the mDone since graying out the button seemed to remove the need
for this. However, you can also enter this command repeatedly from the
soft keyboard.

Put mDone back.

Bug: 23181625
Change-Id: I42e8ecb9824b17825778c9c113130506cc3a200b
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
efbe46612d3253e683ec14cadabf638450b39486 20-May-2015 Maurice Lam <yukl@google.com> Merge "[LockScreen] Update initial string in choose lock screens" into mnc-dev
163dee9fb78ef7c86929b250d150fa989484c2c7 20-May-2015 Maurice Lam <yukl@google.com> [LockScreen] Update initial string in choose lock screens

In choose password and PIN screens, change the initial string from
duplicate of the title ("Choose your password/PIN") to the
verification string ("PIN must be at least ? digits" / "Password must
be at least ? characters").

Bug: 20948877
Change-Id: I635ec625f2820e522cdfc983e13ee71706e7004e
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
f2c2c19339b5d821cb6196911cee04dc9ac647ad 15-May-2015 Xiyuan Xia <xiyuan@google.com> No input instead of disabling password/pin entry

So that the keyboard does not come and go all the time.

Bug:21271425
Change-Id: If73109fca1417c43307dc6069307789031ffc607
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
3859643c5b65bd54dcacce029a3a97a0386ede25 17-Apr-2015 Maurice Lam <yukl@google.com> [LockScreenSetup] Start SUW-style screens in setup flow

Implement the new overloaded methods in the setup-specific screens
so that the SUW-styled screens will be started instead of the regular
ones as seen in Settings.

Bug: 20304053
Change-Id: I68e778e6421cfe08e20c9b4af9ed98e0f5ebcee1
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.java
d8338fb85c06646abe2c981308fa4592954119b3 06-Mar-2015 Robin Lee <rgl@google.com> Don't reset the keystore during password change

There is absolutely no advantage to doing this.

Bug: 18817878
Change-Id: Ibb386696e67c316e65f53c28f9249ef2a2a48db6
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.java
4c00a611835e2257502ddcdd26b4e827c5b64f80 03-Feb-2015 Adrian Roos <roosa@google.com> Ensure new credentails are valid

Follow-up to I6f369eb60f8f6bb1e33384cd06534c713ab52e79

Bug: 18931518
Change-Id: I311b255a034b0cec8fee70b0f4938e6ebb20d95e
/packages/apps/Settings/src/com/android/settings/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/ChooseLockPassword.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/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