diff options
author | Sailesh Nepal <sail@google.com> | 2014-04-01 23:36:41 -0700 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2014-04-02 14:38:34 -0700 |
commit | a3d3acae57b46ae498e55153860d63055b8169ba (patch) | |
tree | c8fe80c6b1972d65369297086c500dd5e202f128 /telecomm | |
parent | 7df8d900a45e490bc18754ac108c2ec74395f72b (diff) | |
download | frameworks_base-a3d3acae57b46ae498e55153860d63055b8169ba.zip frameworks_base-a3d3acae57b46ae498e55153860d63055b8169ba.tar.gz frameworks_base-a3d3acae57b46ae498e55153860d63055b8169ba.tar.bz2 |
Add disconnect cause and message extras
These extras will be sent out as a part of the
ACTION_PHONE_STATE_CHANGED broadcast.
Change-Id: I23fe43e7f3604471185ffb30be9ac553438b78f3
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecomm/TelecommConstants.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/telecomm/java/android/telecomm/TelecommConstants.java b/telecomm/java/android/telecomm/TelecommConstants.java index c2cccf1..8300c92 100644 --- a/telecomm/java/android/telecomm/TelecommConstants.java +++ b/telecomm/java/android/telecomm/TelecommConstants.java @@ -70,10 +70,18 @@ public final class TelecommConstants { "android.intent.extra.INCOMING_CALL_EXTRAS"; /** - * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the unique - * ID of the call. + * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the + * disconnect code. */ - public static final String EXTRA_CALL_ID = "android.telecomm.extra.CALL_ID"; + public static final String EXTRA_CALL_DISCONNECT_CAUSE = + "android.telecomm.extra.CALL_DISCONNECT_CAUSE"; + + /** + * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the + * disconnect message. + */ + public static final String EXTRA_CALL_DISCONNECT_MESSAGE = + "android.telecomm.extra.CALL_DISCONNECT_MESSAGE"; /** * The dual tone multi-frequency signaling character sent to indicate the dialing system should |