summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/SecuritySettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug: allow users to select "none" for lockscreen widgetMichael Jurka2012-09-181-2/+1
| | | | Change-Id: Ibd0449899ce7c340a6f838c56de58b70538400fc
* Tweaking mechanism for adding keyguard widgetsAdam Cohen2012-09-181-5/+4
| | | | | | | -> Fix for issue 7173877 -> Fix for issue 7173587 Change-Id: I266cafcf175c98e0c8a8401e11faa5dd2e2fa885
* Fix cases where app widget ids were not being cleaned upMichael Jurka2012-09-171-10/+22
| | | | Change-Id: Ie3f1ba0cc0fe459ae9fff2665c2ff4aa76e95994
* Ability to hide verification settingsrich cannings2012-09-161-6/+13
| | | | | | | | Add a setting that controls the visibility of the package verification setting in the Settings app. Bug:7022814 Change-Id: I6e503924adc112b4528d94b1e533baae6079e85e
* Fix crash in Settings > SecurityMichael Jurka2012-09-141-13/+15
| | | | Change-Id: Ib439c652f4f8a55cac710dbd22792943a7ef8f98
* Add support for setting lock widgetsMichael Jurka2012-09-141-5/+112
| | | Change-Id: I26165f1bc60e3cf277dbdd4f627ac720b492ffde
* Grey out App Check setting when no verifiers existrich cannings2012-09-091-3/+21
| | | | | Bug: 7082362 Change-Id: I6e8a6032b58145fe6e2918f364ffd92cbb97ed67
* Add package verification to settings apprich cannings2012-09-071-0/+15
| | | | | | | | Adds a dialog/toggle in security settings to turn package verification on and off. Bug: 7082362 Change-Id: I9985437ae28e4a999992c91a7e88547495ccbda2
* Update Settings app to manipulate now-global settings properlyChristopher Tate2012-09-071-3/+3
| | | | Change-Id: I6c269051c7d2db87f70f44df74e06456588c3b6f
* Rename UserId to UserHandle.Dianne Hackborn2012-08-161-3/+3
| | | | Change-Id: I04b86f3777c28fb83f03eb404dd5c2eb18d3da8f
* Fix 6654057: Fixing crash if device is rotated during confirm passwordDanielle Millett2012-06-141-1/+3
| | | | | | | | | | | In onActivityResult, mBiometricWeakLiveliness can be null if the device was rotated during confirm password. To fix this, the line accessing mBiometricWeakLiveliness can safely be removed. It's unnecessary because when onActivityResult finishes, onResume is always called when it displays the security settings again. Since onResume sets the checkmark value based on the stored value in lockPatternUtils, the check mark will always show the correct value when settings is displayed. Change-Id: Idba9ae1d829911a9581bb6678c4d1f3b44784c63
* Removing head turn and putting blink backDanielle Millett2012-06-081-5/+31
| | | | | | | | Changing the strings and workflow in settings to be blink again instead of the new head turn. This basically undoes the following two cls: I67c8acd4 and Ifc7b6e18. Change-Id: I8694b1d82efac9d2f97c29128da6698b6ac2a4ce
* BUG 5457035 : Anti-spoofing : DO NOT MERGEUriel Rodriguez2012-05-301-31/+5
| | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 060b9daf5fe3c45573a13a149bf98f4fa1e6a46f Author: Danielle Millett <dmillett@google.com> Date: Wed May 30 15:50:03 2012 -0400 Added head turn option for Face Unlock. In security settings there is an option for head turn and it shows the current status (on/off). Clicking on this goes to another screen that describes the feature and allows the user to it on/off. Since the head turn option goes to a different screen instead of using a check box, this change also rips out the rest of the code for the old liveliness checkbox. Change-Id: I197af51084f3e751081fa159dadd6c2c80840d1e Change-Id: I67c8acd49316b49771a0bb97b4a5fbd5a1c13262
* Don't show SIM LOCK settings if there's no Icc card.Amith Yamasani2012-05-231-3/+2
| | | | | | Bug: 6525359 Change-Id: I7bf2a1799ca3032a5dbfa15320d862195b9659f7
* User management screensAmith Yamasani2012-03-271-13/+27
| | | | | | | | | | | Customized Settings for restricted users - Only some top-level settings panels available User management - Primary user can add and remove users - User details screen to change name and list of enabled apps Change-Id: Ia6beb991b427197a4ec2724ca3c9222073f6cf7d
* Fix 6101396: Added password check when turning biometric weak liveliness offDanielle Millett2012-03-231-5/+34
| | | | | | | | | | Forcing the user to confirm their password when they turn liveliness off to prevent a someone else besides the owner from turning it off. Also renamed CONFIRM_EXISTING_FOR_BIOMETRIC_IMPROVE_REQUEST to CONFIRM_EXISTING_FOR_BIOMETRIC_WEAK_IMPROVE_REQUEST. Change-Id: I4244c9a16340839b7cb7b4a1f9ca395db0c30eee
* Added a liveliness check box preference for Face Unlock.Danielle Millett2012-03-211-0/+12
| | | | | | This will be used to enable or disable liveliness detection. Change-Id: I0be735724aed4cadbd5c37d895a7f80ad4f4ee09
* Fix 4560303: Add setting to lock later when power button pressedJim Miller2012-01-091-0/+11
| | | | | | | | This adds a feature to delay locking the device when the power button is pressed. This fixes a use case where the user wants to turn off the display (e.g. to save power) but doesn't want to lock the device. Change-Id: I711a81c3e79f7accdc1d9cb217b7806a0b8fcf63
* Don't enable SIM PIN Lock menu if SIM is not availableKazuhiro Ondo2011-12-201-0/+8
| | | | | Bug: 5774681 Change-Id: I1edd1447ff83ab8cf9e8a1eb8fbd85ef0becdce7
* Adding an improve face matching settings option for Face UnlockDanielle Millett2011-11-071-0/+22
| | | | | | | | | | | | | | | | | 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
* Fix 5428748: Added more options for biometric weakDanielle Millett2011-10-191-1/+11
| | | | | | | Adding make pattern visible (for pattern backup only) and vibrate on touch as options for when biometric weak is enabled. Change-Id: I6319f4f321779ebc6cf4acbfc0dd49b5014c0c88
* Reorganized the biometric weak check functionsDanielle Millett2011-09-301-1/+2
| | | | | | | | | | Moved isBiometricSensorAvailable functionality into isBiometricWeakInstalled (formerly called isBiometricEnabled). Settings now only shows biometric weak if it's installed, if it's not installed and the lock type is currently set to biometric weak, the backup lock is shown as being set instead. Change-Id: Icfe326a6598df33ee60d5fdc024273d94f115983
* Delete the temp gallery on return from fallbackSteven Ross2011-09-301-1/+0
| | | | Change-Id: Id501302aa8c5606006f3e403e51bb01981bc173e
* calling back SetupFaceLock to clean up temporary gallerySteven Ross2011-09-291-0/+1
| | | | | | | | | | 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
* Fix 5185505: Add weak biometric sensors to security choices.Jim Miller2011-09-081-0/+3
| | | | | | | | This adds a simple biometric sensor (face lock) to the security choices. Updated to disable biometric sensor by default. Change-Id: I088e5e99cf5f8c7a06a1a992a9257940eb2cc07f
* Allow SIM PIN on CDMA LTE devicesWink Saville2011-08-191-2/+4
| | | | | Bug: 5161360 Change-Id: I6f98da08e6be08403d9b3b08b02b02b9a63b14fe
* Fix lock screen timeout summary text on first use.Amith Yamasani2011-07-221-1/+1
| | | | | | | | | The lock screen timeout summary is inconsistent with the popup list when Security settings is launched for the first time. This fixes the inconsistency. Bug: 5064223 Change-Id: I8cbd7c06233faddd91ab29a1e046112a6f910935
* Refactoring in Settings/ApplicationsGilles Debunne2011-06-221-1/+55
| | | | | | | | | Battery, Development moved to main menu. Unknown sources moved to Security. Main menu links directly to ManageApplications. ApplicationSettings was kept in case an other app referenced it. Change-Id: I0271d4222cfc192f9235f21e06bf3b56f77db1a4
* Split Location and Security settings.Gilles Debunne2011-06-211-125/+4
| | | | | | Needs final icon for location. Change-Id: I8d826203c4d0ca4ae768f59ecdeae2700bad7c86
* Integrating keystore with keyguard (Part 4 of 4)Brian Carlstrom2011-06-011-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: frameworks/base keystore rewrite keyguard integration with keystore on keyguard entry or keyguard change KeyStore API simplification packages/apps/Settings Removed com.android.credentials.SET_PASSWORD intent support Added keyguard requirement for keystore use packages/apps/CertInstaller Tracking KeyStore API changes Fix for NPE in CertInstaller when certificate lacks basic constraints packages/apps/KeyChain Tracking KeyStore API changes Details: frameworks/base Move keystore from C to C++ while rewriting password implementation. Removed global variables. Added many comments. cmds/keystore/Android.mk cmds/keystore/keystore.h cmds/keystore/keystore.c => cmds/keystore/keystore.cpp cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp Changed saveLockPattern and saveLockPassword to notify the keystore on changes so that the keystore master key can be reencrypted when the keyguard changes. core/java/com/android/internal/widget/LockPatternUtils.java Changed unlock screens to pass values for keystore unlock or initialization policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java KeyStore API changes - renamed test() to state(), which now return a State enum - made APIs with byte[] key arguments private - added new KeyStore.isEmpty used to determine if a keyguard is required keystore/java/android/security/KeyStore.java In addition to tracking KeyStore API changes, added new testIsEmpty and improved some existing tests to validate expect values. keystore/tests/src/android/security/KeyStoreTest.java packages/apps/Settings Removing com.android.credentials.SET_PASSWORD intent with the removal of the ability to set an explicit keystore password now that the keyguard value is used. Changed to ensure keyguard is enabled for keystore install or unlock. Cleaned up interwoven dialog handing into discrete dialog helper classes. AndroidManifest.xml src/com/android/settings/CredentialStorage.java Remove layout for entering new password res/layout/credentials_dialog.xml Remove enable credentials checkbox res/xml/security_settings_misc.xml src/com/android/settings/SecuritySettings.java Added ability to specify minimum quality key to ChooseLockGeneric Activity. Used by CredentialStorage, but could also be used by CryptKeeperSettings. Changed ChooseLockGeneric to understand minimum quality for keystore in addition to DPM and device encryption. src/com/android/settings/ChooseLockGeneric.java Changed to use getActivePasswordQuality from getKeyguardStoredPasswordQuality based on experience in CredentialStorage. Removed bogus class javadoc. src/com/android/settings/CryptKeeperSettings.java Tracking KeyStore API changes src/com/android/settings/vpn/VpnSettings.java src/com/android/settings/wifi/WifiSettings.java Removing now unused string resources res/values-af/strings.xml res/values-am/strings.xml res/values-ar/strings.xml res/values-bg/strings.xml res/values-ca/strings.xml res/values-cs/strings.xml res/values-da/strings.xml res/values-de/strings.xml res/values-el/strings.xml res/values-en-rGB/strings.xml res/values-es-rUS/strings.xml res/values-es/strings.xml res/values-fa/strings.xml res/values-fi/strings.xml res/values-fr/strings.xml res/values-hr/strings.xml res/values-hu/strings.xml res/values-in/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-ja/strings.xml res/values-ko/strings.xml res/values-lt/strings.xml res/values-lv/strings.xml res/values-ms/strings.xml res/values-nb/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-pt-rPT/strings.xml res/values-pt/strings.xml res/values-rm/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-sk/strings.xml res/values-sl/strings.xml res/values-sr/strings.xml res/values-sv/strings.xml res/values-sw/strings.xml res/values-th/strings.xml res/values-tl/strings.xml res/values-tr/strings.xml res/values-uk/strings.xml res/values-vi/strings.xml res/values-zh-rCN/strings.xml res/values-zh-rTW/strings.xml res/values-zu/strings.xml res/values/strings.xml packages/apps/CertInstaller Tracking KeyStore API changes src/com/android/certinstaller/CertInstaller.java Fix for NPE in CertInstaller when certificate lacks basic constraints src/com/android/certinstaller/CredentialHelper.java packages/apps/KeyChain Tracking KeyStore API changes src/com/android/keychain/KeyChainActivity.java src/com/android/keychain/KeyChainService.java support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java tests/src/com/android/keychain/tests/KeyChainServiceTest.java Change-Id: I80533bf8986a92b0b99cd5fb1c4943e0f23fc1c8
* Remove / re-word some settings for WiFi-only devices.Amith Yamasani2011-02-241-0/+5
| | | | | | | | | | | Bug: 3468248 1. Remove Wireless->Mobile networks 2. Remove Wireless->Tethering and WiFi hotspot 3. Remove Wireless->Wi-Fi Settings->Wi-Fi disconnect policy 4. Re-word Network location summary text to not include "mobile network" Change-Id: I84a551a1b63591974731029b0d4b90a85e43a716
* Have SecuritySettings and SoundSettings use getCurrentPhoneTypeWink Saville2011-02-021-1/+2
| | | | | | | | To preserve proper behavior now that getPhoneType can return PHONE_TYPE_NONE use getCurrentPhoneType. bug: 3198435 Change-Id: I39d385b17d746f3c7cdbc3e1869efa5d4e89230c
* More work on the Crypt Keeper.Jason parks2011-01-271-7/+9
| | | | | | | | | | | | | | * Use the DPM to determine if we are encrypted. * Fix misspelling (Comfirm -> Confirm). * Animate to black when enabling encryption. * Add holo droid background. * Change the progress bar to indterminate. * Display the percentage complete in the status line. * Fixed bug 3388097. You will no longer have to unplug your device to start encryption. This line is intentionally long. I could make it shorter but I am proving a point: <magic>overflow: auto;</magic>. * Actually hold onto the wakelock to prvent the device from sleeping. * Implement onStop() as a orientation change can happen at boot. This will start the activity twice and there will be multiple handlers with messages. Change-Id: Ia752d106c39e0d81431e856f8f500182e8ec1abd
* Display the correct encryption settings.Jason parks2011-01-251-7/+14
| | | | | | | | | * You can no longer try to encrypt the device when it is encrypted. * Moved the encryption section below the lock screen section. It will be more common to change the lock screen settings. * If the device doesn't support encryption don't display the encryption section. Bug: 3384074 Change-Id: I172f5894a3cea57b1b8d03a84f1ecf0ee500c1f3
* Remove unused code.Jason parks2011-01-211-97/+0
| | | | Change-Id: If9fd0f0229721ec1cdce583e6d3180d691213f23
* Merge "Encrypt inplace settings." into honeycombJason parks2011-01-201-2/+0
|\
| * Encrypt inplace settings.Jason parks2011-01-181-2/+0
| | | | | | | | Change-Id: I5b9cb94c987dedecf3bf31cb67a42e2f24866d3b
* | Extract credential storage dialogs to a new activity.Chia-chi Yeh2011-01-201-404/+103
|/ | | | | | | | | | | | Since now SecuritySettings is a fragment, not an activity, reacting to intents is not easier anymore. The new activity is transparent, and it works just like a dialog. This change also refactor'ed SecuritySettings by moving some preference construction into security_settings_misc.xml. Bug: 3120992 Bug: 2117436 Change-Id: I8bd3fc7faa2a31d100b8d67310f9266260cfc31d
* Remove obsolete code from SecuritySettings.Chia-chi Yeh2011-01-181-124/+31
| | | | Change-Id: Ie1d7167ec8e748b86144e12bed72a3ca0dc99da1
* Add a setting to enable encryption.Jason parks2011-01-131-0/+96
| | | | | This isn't final and it will wipe your device. Change-Id: I7fecded92a745844435878d0409d620bfa571472
* Fix 3333490,3250193: Update LockScreen settingsJim Miller2011-01-101-0/+23
| | | | | | This updates LockScreen to conform to the latest UI design. Change-Id: Ie88a26db7912ddb4331804e347189cc084c481f4
* Fix 3148496: Initial pass at fragmentizing lockscreen settings.Jim Miller2010-12-081-2/+4
| | | | | | | | | | 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
* Fix 3201870: Move OwnerInfo settings to Location&Security.Jim Miller2010-11-301-13/+22
| | | | | | | | This moves OwnerInfo into Location&Security and adds the necessary logic to only show it in modes that make sense- Lock (when not disabled) and Unlock (pattern, pin, password). Change-Id: I3549dc4d956406aea3d63cd06d37bcea27a5b555
* Conditional remove "haptic" settings if there's no vibratorAmith Yamasani2010-11-171-0/+9
| | | | Bug: 3193801
* Add 'Use My Location for Google services'.Mathew Inwood2010-10-221-3/+31
| | | | | | | | | | | This interfaces to GSF to actually change the setting as Settings doesn't have the permissions to do it directly. When GSF is not present on the device, the setting will be hidden. Depending on change: Ib3809571fe22f40ba34468d39fedfff70f0742ef Bug: 3093036 Change-Id: I98596cce118f0fa5ebae45a7f8ab9c9f8a3bf2bc
* Use PreferenceActivity and FragmentBreadCrumbs as they offer the same ↵Amith Yamasani2010-09-211-1/+13
| | | | | | | capabilities now. Also fix: 2997438 and a similar bug in Tether Settings Show + menu item for User Dictionary
* Fix 2579224: Add a separate timeout for lockscreen vs displayJim Miller2010-09-011-4/+84
| | | | | | | This change adds a second timeout to the SecuritySettings page separate from the standard display timeout. Change-Id: I033a3578d876148bd723dee5d1a2531be5d6b51d
* Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-43/+50
| | | | | | | | | | | | | Added a base class SettingsPreferenceFragment from which the settings activities should be derived so that they can behave like fragments. It contains some commonly called utility methods and dialog conversion to DialogFragment. Some of the top-level activities can be launched directly without the left pane. Settings.java acts as a proxy activity that contains just that settings fragment without the left pane. There are still a lot of second and third level activities that need to be fragmentized. This is just the first pass to test the 2-pane layout.
* Fix build.Mike Dodd2010-07-261-0/+1
| | | | Change-Id: I9982c3b1a7f844af82513012a267f2efb14a5031
* am 885ac770: am 46c0a5b1: Merge "Remove unused imports in SecuritySettings.java"Jean-Baptiste Queru2010-07-261-5/+0
|\ | | | | | | | | | | | | Merge commit '885ac7701fc809276aed1be151b9ecd8bd0a1cd3' * commit '885ac7701fc809276aed1be151b9ecd8bd0a1cd3': Remove unused imports in SecuritySettings.java