Fixed unicorn multi-enrollment flow.
Test: Verified that Unicorn SUW flows can now enroll a face. Test: Verified normal SUW flow works as expected. Fixes: 237088482 Fixes: 234663447 Change-Id: I9c4100f61b5e7d40fc9ed67c6918ec7bf31fc30a
This commit is contained in:
@@ -139,12 +139,12 @@ public class ParentalConsentHelper {
|
||||
|
||||
@Nullable
|
||||
private Intent getNextConsentIntent(@NonNull Context context) {
|
||||
if (mRequireFace && mConsentFace == null) {
|
||||
return new Intent(context, FaceEnrollParentalConsent.class);
|
||||
}
|
||||
if (mRequireFingerprint && mConsentFingerprint == null) {
|
||||
return new Intent(context, FingerprintEnrollParentalConsent.class);
|
||||
}
|
||||
if (mRequireFace && mConsentFace == null) {
|
||||
return new Intent(context, FaceEnrollParentalConsent.class);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user