summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-11-17 22:28:09 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-17 22:28:09 +0000
commite94ad7cc098ed77f4a69130a0393abdad835c9b9 (patch)
treecd4871515b6f0025607466cd08e7db4ae2b6c2cf
parent09a7eef144aaefa40751bf033eebe33a088bb7d6 (diff)
parentfaed337493039d8b149aace3816000cd396c99fe (diff)
downloadandroid_packages_apps_ContactsCommon-e94ad7cc098ed77f4a69130a0393abdad835c9b9.tar.gz
android_packages_apps_ContactsCommon-e94ad7cc098ed77f4a69130a0393abdad835c9b9.tar.bz2
android_packages_apps_ContactsCommon-e94ad7cc098ed77f4a69130a0393abdad835c9b9.zip
am faed3374: Switch from CALL -> CALL_PRIVILEGED
* commit 'faed337493039d8b149aace3816000cd396c99fe': Switch from CALL -> CALL_PRIVILEGED
-rw-r--r--src/com/android/contacts/common/CallUtil.java2
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 e7e09b7b..3a932abe 100644
--- a/src/com/android/contacts/common/CallUtil.java
+++ b/src/com/android/contacts/common/CallUtil.java
@@ -129,7 +129,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);