summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-11-03 04:49:33 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-03 04:49:33 +0000
commit48a0c3ae8dd0d3944a3cffa2bafec47f9bc346d6 (patch)
treed903e5d80719acac1581d09ecedfff1b68e6beb2 /telephony
parent71f018a411c55383f395adc52d8363d6103529d3 (diff)
parent8b86c7629676eeea490531b2a412873e0196eb6f (diff)
downloadframeworks_base-48a0c3ae8dd0d3944a3cffa2bafec47f9bc346d6.zip
frameworks_base-48a0c3ae8dd0d3944a3cffa2bafec47f9bc346d6.tar.gz
frameworks_base-48a0c3ae8dd0d3944a3cffa2bafec47f9bc346d6.tar.bz2
Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev
am: 8b86c76296 * commit '8b86c7629676eeea490531b2a412873e0196eb6f': Improve comment on EXTRA_CALL_RAT_TYPE.
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/ims/ImsCallProfile.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsCallProfile.java b/telephony/java/com/android/ims/ImsCallProfile.java
index 861a379..5f84e0c 100644
--- a/telephony/java/com/android/ims/ImsCallProfile.java
+++ b/telephony/java/com/android/ims/ImsCallProfile.java
@@ -188,6 +188,20 @@ public class ImsCallProfile implements Parcelable {
public static final String EXTRA_CODEC = "Codec";
public static final String EXTRA_DISPLAY_TEXT = "DisplayText";
public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo";
+
+ /**
+ * Extra key which the RIL can use to indicate the radio technology used for a call.
+ * Valid values are:
+ * {@link android.telephony.ServiceState#RIL_RADIO_TECHNOLOGY_LTE},
+ * {@link android.telephony.ServiceState#RIL_RADIO_TECHNOLOGY_IWLAN}, and the other defined
+ * {@code RIL_RADIO_TECHNOLOGY_*} constants.
+ * Note: Despite the fact the {@link android.telephony.ServiceState} values are integer
+ * constants, the values passed for the {@link #EXTRA_CALL_RAT_TYPE} should be strings (e.g.
+ * "14" vs (int) 14).
+ * Note: This is used by {@link com.android.internal.telephony.imsphone.ImsPhoneConnection#
+ * updateWifiStateFromExtras(Bundle)} to determine whether to set the
+ * {@link android.telecom.Connection#CAPABILITY_WIFI} capability on a connection.
+ */
public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";
public int mServiceType;