OSDN Git Service

Fix phishing attack in ChooseLockGeneric
authorSteven Ng <stevenckng@google.com>
Wed, 17 May 2017 17:21:44 +0000 (18:21 +0100)
committerSteven Ng <stevenckng@google.com>
Wed, 17 May 2017 17:37:01 +0000 (18:37 +0100)
commit56870f438cc235fa2b88a69f2bfabd6de820c4b0
tree6dab200d45f5ecd5e521e6abff1ae0a32907e9cd
parent8f58e8b6e9ad834e2b6d688f367784f69e478a86
parenta2af16bb34d5b6ce5054a12051feb187f397a253
Fix phishing attack in ChooseLockGeneric

Cherry-pick of 436256c36d69549c77320d073bef27649c1b1d6e

Test: 1) make and run SettingsTests. It passes.
      2) Manual test 1
         a) On a device supports fingerprint, set a password but not fingerprint.
         b) adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
         c) Confirm Lock password screen is shown
         d) Select "Skip fingerprint". There isn't a second lock password confirmation screen.
         e) A new password can be set successfully.
      3) Manual test 2
         a) Repeat step 2)a) - 2)c)
         b) Select "Fingerprint + PIN". There isn't a second lock password confirmation screen.
         c) A new password and fingerprint can be enrolled successfully.

Bug: 33059280
Change-Id: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
Merged-In: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
tests/app/Android.mk