summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ayush Sharma <ayushsha@google.com> 2023-03-02 11:46:17 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-03-02 11:46:17 +0000
commit216d4a7735d5b515bd5df4bc71b93fac3b00728b (patch)
treedd78777b9b62266c882bbdf0bb69b617f9e86b83
parente7da4e16a2de372a3fe7a715ab6629745559414e (diff)
parentfddff6162e135daf9f2514e3115dff23f981e181 (diff)
Merge "Directly call from switch to work profile dialog" into tm-qpr-dev am: 1112655d12 am: fddff6162e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21521189 Change-Id: Id175c1062b5938b13123aaf8e3bd8896e1b5b0cd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--packages/SystemUI/src/com/android/systemui/telephony/ui/activity/SwitchToManagedProfileForCallActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/SwitchToManagedProfileForCallActivity.kt b/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/SwitchToManagedProfileForCallActivity.kt
index e092f01d19f6..8e2b05cd9526 100644
--- a/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/SwitchToManagedProfileForCallActivity.kt
+++ b/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/SwitchToManagedProfileForCallActivity.kt
@@ -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)
)