1c5926fc5f3c828c5b16c25a5154e5a0306ea3e7 |
|
17-Sep-2014 |
Nancy Chen <nancychen@google.com> |
Replace get*PhoneAccounts* public API methods with new method (2/3) Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme because a third party app should not be able to see all phone accounts registered. Replace instead with getPhoneAccountsForPackage(Context) which will only return the phone accounts registered by a particular package. Also pass available phone accounts for the user to select from through Telecom to InCallUI so InCallUI will not be calling the Telecom API directly to get these accounts. Bug: 17510811 Change-Id: Ia91972bc4cfa938b743f6b3b165a81d4acd58c45
/packages/services/Telecomm/src/com/android/server/telecom/PhoneAccountRegistrar.java
|
91d43cf9c985cc5a83795f256ef5c46ebb8fbdc1 |
|
17-Sep-2014 |
Tyler Gunn <tgunn@google.com> |
Preparatory work to move Telecom to system service. - Removed use of TelecomApp.getInstance() as context. - Refactored singleton logic and initialization to support being performed from a SystemService. - Note: You will see some commented out references to "import com.android.internal.R"; these must uncommented when the code is moved to a system service. - You will also notice in PhoneAccountRegistrar.java a comment block with: "UNCOMMENT_FOR_MOVE_TO_SYSTEM_SERVICE" The code in that comment block will replace the existing file path code. These were added as a convenience so that I can run a simple sed script to make the required changes to the code in an automated manner once it is moved to its new location. Bug: 17364651 Change-Id: I8e80e9cffc481b688c10a2bca0b59f5ccf8e0fb2
/packages/services/Telecomm/src/com/android/server/telecom/PhoneAccountRegistrar.java
|
309198ec4d8b2738cf955316ea7a2f9418929fd1 |
|
16-Sep-2014 |
Nancy Chen <nancychen@google.com> |
Remove ability to enable/disable phoneaccounts (3/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 + Rename getEnabledPhoneAccounts to getCallCapablePhoneAccounts Bug: 17510811 Change-Id: I5e8a59fe2aaac2563fe4bf97138975e30b45aa3c
/packages/services/Telecomm/src/com/android/server/telecom/PhoneAccountRegistrar.java
|
e3d8245f09c9d5333ebc7e2d82e684ecfeb6040e |
|
15-Sep-2014 |
Santos Cordon <santoscordon@google.com> |
Remove config variable to disable connection service APIs Bug: 17445268 Change-Id: I152225ffdb81dafb9bd972d7294f05a8e6e0c746
/packages/services/Telecomm/src/com/android/server/telecom/PhoneAccountRegistrar.java
|
7cc70b4f0ad1064a4a0dce6056ad82b205887160 |
|
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: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/PhoneAccountRegistrar.java
|