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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user