summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-11-17 12:32:55 -0800
committerYorke Lee <yorkelee@google.com>2014-11-17 12:40:27 -0800
commit4e97e09f0ae58f6065252022fe5cf5f7d90aef01 (patch)
treeb1c6d76aa2fa75bac03de0683b88af63a10af69a /src
parent0dffb21114a5025a5d484b389d0ba797d8639577 (diff)
Switch from CALL -> CALL_PRIVILEGED
Bug: 18332160 Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/util/DialerUtils.java3
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) {