Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -28491,6 +28491,7 @@ package android.telecomm { method public void addNewIncomingCall(android.telecomm.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public void clearAccounts(java.lang.String); method public android.telecomm.PhoneAccountHandle getConnectionManager(); method public android.telecomm.PhoneAccountHandle getDefaultOutgoingPhoneAccount(java.lang.String); method public java.util.List<android.telecomm.PhoneAccountHandle> getEnabledPhoneAccounts(); method public android.telecomm.PhoneAccount getPhoneAccount(android.telecomm.PhoneAccountHandle); telecomm/java/android/telecomm/TelecommManager.java +12 −1 Original line number Diff line number Diff line Loading @@ -389,6 +389,17 @@ public class TelecommManager { return new ArrayList<>(); } /** * Returns the current connection manager. Apps must be prepared for this method to return * {@code null}, indicating that there currently exists no user-chosen default * {@code PhoneAccount}. * * @return The phone account handle of the current connection manager. */ public PhoneAccountHandle getConnectionManager() { return getSimCallManager(); } /** * Returns a list of {@link PhoneAccountHandle}s which can be used to make and receive phone * calls which support the specified URI scheme. Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -28491,6 +28491,7 @@ package android.telecomm { method public void addNewIncomingCall(android.telecomm.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public void clearAccounts(java.lang.String); method public android.telecomm.PhoneAccountHandle getConnectionManager(); method public android.telecomm.PhoneAccountHandle getDefaultOutgoingPhoneAccount(java.lang.String); method public java.util.List<android.telecomm.PhoneAccountHandle> getEnabledPhoneAccounts(); method public android.telecomm.PhoneAccount getPhoneAccount(android.telecomm.PhoneAccountHandle);
telecomm/java/android/telecomm/TelecommManager.java +12 −1 Original line number Diff line number Diff line Loading @@ -389,6 +389,17 @@ public class TelecommManager { return new ArrayList<>(); } /** * Returns the current connection manager. Apps must be prepared for this method to return * {@code null}, indicating that there currently exists no user-chosen default * {@code PhoneAccount}. * * @return The phone account handle of the current connection manager. */ public PhoneAccountHandle getConnectionManager() { return getSimCallManager(); } /** * Returns a list of {@link PhoneAccountHandle}s which can be used to make and receive phone * calls which support the specified URI scheme. Loading