History log of /packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3fa4346096855f6f721cad3c091da63e62c3bb1a 13-Apr-2016 Brad Ebinger <breadley@google.com> Restart SipService if it crashes

Currently, if the phone process crashes, the SipService will not restart until
reboot. We will now check to see if the user is unlocked in PhoneGlobals
before attempting to start the SipService (this should only happen if
the process crashes and restarts).

Bug: 28100417
Change-Id: Id512ece318963f7ceb8af5ce9d668a80b21bc98b
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
b64b0a8e1f203b7628b6eeca9d0186803beaff7b 28-Jan-2016 Brad Ebinger <breadley@google.com> Start SIP Service after user unlock on FBE devices

Telephony stores the SIP profiles in CE storage, which is not available
until the user unlocks the device. This change makes it so Telephony
does not start the SIP service until after the user unencrypts the device.

The SIP database is also migrated over from DE->CE storage upon
BOOT_COMPLETE if it sees that a DB currently exists in DE storage. This
will be the case when a device upgrades from M->N.

BUG: 26777818
Change-Id: I735868132c6ace52acb1e98141d22d61a9073bb6
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
b2eba2d966529e4f6bb9c8ec9b43a3b5e0e884de 05-Jun-2015 Andrew Lee <anwlee@google.com> Replace "add account" with plus icon.

Label is still set on the icon for accessibility.

Bug: 21602822
Change-Id: I4b600a643074feed4f2845e40fd5b6bc6eaa8edd
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
e50b1903f2e84de2d23c035f8444cb83e1ae6226 04-May-2015 Santos Cordon <santoscordon@google.com> Add an enable/disable phone-account preference.

Preference exists in telecom app and this just adds an intent-preference
to link to it.

This change also shifts the SIP Phone Account ID from the sip Uri,
which can be inconsistent in odd cases, to the profileName, which is
what the SipProfile code itself uses as an ID.

Bug: 20303449
Change-Id: I08ce910c18c94b59a190f49c26c05d5c700e5bf2
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
6781b0c2375a905614781f8503bfd601f4020340 28-Apr-2015 Santos Cordon <santoscordon@google.com> Adding settings for connection services.

1) List all connection services in phone account settings.
2) Add icon to the settings listings
3) Adds code for SIP phone accounts to handle the standard
telecom CONFIGURE_CONNECTION_SERVICE intent. This means
that when a user clicks on the listed SIP account, they
will be taken to thats SIP profile's settings.
4) Added code to SipProfileDb to retrieve a single profile
by Uri.
5) Updated SipSettings to refresh list onResume(). This
allows deletes and updates made from the phone account
list to reflect the legacy Sip Profile Setting activity.

Bug: 20303449
Change-Id: If8dd98d17422c2f34a1ff1d3abd4c8e9fd81b496
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
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/SipSettings.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/SipSettings.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/SipSettings.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/SipSettings.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/SipSettings.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/SipSettings.java
2c951c45e83441e1a760d8bf99a67d2e4e94975b 21-Aug-2014 Andrew Lee <anwlee@google.com> Hide 'sip account' heading if there are no sip accounts.

Right now on the SIP settings menu, this is alway shown, even if
there's nothing listed below. Was a little visually confusing to me.
Now it will only show if there's at least one account listed.

There's still always an "add account" button at the top.

Bug: 17179743
Change-Id: Icd64f5c1f135d7341405ae4285a7697563331cdb
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
1344f67ea331f9a485f54c4b5e26d62a5cfad3fb 11-Jul-2014 Sailesh Nepal <sail@google.com> Hookup incoming and outgoing SIP calls

This CL hooks up SipConnection and SipConnectionService.

Bug: 14999064
Change-Id: Iddf4a06c70fb73398844e48a80be4c63f6b82e73
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java
788959e2d798da2d8a34cf89779421966d200f3d 09-Jul-2014 Sailesh Nepal <sail@google.com> SIP Part 1, move sip code

This CL moves the SIP code to
sip/src/com/android/services/telephony/sip

Moving the SIP code helps with a couple of things:
- remove legacy dependency on old telephony code
(PhoneUtils, etc...)
- separate SIP from the PSTN connection code which
is very different from SIP code
- get the code ready for a future move out of
Telephony all together

Bug: 14999064
Change-Id: Id32de6517d31be4aa177b2764d5bac1e1f9851c2
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipSettings.java