History log of /packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
40e187b3641ac3084c706b10d2213b91a53da5d1 11-Oct-2017 Pavel Grafov <pgrafov@google.com> Preserve old password when handling SET_NEW_PASSWORD.

Currently the only way mUserPassword can be set is when it comes
from onActivityResult. This way when the user chooses "Continue
without Pixel Imprint", and we switch ChooseLockGeneric->InternalActivity,
mUserPassword becomes null (it is not preserved in intent extras).
And then this null is used in getLockPasswordIntent which causes the issue.

Another issues is that when the user chooses to use fingerprint,
mHasChallenge is set to true and password is not forwarded to
ChooseLock(Password|Pattern). I changed the intent builders so that both
old password and challenge can be sent at the same time, so the password
is not lost when fingerprint is set.

Bug: 67672081
Test: cd packages/apps/Settings/tests/robotests/ && mma
Test: manual, adb shell am start -a android.app.action.SET_NEW_PASSWORD,
tried setting pin/password with and without fingerprint.
Test: manual, tried to change lock via Settings -> Security&Location
Test: manual, set pin + fingerprint in Setup Wizard, FBE and FDE devices
Test: manual, set pin + added account, used pin to unlock FRP in SUW
Change-Id: I38d56d84f95c63fef24c2aa1a031d629f22756a1
/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java
7af28ecb66b6507803244bd7584b45415044ac70 22-Jul-2017 Ajay Nadathur <ajayns@google.com> Use fingerprint icons during setupwizard flow

Use fingerprint icon when lock screens are loaded on
fingerprint setup's behalf.

bug: 63809908
Test: Manually tested and verified. Also added robolectric tests
Change-Id: I773a1eec2466e7ab626cc3330f5ce987a21b048f
/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java
9990f397220703f4d2c922560a8e29e60bcce39f 29-Jun-2017 Maurice Lam <yukl@google.com> Read theme for lock screen flows

Move the applyThemeResource calls up from the setup wizard specific
subclasses up to the settings classes so that it will get GLIF v2
theme on devices that request it.

Test: Manual
Bug: 62906814
Change-Id: I6ff4ff8d9ed3e6090b35b4ae7197e5d01f5a61f8
/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java
c57b19d80c100bb4a19bb2d4b8589bc12cbfd66e 24-Jun-2017 Maurice Lam <yukl@google.com> Rename buttons in lock screen setup

- "Continue" in choose lock flows are renamed to "Next"
- "Done" in fingerprint enroll finish screen is renamed to "Next"
during setup flow.

Test: Manual
Bug: 62839648
Change-Id: I3ea77b759b654d7c1da1f7b545781c9dfd74caa3
/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java
b49526ee282f13a83ee38358473fcb628b5727a5 01-Jun-2017 Maurice Lam <yukl@google.com> Show fingerprint text in backup screen lock

When setting up fingerprint's backup screen lock, show a different
header text that says
"To use fingerprint, set {PIN/pattern/password}" instead of
"Choose your {PIN/pattern/password}".

Test: Manual. Existing tests pass
Bug: 62187833
Change-Id: If1084e64b99291a0eda63c174793b5a091ab4bae
/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.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/ChooseLockPattern.java