History log of /packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b1f3116cd717c0fc26863884f7c3a80f8adf9d30 20-Jan-2017 Lei 7 Wang <lei7.wang@sonymobile.com> Fix NumberFormatException in SipEditor when saving port number

When saving sip account with port number which has out of range integer
value, NumberFormatException is thrown. Fix issue to handle exception
properly.

Bug: 35300619
Test: Manual
Change-Id: Ic5b9c9126c50ffd2ff8e4bbe3f1d1bc38f8cca5a
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
c91cf52659552d305b47e4e2527defd149788813 11-Nov-2016 Omata Shou <shou.x.omata@sonymobile.com> Merge "Fix window leak when split-screen is released"
am: 862cfec1c3

Change-Id: I5a7e9e54d9efbc72ac30ecd5e68fb31deae7d058
94d3838e07309f12b8277b29f462bf4fdfcd7f0c 03-Aug-2016 Omata Shou <shou.x.omata@sonymobile.com> Fix window leak when split-screen is released

When split-screen is released while AlertDialog shown in SipEditor,
window leak occurs. User can't navigate back with the Back button
afterward. To avoid this, use DialogFragment instead of AlertDialog.

Bug: 32493780
Change-Id: Iddbd04b99f279fccabdf698acff1311612e3a8d6
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
8b1086eb4b8c79a7bb92306d76c4e1a4ae512af9 14-Oct-2016 Brad Ebinger <breadley@google.com> Restrict SipProfiles to profiles directory
am: 5282303362

Change-Id: I340194219492dd5eae7da80e4ec002c37fd413ab
1a9ef28e6e07348a69f3ca385ca1324f51e84be2 10-Oct-2016 Brad Ebinger <breadley@google.com> Revert "Restrict SipProfiles to profiles directory"
am: c3bd9d08a5

Change-Id: Ic39cabafdee23b84dc6bcc6ed6c9de1e37bff874
52823033626ee55474d942d5b9ea24e0f07dbb66 07-Oct-2016 Brad Ebinger <breadley@google.com> Restrict SipProfiles to profiles directory

We now check SIP profile names to ensure that they do not attempt file
traversal when being saved. They are now restricted to be children of
the profiles/ directory.

BUG: 31530456
Change-Id: I9c9bce59d852e8a1cf500be6ca59b5e303877180
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
c3bd9d08a5b5fc810d27a65331e34a333d063a91 10-Oct-2016 Brad Ebinger <breadley@google.com> Revert "Restrict SipProfiles to profiles directory"

This reverts commit 4c761b96c2ee36410603df8e8a4fb4e07c12ede0.

Change-Id: Ib4c2476b1f5c39b49dac8f0f828676dac14ccf99
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
013e75e6ed37d6087966bb2aab8af45cc8d70acb 10-Oct-2016 Brad Ebinger <breadley@google.com> Restrict SipProfiles to profiles directory am: 4c761b96c2 am: 2990d9f068 am: 90aca30c66 am: 072cd2c170
am: c70cf1f817

Change-Id: I371a41d5542404240e6183291bcd52541f166d84
c70cf1f8179be4eee95dd79cfcdb09b955a632f6 10-Oct-2016 Brad Ebinger <breadley@google.com> Restrict SipProfiles to profiles directory am: 4c761b96c2 am: 2990d9f068 am: 90aca30c66
am: 072cd2c170

Change-Id: I2a6c40f5db91300bde79902759a2f610783b8add
4c761b96c2ee36410603df8e8a4fb4e07c12ede0 07-Oct-2016 Brad Ebinger <breadley@google.com> Restrict SipProfiles to profiles directory

We now check SIP profile names to ensure that they do not attempt file
traversal when being saved. They are now restricted to be children of
the profiles/ directory.

BUG: 31530456
Change-Id: I9c9bce59d852e8a1cf500be6ca59b5e303877180
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
5ce44e1596d4bc17606f68e3597731cd317b3b56 11-Jul-2016 Brad Ebinger <breadley@google.com> Add String Resources for SIP Settings

Add string resources for the defaults of the Username, Password, and
Server in the SIP Settings screen to allow for proper translations
instead of sharing one string resource.

Bug: 29104341
Change-Id: If1063c24dd3194c757a77d2644c43a5e0fd45e61
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.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/SipEditor.java
24d4a20085502c11552aa9693ec754af27f7602e 12-Sep-2015 Roshan Pius <rpius@google.com> Alert user when saving empty SIP profile.

Show an alert when the user clicks save on SIP Profile editor with all
the fields left empty.

BUG: 24004006
Change-Id: I5ea8bd1166a09fb9c8b931b8e5e1f80cadeaf050
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.java
3a9e143aaa2c0ccae203641cf66cdc890383be01 26-May-2015 Santos Cordon <santoscordon@google.com> Automatically enable newly created SIP Accounts.

Bug: 21436375
Change-Id: I3c245effb6f66c52ebe71f9cd2e57cf231d51f34
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.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/SipEditor.java
e2e409eef1f8234e486a1acd59ae5e6efbeabbe0 17-Oct-2014 Yorke Lee <yorkelee@google.com> Exit SipEditor when home affordance pressed

Bug: 17988780
Change-Id: Idaaf23603c86c24399b48b098429c0c1da862219
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/SipEditor.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/SipEditor.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/SipEditor.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/SipEditor.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/SipEditor.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/SipEditor.java