mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 07:33:36 +00:00
Update to 07.00.00.253.032
Change-Id: I53b227fa6c67256c76fdc6ef624ce6a9a134a385
This commit is contained in:
@@ -52,6 +52,12 @@ public class QtiCarrierConfigs {
|
||||
public static final String HIDE_PREVIEW_IN_VT_CONFERENCE =
|
||||
"config_hide_preview_in_vt_confcall";
|
||||
|
||||
/* Flag determining whether UI extensions for video calls should be used or not */
|
||||
public static final String USE_VIDEO_UI_EXTENSIONS = "video_call_use_ext";
|
||||
|
||||
/* Flag determining whether customized video ui support is required or not */
|
||||
public static final String USE_CUSTOM_VIDEO_UI = "use_custom_video_ui";
|
||||
|
||||
/* Flag specifying whether IMS to CS retry should be available for carrier
|
||||
false - hard disabled.
|
||||
true - then depends on user preference */
|
||||
|
||||
@@ -162,6 +162,24 @@ public class QtiImsExtUtils {
|
||||
return SystemProperties.getBoolean("persist.radio.ims_call_transfer", false);
|
||||
}
|
||||
|
||||
/**
|
||||
* This API checks to see whether we are going to use ui extension for video call or not.
|
||||
* @param context context for getting video call ui ext configuration value
|
||||
* Returns true if enabled, or false otherwise.
|
||||
*/
|
||||
public static boolean useExt(Context context) {
|
||||
return isCarrierConfigEnabled(context, QtiCarrierConfigs.USE_VIDEO_UI_EXTENSIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* This API checks to see whether custom video ui is enabled or not.
|
||||
* @param context context for getting custom video ui configuration value
|
||||
* Returns true if enabled, or false otherwise.
|
||||
*/
|
||||
public static boolean useCustomVideoUi(Context context) {
|
||||
return isCarrierConfigEnabled(context, QtiCarrierConfigs.USE_CUSTOM_VIDEO_UI);
|
||||
}
|
||||
|
||||
/**
|
||||
* This API checks to see whether IMS to CS retry is enabled or not.
|
||||
* @param context context for getting the CS retry configuration value
|
||||
|
||||
Reference in New Issue
Block a user