Merge "Launch ConfirmDeviceCredentials on a new task stack"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f7c5693f7d
@@ -628,6 +628,9 @@ public class BiometricService extends SystemService {
|
||||
null /* description */);
|
||||
// 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.
|
||||
intent.setFlags(
|
||||
Intent.FLAG_ACTIVITY_MULTIPLE_TASK | Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
|
||||
getContext().startActivityAsUser(intent, UserHandle.CURRENT);
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user