Merge "getHandle -> getAddress (ConnectionRequest)." into lmp-dev
diff --git a/sip/src/com/android/services/telephony/sip/SipConnectionService.java b/sip/src/com/android/services/telephony/sip/SipConnectionService.java
index ffaf64d..b12709b 100644
--- a/sip/src/com/android/services/telephony/sip/SipConnectionService.java
+++ b/sip/src/com/android/services/telephony/sip/SipConnectionService.java
@@ -88,7 +88,7 @@
final SipConnection connection = new SipConnection();
- connection.setHandle(request.getHandle(), PropertyPresentation.ALLOWED);
+ connection.setHandle(request.getAddress(), PropertyPresentation.ALLOWED);
connection.setInitializing();
connection.onAddedToCallService();
boolean attemptCall = true;
@@ -265,7 +265,7 @@
private com.android.internal.telephony.Connection startCallWithPhone(
SipPhone phone, ConnectionRequest request) {
- String number = request.getHandle().getSchemeSpecificPart();
+ String number = request.getAddress().getSchemeSpecificPart();
if (VERBOSE) log("startCallWithPhone, number: " + number);
try {
diff --git a/src/com/android/services/telephony/TelephonyConnectionService.java b/src/com/android/services/telephony/TelephonyConnectionService.java
index 5d96665..29e78fa 100644
--- a/src/com/android/services/telephony/TelephonyConnectionService.java
+++ b/src/com/android/services/telephony/TelephonyConnectionService.java
@@ -65,7 +65,7 @@
final ConnectionRequest request) {
Log.i(this, "onCreateOutgoingConnection, request: " + request);
- Uri handle = request.getHandle();
+ Uri handle = request.getAddress();
if (handle == null) {
Log.d(this, "onCreateOutgoingConnection, handle is null");
return Connection.createFailedConnection(DisconnectCause.NO_PHONE_NUMBER_SUPPLIED,