diff options
author | Brad Ebinger <breadley@google.com> | 2016-06-20 11:35:42 -0700 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2016-07-08 11:31:45 -0700 |
commit | 6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21 (patch) | |
tree | 9e9254997b75ed21c1ea77a1bd36da26fdf36585 /src/com/android/server/telecom/CallIntentProcessor.java | |
parent | 4c9140c887a61646e5a024fddfc5d205d09c7e1f (diff) | |
download | android_packages_services_Telecomm-6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21.tar.gz android_packages_services_Telecomm-6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21.tar.bz2 android_packages_services_Telecomm-6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21.zip |
Rename Telecom Call Ids to include attempt
Telecom Call Ids will now append an attempt id (in the form of an
integer) that will be used by the CreateConnetionProcessor to name the
Telecom Call Ids that are used during the creation of a Connection to
the ConnectionService. This allows us to better identify which
Connection is calling back to Telecom to update status, disconnect,
etc. Previously, all of the attempted Connections in
CreateConnectionProcessor would be given the same name, which could lead
to multiple Connections trying to manage the same Call object in
Telecom.
Also, a supporting tests were added and a few Unit Tests were fixed.
Bug: 28799824
Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
Diffstat (limited to 'src/com/android/server/telecom/CallIntentProcessor.java')
-rw-r--r-- | src/com/android/server/telecom/CallIntentProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/server/telecom/CallIntentProcessor.java b/src/com/android/server/telecom/CallIntentProcessor.java index ffa76cee..12192169 100644 --- a/src/com/android/server/telecom/CallIntentProcessor.java +++ b/src/com/android/server/telecom/CallIntentProcessor.java @@ -148,7 +148,7 @@ 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, new PhoneNumberUtilsAdapterImpl(), + context, callsManager, call, intent, callsManager.getPhoneNumberUtilsAdapter(), isPrivilegedDialer); final int result = broadcaster.processIntent(); final boolean success = result == DisconnectCause.NOT_DISCONNECTED; |