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

Commit b1373302 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Launch ConfirmDeviceCredential with actual userId

Fixes: 129905318
Bug: 110907543

Test: Set up work profile, use BiometricPromptDemo to allow device
      credentials. Work profile demo app now requests work profile
      password.

Change-Id: Iec53966c6ad87021fdaa1808a1814a4abfbf89bb
parent 2170ab7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -629,7 +629,7 @@ public class BiometricService extends SystemService {
                    mConfirmDeviceCredentialReceiver = receiver;
                    // Use this so we don't need to duplicate logic..
                    final Intent intent = kgm.createConfirmDeviceCredentialIntent(null /* title */,
                            null /* description */);
                            null /* description */, userId);
                    // Then give it the bundle to do magic behavior..
                    intent.putExtra(KeyguardManager.EXTRA_BIOMETRIC_PROMPT_BUNDLE, bundle);
                    // Create a new task with this activity located at the root.