summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/SetupChooseLockGeneric.java
Commit message (Collapse)AuthorAgeFilesLines
* [Fingerprint] Add fingerprint enroll in setup wizardMaurice Lam2015-07-151-10/+0
| | | | | | | | | | | | Make a subclass for each enrolling screen that setup wizard uses, and in override the corresponding get*Intent methods to always use the setup wizard versions of the next screens. On minor change made to the original flow is that it will now return RESULT_OK if it is finished, as opposed to RESULT_CANCELED. Bug: 21695577 Change-Id: Id666826e8027272ede6a5426967d66fb291670a4
* [Settings] Pass lock type extra back to SUWLucky Zhang2015-06-101-0/+13
| | | | | | | | | | When SetupChooseLockGeneric finishes, it will include the lock type (password quality) as an extra in the returned intent data. This extra will be used by Setup Wizard to determine the lock type and log it for the metrics. Bug: 20349248 Change-Id: I501e07254ab857ad4f137e7050326415853883d1
* [Setup] Use SetupWizardLayoutMaurice Lam2015-04-211-30/+29
| | | | | | | | | Use SetupWizardLayout for the screens that show in Settings to get better visual consistency and new features like showing a progress bar in list view. Bug: 19594252 Change-Id: I53ab17a4c2d922a362e3762f1cdccb512f7d8f6e
* Merge "Use SetupWizardLib helpers"Maurice Lam2015-04-181-1/+1
|\
| * Use SetupWizardLib helpersMaurice Lam2015-04-171-1/+1
| | | | | | | | | | | | | | | | Use SystemBarHelper, WizardManagerHelper and themes from Setup Wizard Library. Bug: 19594252 Change-Id: I60b6ab4f086a170ac270fb08325fc42010293523
* | [LockScreenSetup] Start SUW-style screens in setup flowMaurice Lam2015-04-161-8/+45
|/ | | | | | | | | 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
* Add support for material_blue themeMaurice Lam2015-04-081-1/+1
| | | | | | | | | | Add support for material_blue theme, which setup wizard is going to use for M. This changes SetupWizardUtils.getTheme to always return either SetupWizardTheme or SetupWizardTheme_Light, and added the theme value "material" blue. Bug: 19729981 Change-Id: I63678312af4942be358b92a58b1c84f89aaaa6c1
* [Fingerprint] Add fingerprint text in setup flowMaurice Lam2015-04-061-0/+8
| | | | | | | | | When running in Setup Wizard, the screen to choose screen lock will have an additional footer, telling the user that they can configure fingerprint in Settings after completing the setup flow. Bug: 19690335 Change-Id: Ie6268fb8738e6bbac8751d12b05c82092fe6193b
* Settings: Remove all unused imports.John Spurlock2015-03-181-1/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Add flag to hide disabled keyguard options.Jim Miller2015-03-121-1/+1
| | | | | | | | | | | | Normally keyguard options are disabled by things like credential storage and device admins, so we show the reason in ChooseLockGeneric. However, in the case of fingerprint we want to limit the scope to just those options that have security (pin,password,pattern). Bug 19592835 Change-Id: I6832ff692bad538adeec2f2575fca4f8f04f40cf
* Setup lock screen go back one screen at a timeMaurice Lam2015-02-121-0/+9
| | | | | | | | SetupChooseLockGeneric no longer finishes itself when it receives a RESULT_CANCELED result from an activity it started. Bug: 18631770 Change-Id: I892b76847904225fe607b9406d6e76f932daa062
* Purge biometric weak from internal codeAdrian Roos2015-01-071-9/+6
| | | | | Bug: 18931518 Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
* [FRP] Remove None and Swipe from screen lock optionsLucky Zhang2014-12-051-0/+23
| | | | | | | | | | | | | | Removed "None" and "Swipe" from screen lock options in the choosing lock screen during setup wizard, because at this step, the user has already chosen to pick a screen lock, hence it's unnecessory to show "none" and "swipe". Implemented this by overriding the DisableUnusablePreferences in SetupChooseLockGenericFragment to disable the insecure lock methods and adding a flag to hide disabled methods for setup wizard. Bug: 18631416 Change-Id: I3feccf591da25bd6eadcc03c75b28cfc1d069db7
* [FRP] Add illustration to lock screen setupMaurice Lam2014-12-031-0/+2
| | | | | | | | | Added the illustration JPG files, and added SetupWizardUtils.setIllustration method that will change the illustrations in the layout. Bug: 18482708 Change-Id: I8c6758113f07cd33f85eaf6bc019e8194d9a17ce
* [FRP] Theme interstitials for lock screen setupMaurice Lam2014-12-011-0/+16
| | | | | | | | | 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
* [FRP] Theming for Pattern and Password screensMaurice Lam2014-12-011-1/+21
| | | | | | | | | | | | 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
* [Setup] Theme ChooseLockGeneric for setup wizardMaurice Lam2014-11-251-0/+85
This is step one of theming the set-up lock screen flow to match the setup wizard theme. This shows the general approach of creating a subclass of both the activity and fragment and overriding methods to achieve the desired behavior for setup. ag/594000 is a much more comprehensive change for what the final change will look like. Bug: 18482708 Change-Id: Idff34937f39f46a0c488df2cae4c46155b80cab7