From 9592a42c68e1a3ac7380486f3cfc91f5debfd20b Mon Sep 17 00:00:00 2001 From: Youming Ye Date: Wed, 20 Mar 2019 17:53:44 -0700 Subject: [PATCH] Hide blocking pay phone option use carrier config Change-Id: I9f92f90d5375d8b9a7e9ae61b30ab44a570ae864 Bug: 128907408 Test: Manual --- telephony/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 bafec5cd37fa..cbc586a43839 100755 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -1829,6 +1829,14 @@ public class CarrierConfigManager { "editable_wfc_roaming_mode_bool"; /** + * Flag specifying wether to show blocking pay phone option in blocked numbers screen. Only show + * the option if payphone call presentation represents in the carrier's region. + * @hide + */ + public static final java.lang.String KEY_SHOW_BLOCKING_PAY_PHONE_OPTION_BOOL = + "show_blocking_pay_phone_option_bool"; + + /** * Flag specifying whether the carrier will use the WFC home network mode in roaming network. * {@code false} - roaming preference can be selected separately from the home preference. * {@code true} - roaming preference is the same as home preference and @@ -2810,6 +2818,7 @@ public class CarrierConfigManager { sDefaults.putBoolean(KEY_NOTIFY_VT_HANDOVER_TO_WIFI_FAILURE_BOOL, false); sDefaults.putStringArray(KEY_FILTERED_CNAP_NAMES_STRING_ARRAY, null); sDefaults.putBoolean(KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, false); + sDefaults.putBoolean(KEY_SHOW_BLOCKING_PAY_PHONE_OPTION_BOOL, false); sDefaults.putBoolean(KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL, false); sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false); sDefaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, true); -- 2.11.0