diff options
author | Yorke Lee <yorkelee@google.com> | 2014-11-17 22:28:08 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-17 22:28:08 +0000 |
commit | 59edcfbc09e00712cf0da3692e93497c99c8dbbc (patch) | |
tree | a101e678a9b81628c4ff4bf1335942256f8c7b58 /src | |
parent | 8c258ac5eee9d1e0c3f8a4d895dda84a2c9ac71a (diff) | |
parent | 4e97e09f0ae58f6065252022fe5cf5f7d90aef01 (diff) |
am 4e97e09f: Switch from CALL -> CALL_PRIVILEGED
* commit '4e97e09f0ae58f6065252022fe5cf5f7d90aef01':
Switch from CALL -> CALL_PRIVILEGED
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/util/DialerUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/util/DialerUtils.java b/src/com/android/dialer/util/DialerUtils.java index 9cd4d9936..a747c74aa 100644 --- a/src/com/android/dialer/util/DialerUtils.java +++ b/src/com/android/dialer/util/DialerUtils.java @@ -71,7 +71,8 @@ public class DialerUtils { */ public static void startActivityWithErrorToast(Context context, Intent intent, int msgId) { try { - if (Intent.ACTION_CALL.equals(intent.getAction())) { + if (Intent.ACTION_CALL.equals(intent.getAction()) + || Intent.ACTION_CALL_PRIVILEGED.equals(intent.getAction())) { // All dialer-initiated calls should pass the touch point to the InCallUI Point touchPoint = TouchPointManager.getInstance().getPoint(); if (touchPoint.x != 0 || touchPoint.y != 0) { |