diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-03-15 13:44:19 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-03-15 13:44:19 -0700 |
commit | 522dbda5d49c58cad24c8861aa8375f93bb61beb (patch) | |
tree | c4a1ffa6147bbaad44f0c4fc97f8f4eeb1ec2533 /telecomm/java/android/telecom/Connection.java | |
parent | e6501ab728a05bc47637d9d3a5a1f955a1f9a867 (diff) | |
parent | 068085b35d4c7ef368fde6f01b42f87766d4a2b4 (diff) | |
download | frameworks_base-522dbda5d49c58cad24c8861aa8375f93bb61beb.zip frameworks_base-522dbda5d49c58cad24c8861aa8375f93bb61beb.tar.gz frameworks_base-522dbda5d49c58cad24c8861aa8375f93bb61beb.tar.bz2 |
am "Fix emergency callback number not shown for incoming calls."
merged from goog/mirror-m-wireless-internal-release
068085b Fix emergency callback number not shown for incoming calls.
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index 54130ae..f7a19f8 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -177,6 +177,15 @@ public abstract class Connection implements IConferenceable { // Next CAPABILITY value: 0x00020000 //********************************************************************************************** + /** + * Indicates that the current device callback number should be shown. + * + * @hide + */ + public static final int CAPABILITY_SHOW_CALLBACK_NUMBER = 0x00008000; + + + // Flag controlling whether PII is emitted into the logs private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG); @@ -275,6 +284,9 @@ public abstract class Connection implements IConferenceable { 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(); } |