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

Commit e769407d authored by Hao Dong's avatar Hao Dong Committed by mse1969
Browse files

Set class name when createConfirmDeviceCredentialIntent() API is used.

Flag: EXEMPT bugfix
Bug: 339532378
Test: manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c608755d7606a6d301bf209e017289ffcbe76176)
Merged-In: I762f280def79d428ed9cf119ace5ccc2b6be2560
Change-Id: I762f280def79d428ed9cf119ace5ccc2b6be2560
parent 216b5421
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -149,7 +149,8 @@ public class BiometricFragment extends InstrumentedFragment {
                        BiometricPrompt.KEY_REQUIRE_CONFIRMATION, true))
                .setDisallowBiometricsIfPolicyExists(mBundle.getBoolean(
                        BiometricPrompt.EXTRA_DISALLOW_BIOMETRICS_IF_POLICY_EXISTS, false))
                .setReceiveSystemEvents(true);
                .setReceiveSystemEvents(true)
                .setClassNameIfItIsConfirmDeviceCredentialActivity();

        mBiometricPrompt = builder.build();
        mCancellationSignal = new CancellationSignal();