diff options
author | Yorke Lee <yorkelee@google.com> | 2014-11-17 12:40:05 -0800 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2014-11-18 10:44:33 -0800 |
commit | 2523f0e8362cd68e489d60428ac8c64556c789b5 (patch) | |
tree | d08cdf9678c979f636e0a0715040d771499e81cd | |
parent | cd0bc56a6acf5a73c777503caa688d1db4fcae08 (diff) | |
download | android_packages_apps_ContactsCommon-2523f0e8362cd68e489d60428ac8c64556c789b5.tar.gz android_packages_apps_ContactsCommon-2523f0e8362cd68e489d60428ac8c64556c789b5.tar.bz2 android_packages_apps_ContactsCommon-2523f0e8362cd68e489d60428ac8c64556c789b5.zip |
Switch from CALL -> CALL_PRIVILEGED
Bug: 18332160
Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
-rw-r--r-- | src/com/android/contacts/common/CallUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/CallUtil.java b/src/com/android/contacts/common/CallUtil.java index ea0299c7..32bd9e12 100644 --- a/src/com/android/contacts/common/CallUtil.java +++ b/src/com/android/contacts/common/CallUtil.java @@ -122,7 +122,7 @@ public class CallUtil { */ public static Intent getCallIntent( Uri uri, String callOrigin, PhoneAccountHandle accountHandle, int videoState) { - final Intent intent = new Intent(Intent.ACTION_CALL, uri); + final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri); intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); if (callOrigin != null) { intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin); |