diff options
author | Tyler Gunn <tgunn@google.com> | 2015-02-06 13:56:52 -0800 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-03-11 20:16:19 +0000 |
commit | 068085b35d4c7ef368fde6f01b42f87766d4a2b4 (patch) | |
tree | 8f9fe656ff5b7c60274e0e0c9c627449717434ba /telecomm/java/android/telecom/Call.java | |
parent | 86d4da3aa1a43382c80a76bd493009011adbcc4a (diff) | |
download | frameworks_base-068085b35d4c7ef368fde6f01b42f87766d4a2b4.zip frameworks_base-068085b35d4c7ef368fde6f01b42f87766d4a2b4.tar.gz frameworks_base-068085b35d4c7ef368fde6f01b42f87766d4a2b4.tar.bz2 |
Fix emergency callback number not shown for incoming calls.
- Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER.
- Used in Telephony to indicate on an incoming call that the callback
number should be shown.
Bug: 18689292
Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
Diffstat (limited to 'telecomm/java/android/telecom/Call.java')
-rw-r--r-- | telecomm/java/android/telecom/Call.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java index d0d94aa..ab58651 100644 --- a/telecomm/java/android/telecom/Call.java +++ b/telecomm/java/android/telecom/Call.java @@ -212,6 +212,13 @@ public final class Call { // Next CAPABILITY value: 0x00020000 //****************************************************************************************** + /** + * Indicates that the current device callback number should be shown. + * + * @hide + */ + public static final int CAPABILITY_SHOW_CALLBACK_NUMBER = 0x00008000; + private final Uri mHandle; private final int mHandlePresentation; private final String mCallerDisplayName; @@ -306,6 +313,9 @@ public final class Call { if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) { builder.append(" CAPABILITY_GENERIC_CONFERENCE"); } + if (can(capabilities, CAPABILITY_SHOW_CALLBACK_NUMBER)) { + builder.append(" CAPABILITY_SHOW_CALLBACK_NUMBER"); + } builder.append("]"); return builder.toString(); } |