summaryrefslogtreecommitdiffstats
path: root/src/com/android/server/telecom/CallIntentProcessor.java
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2015-12-11 11:33:08 -0800
committerHall Liu <hallliu@google.com>2015-12-14 13:12:34 -0800
commit220b419bb5d1b4d1df08415c8e52cb7f0decbf7c (patch)
tree937e4b46aaf8c43b4599de002d764a261009fdb2 /src/com/android/server/telecom/CallIntentProcessor.java
parentecda55454f4993003e71e09a63d20f94a216cc47 (diff)
downloadandroid_packages_services_Telecomm-220b419bb5d1b4d1df08415c8e52cb7f0decbf7c.tar.gz
android_packages_services_Telecomm-220b419bb5d1b4d1df08415c8e52cb7f0decbf7c.tar.bz2
android_packages_services_Telecomm-220b419bb5d1b4d1df08415c8e52cb7f0decbf7c.zip
Add tests for NewOutgoingCallIntentBroadcaster
Change-Id: I5dd8ee49e0afc3ab714439ae1ca7f4ce54a26072
Diffstat (limited to 'src/com/android/server/telecom/CallIntentProcessor.java')
-rw-r--r--src/com/android/server/telecom/CallIntentProcessor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/server/telecom/CallIntentProcessor.java b/src/com/android/server/telecom/CallIntentProcessor.java
index 831b7081..9150084e 100644
--- a/src/com/android/server/telecom/CallIntentProcessor.java
+++ b/src/com/android/server/telecom/CallIntentProcessor.java
@@ -139,7 +139,8 @@ public class CallIntentProcessor {
// process will be running throughout the duration of the phone call and should never
// be killed.
NewOutgoingCallIntentBroadcaster broadcaster = new NewOutgoingCallIntentBroadcaster(
- context, callsManager, call, intent, isPrivilegedDialer);
+ context, callsManager, call, intent, new PhoneNumberUtilsAdapterImpl(),
+ isPrivilegedDialer);
final int result = broadcaster.processIntent();
final boolean success = result == DisconnectCause.NOT_DISCONNECTED;