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:
Mill Chen
2021-04-09 23:14:27 +08:00
parent ea2a359561
commit 7edebeef7e
26 changed files with 817 additions and 4 deletions

View File

@@ -70,7 +70,8 @@ public class FaceSettingsKeyguardPreferenceController extends FaceSettingsPrefer
@Override
public int getAvailabilityStatus() {
return AVAILABLE;
// When the device supports multiple biometrics auth, this preference will be unavailable.
return Utils.isMultipleBiometricsSupported(mContext) ? UNSUPPORTED_ON_DEVICE : AVAILABLE;
}
@Override