Merge "Add @SystemApi to missing TelecomManager methods" into lmp-dev

This commit is contained in:
Evan Charlton
2014-10-02 23:05:22 +00:00
committed by Android (Google) Code Review

View File

@@ -584,6 +584,7 @@ public class TelecomManager {
* @param account The complete {@link PhoneAccount}.
* @hide
*/
@SystemApi
public void registerPhoneAccount(PhoneAccount account) {
try {
if (isServiceConnected()) {
@@ -600,6 +601,7 @@ public class TelecomManager {
* @param accountHandle A {@link PhoneAccountHandle} for the {@link PhoneAccount} to unregister.
* @hide
*/
@SystemApi
public void unregisterPhoneAccount(PhoneAccountHandle accountHandle) {
try {
if (isServiceConnected()) {
@@ -800,6 +802,7 @@ public class TelecomManager {
* {@link ConnectionService#onCreateIncomingConnection}.
* @hide
*/
@SystemApi
public void addNewIncomingCall(PhoneAccountHandle phoneAccount, Bundle extras) {
try {
if (isServiceConnected()) {