summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ChooseLockSettingsHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* lockscreen: Add option to pass swipe-up-to-unlock (2/3)eray orçunus2016-02-081-0/+8
| | | | | | | | | | | * Option appears on PIN,pattern and password methods * User should press back button to see notifications, clock etc. * Instantly hides keyguard if Smart Lock has unlocked phone. CYNGNOS-1873 Change-Id: I31256770869b20842c69edb4a7a57b2bad7b3ea7 Signed-off-by: eray orçunus <erayorcunus@gmail.com>
* Finish trampoline activity for ConfirmDeviceCredential immediatelyJorim Jaggi2015-09-101-3/+12
| | | | | | | | | Make sure to finish ConfirmDeviceCredentialActivity directly, and use Intent.FLAG_ACTIVITY_FORWARD_RESULT, so we can't even end up in a state where we have the trampoline activity but not the real activity. Bug: 23849216 Change-Id: I7a5be5af74ca85c11df1f61a69c3fd5cf558e1fb
* fix CC for work profilesAndres Morales2015-08-051-1/+4
| | | | | Bug: 22257554 Change-Id: I09f62956d01f91d3014d9fa250aaff68ab5e1a9b
* [Fingerprint] Change message in encryptionMaurice Lam2015-07-201-0/+1
| | | | | | | | | | Change the message for encryption interstitial when enrollin fingerprint, to make it clear that fingerprint unlock is still used, just that the backup unlock PIN / password / pattern will be needed to start the device. Bug: 22559146 Change-Id: Ia134e0d9b118151833a9118ff44667dcc9122185
* Require explicit userId in LockPatternUtilsAdrian Roos2015-04-281-1/+2
| | | | | Bug: 18931518 Change-Id: Ie2faa18918aaadf17a84287898438549a693b0cc
* Update fingerprint enroll UI to spec.Jorim Jaggi2015-04-241-4/+4
| | | | | | | Also adds sliding animations between the steps. Bug: 20495507 Change-Id: I148d8d8b8082361149f02fd2dc4cead0ba3e2526
* pipe auth token through confirm and set passwordAndres Morales2015-04-141-5/+38
| | | | | | | | | | 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
* Update confirm device credentials to spec, add fingerprintJorim Jaggi2015-04-131-63/+50
| | | | | | | | | | | - 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
* Remove usages of LPU.savedPatternExistsAdrian Roos2015-01-091-1/+1
| | | | | | | | | | 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
* User to confirm credentials if an accessibility service changes encryption.Svetoslav2014-10-161-2/+6
| | | | | | | | | | | When an accessibility service is enabled we are not using the user secure lock when encrypting the data. If the latter is already used for encryption we are decreasing the encryption level and therefore shall challenge the user with their secure lock. bug:17881324 Change-Id: If8905c05e20bc6bb6a6415e501871e5ad83f3d86
* Don't put credentials in results from externally accessible activitiesPaul Lawrence2014-07-101-6/+29
| | | | | | | | | ConfirmLockPattern and ConfirmLockPassword return an intent that contains the password, and as such are dangerous. Create internal versions that are locked down, and don't put this info in the externally accessible versions. Bug: 13741939 Change-Id: I0df4d1e720b3c33d2c9ca086636dc54f17b19bf0
* Add new "pin complex" type to supported keyguard PINsNicolas Prevot2014-07-091-0/+1
| | | | | | | | | | 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
* Allow encryption when keyguard is set to pattern or no protectionPaul Lawrence2014-04-031-0/+1
| | | | | | | | | Don't block based on keyguard type, and pass type to encryption function. Circular dependency on https://googleplex-android-review.git.corp.google.com/#/c/444200/ Bug: 13749169 Change-Id: Ica95713adca9552ae56341ff33badd1d4b748af8
* Bulletproof CredentialStorage state handlingBrian Carlstrom2011-06-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by the class javadoc, CredentialStorage has seen the number of cases to cope with grow. This change tries to address those cases. src/com/android/settings/CredentialStorage.java Added ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD to coordinate additional producer and consumer. constant declaration here, since its used by callers of ChooseLockSettingsHelper.launchConfirmationActivity src/com/android/settings/ChooseLockSettingsHelper.java old producer src/com/android/settings/ConfirmLockPassword.java new producer (CredentialStorage wants passwords and patterns) src/com/android/settings/ConfirmLockPattern.java new consumer src/com/android/settings/CredentialStorage.java old consumer src/com/android/settings/CryptKeeperSettings.java Made class final and removed protected from method to make it clear ChooseLockSettingsHelper is not to be used by subclassing. src/com/android/settings/ChooseLockSettingsHelper.java Change-Id: Ib2d65398fe44573168a6267a0376c3b0388b16c8
* Fragmentize "Factory reset" setting screen.Amith Yamasani2010-11-031-4/+19
| | | | | | Split the screen into 2 fragments. Bug: 3148480
* Change I546ee2fb: Fix 2677197: Adding minimum complex character support.Konstantin Lopyrev2010-05-271-0/+1
| | | | Change-Id: I5590ec2743b84e34098871507dbcc2f49e5a4e9f
* Fix 2594148: confirm PIN/Password before resetting deviceJim Miller2010-04-141-3/+12
| | | | | | | | | 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
* Fix 2579481: Fix change alphanumeric password security holeJim Miller2010-04-081-0/+1
| | | | | | | This fixes a bug where changing an alphanumeric password didn't ask for the old password first. Change-Id: I8ef4d2b4b87d02c6ddd23da3177e6802fc579c64
* Fix 2535700: Add support for enforcing password qualityJim Miller2010-03-251-4/+5
| | | | Change-Id: I908b4229d46061f3d450adec72b04276fe10afc1
* Fix 2385283: Add DevicePolicyManager calls to LockScreen.Jim Miller2010-01-201-1/+1
|
* Fix 2332563: Add password-lock support to lockscreenJim Miller2010-01-111-0/+85