History log of /packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d37f5279f2896d16ec3d4e10ec4dcba63e86c3c 24-Sep-2014 Andrew Lee <anwlee@google.com> Move SIP settings to phone account settings.

+ Moved "SIP accounts" and "Receive incoming calls" settings from
the SIP settings creen to the Phone account settings screen.
+ To facilitate this, I moved some helper functions which used to
be in SipSettings to SipUtil. Their logical innards are for the
most part unchanged.
- Removed "SIP settings" preference screen added in call settings.
- Removed "Receive incoming calls" from SipSettings activity.
- Deleted unused SIP settings layout.
+ Changed back button behavior in SIP settings activity so that
back takes it to phone account settings, rather than call feature
settings.
+ Made some necessary classes/functions in sip/ public. Ihab said
that these were this way because of some refactoring at some point,
and it should be fine to make them public to achieve the necessary
class accessibility to facilitate this CL.

Bug: 17487262
Change-Id: I8e24abf624cadf9afc7aeff28781802732fef07d
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
90f2ffdd00b47e2cd863d4361204c1a6fb31e3a0 16-Sep-2014 Nancy Chen <nancychen@google.com> Remove ability to enable/disable phoneaccounts (2/6)

Enabling/disabling of phone accounts was only used for SIP accounts and
is no longer necessary for the purpose it was put in.
- Remove all references to enabling/disabling phone accounts
- Remove PhoneAccountSelectionPreferenceActivity and related UI code
+ Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts

Bug: 17510811

Change-Id: I6ea5c73bc62f35c2e487dd4d1262c0336b8b6e1e
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
4d45d1cf58a2003378fd35912d6d73a00001bf06 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ic33bafd37200e65431543a9889aed549dbb04831
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
05bbb0d8103430f56e3d98c259e219068540de9e 12-Sep-2014 Tyler Gunn <tgunn@google.com> Add intent broadcast when a PhoneAccount is enabled or disabled. (3/3)

- Handling intent in SipAccountRegistry and disabling/enabling Sip
accounts as required.
- Changing SipSettings so that disabled Sip account do not show as
"receiving calls" when they're disabled.

Bug: 17408536
Change-Id: Ia74c8c884719e8c399dfe6941980f467e00ac87b
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
baee2955f596f7b79971feb12fa21031a069677d 11-Sep-2014 Tyler Gunn <tgunn@google.com> Allowing enable/disable of phone accounts. (3/3)

Phone Accounts:
- Added Phone account enable/disable activity, accessible from the
"Make calls via" preference screen.
- Changed Telephony PhoneAccount registration so that it first updates
existing PhoneAccounts (ensuring enable/disable setting retained), and
then removes any that no longer exist.

SIP:
Removed the "primary profile" SIP setting in favour of being able to
enabled and disable the associated PhoneAccounts.
Added migration to automatically enable the previous "primary profile".

Bug: 17306514
Bug: 17408536
Change-Id: I696e3382730ea7bb40d680798bcab965517c438b
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
5025058e1835f8b83f724cbf25020cdadc560a40 04-Sep-2014 Andrew Lee <anwlee@google.com> Update uses of PhoneAccount builder methods.

+ Parse the subscription number into a Uri to provide to the builder,
rather than providing the subscription number as a string.

Bug: 17390175
Bug: 17329632
Change-Id: If8829f7a2699d2a9a279b7bb8a8484af6d91d0a0
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
4ddd0efe67e93798d98c86b073d6cd0b1343f840 02-Sep-2014 Tyler Gunn <tgunn@google.com> Add supported URI scheme to PhoneAccounts. (3/4)

1. Modify TelephonyConnectionService to register voidemail URI scheme.
2. Modify SipConnectionService to register 'tel' URI scheme in addition
to 'sip', should the user have chosen to use sip for all calls.
3. Modify SipBroadcastReceiver to listen to ACTION_SIP_CALL_OPTION_CHANGED
intent, triggering a rebuild of the SIP PhoneAccounts.
4. Fixed bug where all incoming SIP calls show as Unknown number.

Bug: 17140110
Bug: 17326799
Change-Id: I11d25c2cd98d02b80919d95ae9af077edb179fe0
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java
6556a09daab949853c384b385bc7618a6c75d9dd 25-Aug-2014 Santos Cordon <santoscordon@google.com> 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
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipAccountRegistry.java