Combined biometric settings implementation
There will be multiple biometrics authentications existing at the same time, so we added a new page for multiple biometrics to control biometrics settings. Bug: 183449119 Test: manual test Change-Id: I359082caf771e07dfd5b24973cb8a3cf372c1b30
This commit is contained in:
@@ -841,6 +841,13 @@ public final class Utils extends com.android.settingslib.Utils {
|
||||
return faceManager != null && faceManager.isHardwareDetected();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if the device supports multiple biometrics authentications.
|
||||
*/
|
||||
public static boolean isMultipleBiometricsSupported(Context context) {
|
||||
return hasFingerprintHardware(context) && hasFaceHardware(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* Launches an intent which may optionally have a user id defined.
|
||||
* @param fragment Fragment to use to launch the activity.
|
||||
|
||||
Reference in New Issue
Block a user