Rename CallServiceWrapper to ConnectionServiceWrapper
Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
diff --git a/src/com/android/telecomm/PhoneStateBroadcaster.java b/src/com/android/telecomm/PhoneStateBroadcaster.java
index d6f1a38..4dee4bb 100644
--- a/src/com/android/telecomm/PhoneStateBroadcaster.java
+++ b/src/com/android/telecomm/PhoneStateBroadcaster.java
@@ -18,8 +18,8 @@
import android.Manifest;
import android.content.Intent;
-import android.telecomm.CallService;
import android.telecomm.CallState;
+import android.telecomm.ConnectionService;
import android.telecomm.TelecommConstants;
import android.telephony.DisconnectCause;
import android.telephony.TelephonyManager;
@@ -68,9 +68,11 @@
}
// TODO: Replace these with real constants once this API has been vetted.
- CallServiceWrapper callService = call.getCallService();
- if (callService != null) {
- intent.putExtra(CallService.class.getName(), callService.getComponentName());
+ ConnectionServiceWrapper connectionService = call.getConnectionService();
+ if (connectionService != null) {
+ intent.putExtra(
+ TelecommConstants.EXTRA_CONNECTION_SERVICE,
+ connectionService.getComponentName());
}
// TODO: Replace these with real constants once this API has been vetted.