diff options
| author | Aaron Knight <starlightknight@slkdev.net> | 2016-07-24 16:16:28 -0400 |
|---|---|---|
| committer | Aaron Knight <starlightknight@slkdev.net> | 2016-07-24 16:20:20 -0400 |
| commit | 9399da304a78ee76b1cc7b5a149666dd1ec6191e (patch) | |
| tree | 7f517211113772021d44b17527a25db4a3cf1912 | |
| parent | a4804aa8dc206ef968e48d9fd567090060e7e673 (diff) | |
| download | device_samsung_t0lte-9399da304a78ee76b1cc7b5a149666dd1ec6191e.tar.gz device_samsung_t0lte-9399da304a78ee76b1cc7b5a149666dd1ec6191e.tar.bz2 device_samsung_t0lte-9399da304a78ee76b1cc7b5a149666dd1ec6191e.zip | |
t0ltecdma: Fix Preferred Network Type Switch
-Add radio access family property. Dialog crashes without this.
-Set CarrierConfig settings based off of the existing Telephony
settings. It seems not all places are using CarrierConfig yet
so I'm leaving the old one. This fixes some settings such as
world phone not being picked up, allowing access to the expanded
network types dialog
Tested on my l900, the menu toggles no longer crash.
Note: there is an upstream problem where you cannot see the global
network types until you've opened the dialog at least one time
(per boot).
Change-Id: Ieecd0375c8ab9b63417c1960f0e217b3d719c15d
| -rwxr-xr-x | overlay-cdma/frameworks/base/core/res/res/values/config.xml | 6 | ||||
| -rwxr-xr-x | overlay-cdma/packages/apps/CarrierConfig/res/xml/vendor.xml | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/overlay-cdma/frameworks/base/core/res/res/values/config.xml b/overlay-cdma/frameworks/base/core/res/res/values/config.xml index 7bcf076..cee31d8 100755 --- a/overlay-cdma/frameworks/base/core/res/res/values/config.xml +++ b/overlay-cdma/frameworks/base/core/res/res/values/config.xml @@ -199,4 +199,10 @@ <!-- Boolean to enable Stylus gestures --> <bool name="config_stylusGestures">true</bool> + <!-- The RadioAccessFamilies supported by the device. + Empty is viewed as "all". Only used on devices which + don't support RIL_REQUEST_GET_RADIO_CAPABILITY + format is UMTS|LTE|... --> + <string translatable="false" name="config_radio_access_family">GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|LTE|HSPAP|GSM|WCDMA</string> + </resources> diff --git a/overlay-cdma/packages/apps/CarrierConfig/res/xml/vendor.xml b/overlay-cdma/packages/apps/CarrierConfig/res/xml/vendor.xml new file mode 100755 index 0000000..96ffbea --- /dev/null +++ b/overlay-cdma/packages/apps/CarrierConfig/res/xml/vendor.xml @@ -0,0 +1,10 @@ +<?xml version='1.0' encoding='utf-8' standalone='yes' ?> +<carrier_config_list> +<carrier_config> +<boolean name="show_cdma_choices_bool" value="true" /> +<boolean name="carrier_settings_enable_bool" value="false" /> +<boolean name="show_apn_setting_cdma_bool" value="true" /> +<boolean name="has_in_call_noise_suppression_bool" value="true" /> +<boolean name="world_phone_bool" value="true" /> +</carrier_config> +</carrier_config_list> |
