Merge "Directly call from switch to work profile dialog" into tm-qpr-dev
This commit is contained in:
@@ -66,7 +66,7 @@ class SwitchToManagedProfileForCallActivity : AlertActivity(), DialogInterface.O
|
||||
private fun switchToManagedProfile() {
|
||||
try {
|
||||
applicationContext.startActivityAsUser(
|
||||
Intent(Intent.ACTION_DIAL, phoneNumber),
|
||||
Intent(Intent.ACTION_CALL, phoneNumber),
|
||||
ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle(),
|
||||
UserHandle.of(managedProfileUserId)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user