History log of /packages/apps/Settings/src/com/android/settings/password/SetupChooseLockGeneric.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f897d79f698920f1c0e0c102a7985704ffa196e 03-Jun-2017 Maurice Lam <yukl@google.com> Allow skipping PIN setup screen

So that setup wizard can show PIN option by default.

Test: Added Robolectric and instrumentation tests
Bug: 38509560
Change-Id: Id72744dd444b9b026ca5f28f230bae3bec254b2f
/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockGeneric.java
edb39449842dd1360fa5f92c990785bf7c8dcdcd 28-Apr-2017 Maurice Lam <yukl@google.com> Default setup wizard to use PIN

- Added "Screen lock options" button in PIN screen, controlled by
extra EXTRA_SHOW_OPTIONS_BUTTON, which will create a dialog to ask
the user to choose another screen lock type.
- Extracted ScreenLockType enum and ChooseLockGenericController that
can be shared by ChooseLockGeneric and the dialog
ChooseLockTypeDialogFragment.
- The intent extra EXTRA_SHOW_OPTIONS_BUTTON will be set if
ChooseLockGeneric screen starts ChooseLockPassword /
ChooseLockPattern without asking the user. (Although the extra is
ignored by ChooseLockPattern currently)
- Fix layout alignment for the password entry field to remove the
extra 4dp padding on the sides.

Test: cd tests/robotests && mma
Bug: 35442933
Bug: 38002299
Change-Id: I877fbe08a0c05bb97175e1cbf0260ea6dbda22e2
/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockGeneric.java
2eb170cd6ff43db01dc0ff3c1fcac5ebba4489de 29-Apr-2017 Maurice Lam <yukl@google.com> Clean up choose lock intent creation

Consolidated the many variants of ChooseLock*.createIntent, so that
it will take the same set of arguments.

Also modified SetupChooseLock*.createIntent to modifyIntentForSetup,
which will take the intent created by ChooseLock* and modify it for
use with setup.

Test: cd tests/robotests && mma
Change-Id: I5ff033f459c33ec9980872a536b3996d89f2bbbb
/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockGeneric.java