Merge "Directly call from switch to work profile dialog" into tm-qpr-dev am: 1112655d12 am: fddff6162e am: 216d4a7735

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21521189

Change-Id: I5db39f0704c6156b4e2676845fffe546c4bcbea4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ayush Sharma
2023-03-02 12:22:13 +00:00
committed by Automerger Merge Worker

View File

@@ -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)
)