Return enrollment consent status to caller.
Bug: 188847063 Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ez require_consent true Change-Id: I3285b379e175539c37355c67749c3d900e6ac62b
This commit is contained in:
@@ -46,6 +46,7 @@ public class ParentalConsentHelper {
|
||||
|
||||
private static final String KEY_FACE_CONSENT = "face";
|
||||
private static final String KEY_FINGERPRINT_CONSENT = "fingerprint";
|
||||
private static final String KEY_IRIS_CONSENT = "iris";
|
||||
|
||||
private final boolean mRequireFace;
|
||||
private final boolean mRequireFingerprint;
|
||||
@@ -153,6 +154,7 @@ public class ParentalConsentHelper {
|
||||
result.putBoolean(KEY_FACE_CONSENT, mConsentFace != null ? mConsentFace : false);
|
||||
result.putBoolean(KEY_FINGERPRINT_CONSENT,
|
||||
mConsentFingerprint != null ? mConsentFingerprint : false);
|
||||
result.putBoolean(KEY_IRIS_CONSENT, false);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user