Update FaceSettings to match mocks

Settings page should not show if device credential is not confirmed

Bug: 111548037
Fixes: 116531896

Test: adb shell settings get secure face_unlock_app_enabled
Test: make -j56 RunSettingsRoboTests

Change-Id: I651ee88e9ee4017ee3dc52fa8a5d05cb8f092e1d
This commit is contained in:
Kevin Chyn
2018-09-25 12:08:21 -07:00
parent 60118d0618
commit a8843f2959
10 changed files with 244 additions and 55 deletions

View File

@@ -104,7 +104,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
if (mFaceManager == null) {
return 0;
}
return mFaceManager.preEnroll();
return mFaceManager.generateChallenge();
}
@Override