Loading telephony/java/android/telephony/CarrierConfigManager.java +16 −0 Original line number Original line Diff line number Diff line Loading @@ -245,6 +245,21 @@ public class CarrierConfigManager { */ */ public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool"; public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool"; /** * Flag specifying whether the carrier wants to notify the user when a VT call has been handed * over from WIFI to LTE. * <p> * The handover notification is sent as a * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE} * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService} * should use to trigger the display of a user-facing message. * <p> * The Connection event is sent to the InCallService only once, the first time it occurs. * @hide */ public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL = "notify_handover_video_from_wifi_to_lte_bool"; /** /** * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx) * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx) * directly to an audio call. * directly to an audio call. Loading Loading @@ -944,6 +959,7 @@ public class CarrierConfigManager { sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false); Loading telephony/java/android/telephony/TelephonyManager.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -704,6 +704,17 @@ public class TelephonyManager { public static final String EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT = public static final String EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT = "android.telephony.extra.LAUNCH_VOICEMAIL_SETTINGS_INTENT"; "android.telephony.extra.LAUNCH_VOICEMAIL_SETTINGS_INTENT"; /** * {@link android.telecom.Connection} event used to indicate that an IMS call has be * successfully handed over from WIFI to LTE. * <p> * Sent via {@link android.telecom.Connection#sendConnectionEvent(String, Bundle)}. * The {@link Bundle} parameter is expected to be null when this connection event is used. * @hide */ public static final String EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE = "android.telephony.event.EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE"; /** /** * {@link android.telecom.Connection} event used to indicate that an IMS call failed to be * {@link android.telecom.Connection} event used to indicate that an IMS call failed to be * handed over from LTE to WIFI. * handed over from LTE to WIFI. Loading Loading
telephony/java/android/telephony/CarrierConfigManager.java +16 −0 Original line number Original line Diff line number Diff line Loading @@ -245,6 +245,21 @@ public class CarrierConfigManager { */ */ public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool"; public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool"; /** * Flag specifying whether the carrier wants to notify the user when a VT call has been handed * over from WIFI to LTE. * <p> * The handover notification is sent as a * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE} * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService} * should use to trigger the display of a user-facing message. * <p> * The Connection event is sent to the InCallService only once, the first time it occurs. * @hide */ public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL = "notify_handover_video_from_wifi_to_lte_bool"; /** /** * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx) * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx) * directly to an audio call. * directly to an audio call. Loading Loading @@ -944,6 +959,7 @@ public class CarrierConfigManager { sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false); Loading
telephony/java/android/telephony/TelephonyManager.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -704,6 +704,17 @@ public class TelephonyManager { public static final String EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT = public static final String EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT = "android.telephony.extra.LAUNCH_VOICEMAIL_SETTINGS_INTENT"; "android.telephony.extra.LAUNCH_VOICEMAIL_SETTINGS_INTENT"; /** * {@link android.telecom.Connection} event used to indicate that an IMS call has be * successfully handed over from WIFI to LTE. * <p> * Sent via {@link android.telecom.Connection#sendConnectionEvent(String, Bundle)}. * The {@link Bundle} parameter is expected to be null when this connection event is used. * @hide */ public static final String EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE = "android.telephony.event.EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE"; /** /** * {@link android.telecom.Connection} event used to indicate that an IMS call failed to be * {@link android.telecom.Connection} event used to indicate that an IMS call failed to be * handed over from LTE to WIFI. * handed over from LTE to WIFI. Loading