Make APIs to get system phone accounts public
This is used by Wi-Fi calling to handoff and incoming call to a cellular call. For example, when doing an handoff we can look through the outgoing phone accounts and find the one that the user has verified with their google account. We can then handoff to that phone account. Bug: 17686424 Change-Id: I06d42aa8f4a36d11e5293ed6f7c62b796226f5c1
This commit is contained in:
@@ -28402,8 +28402,10 @@ package android.telecom {
|
||||
method public void clearAccounts();
|
||||
method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle);
|
||||
method public android.telecom.PhoneAccountHandle getConnectionManager();
|
||||
method public android.telecom.PhoneAccountHandle getDefaultOutgoingPhoneAccount(java.lang.String);
|
||||
method public android.telecom.PhoneAccount getPhoneAccount(android.telecom.PhoneAccountHandle);
|
||||
method public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsForPackage();
|
||||
method public java.util.List<android.telecom.PhoneAccountHandle> getPhoneAccountsSupportingScheme(java.lang.String);
|
||||
method public boolean handleMmi(java.lang.String);
|
||||
method public boolean handleMmi(android.telecom.PhoneAccountHandle, java.lang.String);
|
||||
method public boolean hasMultipleCallCapableAccounts();
|
||||
|
||||
@@ -338,8 +338,6 @@ public class TelecomManager {
|
||||
* @param uriScheme The URI scheme.
|
||||
* @return The {@link PhoneAccountHandle} corresponding to the user-chosen default for outgoing
|
||||
* phone calls for a specified URI scheme.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public PhoneAccountHandle getDefaultOutgoingPhoneAccount(String uriScheme) {
|
||||
try {
|
||||
@@ -459,8 +457,6 @@ public class TelecomManager {
|
||||
*
|
||||
* @param uriScheme The URI scheme.
|
||||
* @return A list of {@code PhoneAccountHandle} objects supporting the URI scheme.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public List<PhoneAccountHandle> getPhoneAccountsSupportingScheme(String uriScheme) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user