From 6d8604ff22424af31c697d20f5c15d5f9c31862c Mon Sep 17 00:00:00 2001 From: Evan Charlton Date: Thu, 4 Sep 2014 12:38:17 -0700 Subject: [PATCH] Add a constant for CHANGE_PHONE_ACCOUNTS action To make life easier for developers, pull the CHANGE_PHONE_ACCOUNTS intent action out to a constant. Bug: 17383844 Change-Id: I6989324c8d01930cd2e2be5d7d0defea860fc718 --- api/current.txt | 1 + telecomm/java/android/telecomm/TelecommManager.java | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/api/current.txt b/api/current.txt index a320e01471745..30dfdea0626c1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -28502,6 +28502,7 @@ package android.telecomm { method public void registerPhoneAccount(android.telecomm.PhoneAccount); method public void showInCallScreen(boolean); method public void unregisterPhoneAccount(android.telecomm.PhoneAccountHandle); + field public static final java.lang.String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecomm.intent.action.CHANGE_PHONE_ACCOUNTS"; field public static final java.lang.String ACTION_CONNECTION_SERVICE_CONFIGURE = "android.intent.action.CONNECTION_SERVICE_CONFIGURE"; field public static final java.lang.String ACTION_SHOW_CALL_SETTINGS = "android.telecomm.intent.action.SHOW_CALL_SETTINGS"; field public static final char DTMF_CHARACTER_PAUSE = 44; // 0x002c ',' diff --git a/telecomm/java/android/telecomm/TelecommManager.java b/telecomm/java/android/telecomm/TelecommManager.java index d5a06f5bcdb43..b8f6964a7eaf6 100644 --- a/telecomm/java/android/telecomm/TelecommManager.java +++ b/telecomm/java/android/telecomm/TelecommManager.java @@ -61,6 +61,13 @@ public class TelecommManager { public static final String ACTION_SHOW_CALL_SETTINGS = "android.telecomm.intent.action.SHOW_CALL_SETTINGS"; + /** + * The {@link android.content.Intent} action used to show the settings page used to configure + * {@link PhoneAccount} preferences. + */ + public static final String ACTION_CHANGE_PHONE_ACCOUNTS = + "android.telecomm.intent.action.CHANGE_PHONE_ACCOUNTS"; + /** * Optional extra for {@link android.content.Intent#ACTION_CALL} containing a boolean that * determines whether the speakerphone should be automatically turned on for an outgoing call.