Make defaultOutgoingPhoneAccount public

Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
This commit is contained in:
Yorke Lee
2015-04-15 11:07:02 -07:00
parent cd1bbf2941
commit f5d5840b66
2 changed files with 1 additions and 2 deletions

View File

@@ -30281,6 +30281,7 @@ package android.telecom {
method public void cancelMissedCallsNotification();
method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle);
method public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts();
method public android.telecom.PhoneAccountHandle getDefaultOutgoingPhoneAccount(java.lang.String);
method public java.lang.String getLine1Number(android.telecom.PhoneAccountHandle);
method public android.telecom.PhoneAccount getPhoneAccount(android.telecom.PhoneAccountHandle);
method public android.telecom.PhoneAccountHandle getSimCallManager();

View File

@@ -355,9 +355,7 @@ 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
*/
@SystemApi
public PhoneAccountHandle getDefaultOutgoingPhoneAccount(String uriScheme) {
try {
if (isServiceConnected()) {