summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/compat
diff options
context:
space:
mode:
authorerfanian <erfanian@google.com>2017-12-05 17:43:20 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-07 18:27:24 -0800
commit7772ec071f5ed2e2283e9a00215e8cf1fca9168a (patch)
tree3bb7d4eb7516f778a5b9ba91a40aa3c687041828 /java/com/android/dialer/compat
parent5194036b423d455a517d06b38fd616a8bbfc4896 (diff)
Add Assisted Dialing Call Details Implementation.
This includes all of the work specified in the UX layouts, with the exception of the parenthetical country code. Because the canonical mapping of dial prefixes to country codes is not contained in this package, some thought needs to be given on the best way to implement this part of the spec. This change also introduces a fallback error text, in case the client experiences bad data from the call log. Test: new unit tests PiperOrigin-RevId: 178038123 Change-Id: I88eec72a73820e092f24c5f53ee9520a42486ada
Diffstat (limited to 'java/com/android/dialer/compat')
-rw-r--r--java/com/android/dialer/compat/telephony/TelephonyManagerCompat.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/com/android/dialer/compat/telephony/TelephonyManagerCompat.java b/java/com/android/dialer/compat/telephony/TelephonyManagerCompat.java
index cadce4d48..6bed818da 100644
--- a/java/com/android/dialer/compat/telephony/TelephonyManagerCompat.java
+++ b/java/com/android/dialer/compat/telephony/TelephonyManagerCompat.java
@@ -77,6 +77,12 @@ public class TelephonyManagerCompat {
BuildCompat.isAtLeastOMR1() ? "android.telephony.extra.IS_REFRESH" : "is_refresh";
/**
+ * Indicates the call underwent Assisted Dialing; typically set as a feature available from the
+ * CallLog.
+ */
+ public static final Integer FEATURES_ASSISTED_DIALING = 0x10;
+
+ /**
* Returns the number of phones available. Returns 1 for Single standby mode (Single SIM
* functionality) Returns 2 for Dual standby mode.(Dual SIM functionality)
*