From 0385e3a547d8e8a9ef33035e06f31a965b09c00e Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Fri, 22 Apr 2016 14:33:55 +0800 Subject: [PATCH] Add carrier config variable to hide manage IMS conference call button Add carrier config to determine whether manage IMS conference calls is supported by a carrier. Test: not tested since a new config is just added Bug: 28729600 Change-Id: I1000830a85814150658b62ea9add72bfb83bbba0 Merged-In: I1000830a85814150658b62ea9add72bfb83bbba0 --- .../java/android/telephony/CarrierConfigManager.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 1d081119ffd3a..0b58e7614ad7a 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -778,6 +778,14 @@ public class CarrierConfigManager { */ public static final String KEY_IMS_CONFERENCE_SIZE_LIMIT_INT = "ims_conference_size_limit_int"; + /** + * Determines whether manage IMS conference calls is supported by a carrier. When {@code true}, + * manage IMS conference call is supported, {@code false otherwise}. + * @hide + */ + public static final String KEY_SUPPORT_MANAGE_IMS_CONFERENCE_CALL_BOOL = + "support_manage_ims_conference_call_bool"; + /** * Determines whether High Definition audio property is displayed in the dialer UI. * If {@code false}, remove the HD audio property from the connection so that HD audio related @@ -1782,6 +1790,7 @@ public class CarrierConfigManager { sDefaults.putInt(KEY_CDMA_3WAYCALL_FLASH_DELAY_INT , 0); sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL, true); + sDefaults.putBoolean(KEY_SUPPORT_MANAGE_IMS_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_VIDEO_CONFERENCE_CALL_BOOL, false); sDefaults.putBoolean(KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL, false); sDefaults.putInt(KEY_IMS_CONFERENCE_SIZE_LIMIT_INT, 5);