Remove private space biometrics on switching to device lock

Bug: 320685466
Test: Verified manually
Change-Id: I5fe850ada9ae53bb1a00ed171beb6f8e099fbc0d
This commit is contained in:
josephpv
2024-01-22 16:21:58 +00:00
parent a05b33b661
commit ec273aca12
4 changed files with 67 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ public class PrivateSpaceFacePreferenceController extends BiometricFaceStatusPre
super.updateState(preference);
preference.setEnabled(true);
} else {
Utils.removeEnrolledFaceForUser(mContext, getUserId());
preference.setSummary(
mContext.getString(R.string.lock_settings_profile_unified_summary));
preference.setEnabled(false);