summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-07-18 09:08:42 -0700
committerYorke Lee <yorkelee@google.com>2014-07-25 18:17:29 -0700
commit11a6e970b215cd289b964c4c39db85906501a6c9 (patch)
tree5a61f81bd9b2ca2076b866d0813e867a7c3c8c8d
parentaca06cea1f922fb2e670b694a550e47eee70243d (diff)
downloadandroid_packages_apps_ContactsCommon-11a6e970b215cd289b964c4c39db85906501a6c9.tar.gz
android_packages_apps_ContactsCommon-11a6e970b215cd289b964c4c39db85906501a6c9.tar.bz2
android_packages_apps_ContactsCommon-11a6e970b215cd289b964c4c39db85906501a6c9.zip
Switch from ACTION_CALL_PRIVILEGED TO ACTION_CALL (5/5)
Bug: 6948882 Change-Id: I1f90c9f3f33d875482958d5f565629160ce2177e
-rw-r--r--src/com/android/contacts/common/CallUtil.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/contacts/common/CallUtil.java b/src/com/android/contacts/common/CallUtil.java
index f8a56aea..bc25ec55 100644
--- a/src/com/android/contacts/common/CallUtil.java
+++ b/src/com/android/contacts/common/CallUtil.java
@@ -126,8 +126,7 @@ public class CallUtil {
*/
public static Intent getCallIntent(
Uri uri, String callOrigin, PhoneAccountHandle accountHandle, int videoState) {
- final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri);
- intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ final Intent intent = new Intent(Intent.ACTION_CALL, uri);
intent.putExtra(TelecommManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState);
if (callOrigin != null) {
intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin);