Add telecomm registration support to SIP.
Changes in CL:
1. Add SipAccountRegistry to manage telecom registrations
2. Register all accounts on ACTION_SIP_SERVICE_UP
3. Register specific account on ACTION_SIP_ADD_PHONE
4. Unregister specific account on ACTION_SIP_REMOVE_PHONE
5. Set the unique SIP uri as the PhoneAccount ID
6. Read phone account handle for outgoing calls instead of showing
a proprietary SIP chooser dialog, which I removed (see
SipProfileChooser.java).
7. Moved some of the error condition codes and error dialogs from
SipProfileChooser to SipConnectionService.
8. Set Phone account handle as extra on the incoming-call intent
9. Remove build files for SIP directory since it is already built into
TeleService.apk
Bug: 16836473
Bug: 16042786
Change-Id: I62d740c13ce61f181db295b9415c96ceef909177
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b948958..66821ee 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -486,8 +486,10 @@
</service>
<receiver android:name="com.android.services.telephony.sip.SipBroadcastReceiver">
<intent-filter>
- <action android:name="com.android.phone.SIP_INCOMING_CALL" />
<action android:name="android.net.sip.SIP_SERVICE_UP" />
+ <action android:name="com.android.phone.SIP_INCOMING_CALL" />
+ <action android:name="com.android.phone.SIP_ADD_PHONE" />
+ <action android:name="com.android.phone.SIP_REMOVE_PHONE" />
</intent-filter>
</receiver>