Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07b384fe authored by Jigar Thakkar's avatar Jigar Thakkar Committed by Android (Google) Code Review
Browse files

Merge "Use allowPrivateProfile to guard BiometricFragment changes" into main

parents 660defe7 eb612580
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -143,7 +143,8 @@ public class BiometricFragment extends InstrumentedFragment {
                .setShowEmergencyCallButton(promptInfo.isShowEmergencyCallButton())
                .setReceiveSystemEvents(true);

        if (Flags.enableBiometricsToUnlockPrivateSpace()) {
        if (android.os.Flags.allowPrivateProfile() && Flags.enablePrivateSpaceFeatures()
                && Flags.enableBiometricsToUnlockPrivateSpace()) {
            promptBuilder = promptBuilder.setAllowBackgroundAuthentication(true /* allow */,
                    promptInfo.shouldUseParentProfileForDeviceCredential());
        } else {