Added different flow for re-enrollment

In order to enable this new flow, a user must currently have an enrolled
face and the security setting face_unlock_re_enroll must be non-zero.

Ex.
1. Enroll Face.
2. adb shell settings put
(secure face_unlock_re_enroll|secure_face_unlock_must_re_enroll) 1
3. If settings is opened, close it.
4. Open settings
5. Verify the new flow appears.

Bug: 141380252
Bug: 141254937
Test: Verified that the user's face is deleted after clicking delete.
Test: Verified that the user can re-enroll after removing their face.
Change-Id: I2b36a0bda5cb10fb33dfb2a5627d8fa40f14fb7e
This commit is contained in:
joshmccloskey
2019-09-19 11:23:29 -07:00
committed by Joshua Mccloskey
parent af1e831ab7
commit bba7632f28
5 changed files with 250 additions and 21 deletions

View File

@@ -3234,6 +3234,9 @@
<activity android:name=".homepage.contextualcards.ContextualCardFeedbackDialog"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" />
<activity android:name=".homepage.contextualcards.FaceReEnrollDialog"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" />
<activity
android:name="Settings$WifiCallingDisclaimerActivity"
android:label="@string/wifi_calling_settings_title"