sanders: set default wifi country code and allow resetting

* Fix 5ghz option sometimes not appearing on hotspot settings

Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
This commit is contained in:
Henrique Silva
2018-04-16 08:52:50 -03:00
committed by Keertesh19
parent 7174dd3530
commit 5dd980d9c2
2 changed files with 7 additions and 0 deletions

View File

@@ -100,6 +100,10 @@
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>
<!-- Boolean indicating whether or not to revert to default country code when cellular
radio is unable to find any MCC information to infer wifi country code from -->
<bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">true</bool>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>

View File

@@ -284,6 +284,9 @@ on boot
# Create vpp directory
mkdir /persist/vpp 0770 media media
# default country code
setprop ro.boot.wificountrycode 00
# msm specific files that need to be created on /data
on post-fs-data
mkdir /tombstones/modem 0771 system system