API changes in GatewayInfo, Response, and PropertyPresentation (3/4)
* GatewayInfo: handle -> address, becomes SystemApi
* Response: hidden
* PropertyPresentation: class goes away, constants move to
TelecommManager
Bug: 17329632
Change-Id: Ib7a1dbd4f924c3eeaa91a9a8e1fe1748bb807922
diff --git a/sip/src/com/android/services/telephony/sip/SipConnectionService.java b/sip/src/com/android/services/telephony/sip/SipConnectionService.java
index b12709b..8956454 100644
--- a/sip/src/com/android/services/telephony/sip/SipConnectionService.java
+++ b/sip/src/com/android/services/telephony/sip/SipConnectionService.java
@@ -32,7 +32,7 @@
import android.telecomm.ConnectionRequest;
import android.telecomm.ConnectionService;
import android.telecomm.PhoneAccountHandle;
-import android.telecomm.PropertyPresentation;
+import android.telecomm.TelecommManager;
import android.telephony.DisconnectCause;
import android.util.Log;
@@ -88,7 +88,7 @@
final SipConnection connection = new SipConnection();
- connection.setHandle(request.getAddress(), PropertyPresentation.ALLOWED);
+ connection.setHandle(request.getAddress(), TelecommManager.PRESENTATION_ALLOWED);
connection.setInitializing();
connection.onAddedToCallService();
boolean attemptCall = true;