zenfone8: Update overlay frameworks

Change-Id: Ib02a8e02d089e86079d1811ceb8fdc46bbd7c8b7
diff --git a/overlay/frameworks/base/core/res/res/values-mcc310-mnc590/config.xml b/overlay/frameworks/base/core/res/res/values-mcc310-mnc590/config.xml
deleted file mode 100644
index 88ff4b8..0000000
--- a/overlay/frameworks/base/core/res/res/values-mcc310-mnc590/config.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2012, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-**     http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
--->
-
-<resources>
-    <string-array translatable="false" name="config_gpsParameters">
-        <item>SUPL_HOST=supl.google.com</item>
-        <item>SUPL_PORT=7275</item>
-        <item>SUPL_VER=0x20000</item>
-        <item>SUPL_MODE=3</item>
-        <item>SUPL_ES=0</item>
-        <item>LPP_PROFILE=3</item>
-        <item>USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1</item>
-        <item>A_GLONASS_POS_PROTOCOL_SELECT=0</item>
-        <item>GPS_LOCK=0</item>
-    </string-array>
-</resources>
diff --git a/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml b/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml
deleted file mode 100644
index 88ff4b8..0000000
--- a/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2012, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-**     http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
--->
-
-<resources>
-    <string-array translatable="false" name="config_gpsParameters">
-        <item>SUPL_HOST=supl.google.com</item>
-        <item>SUPL_PORT=7275</item>
-        <item>SUPL_VER=0x20000</item>
-        <item>SUPL_MODE=3</item>
-        <item>SUPL_ES=0</item>
-        <item>LPP_PROFILE=3</item>
-        <item>USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1</item>
-        <item>A_GLONASS_POS_PROTOCOL_SELECT=0</item>
-        <item>GPS_LOCK=0</item>
-    </string-array>
-</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 2ef8b2c..b4fe224 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -21,7 +21,7 @@
    <!-- The list of vendor package signatures that should also be considered
          platform signatures, specifically for use on devices with a vendor partition. -->
     <string-array name="config_vendorPlatformSignatures" translatable="false">
-        <item>308203cd308202b5a003020102020900da4525ac24d5d747300d06092a864886f70d01010b0500307e310b3009060355040613025457310f300d06035504080c0654616977616e310f300d06035504070c065461697065693110300e060355040a0c074173757354656b310c300a060355040b0c034d43503110300e06035504030c075a533633304b4c311b301906092a864886f70d010901160c61646d40617375732e636f6d301e170d3138313033303033303631375a170d3439313033313033303631375a307e310b3009060355040613025457310f300d06035504080c0654616977616e310f300d06035504070c065461697065693110300e060355040a0c074173757354656b310c300a060355040b0c034d43503110300e06035504030c075a533633304b4c311b301906092a864886f70d010901160c61646d40617375732e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100aaf874a6537bc634f9429878d8349c550a2e4019b6399b285239f5c646edfec88303b0c82a6d69111ed2c93f99264e0353fd31881a3e586c35508dab6025ca50e41cd9c43e9c4cfbca94e9e7423a007289dce6251efab9dfcbbbb17863a1ca1621c70edbb190b2ba68dcde05bdd1b71de5e9a85409889c1fecb381cf24ba83cd039dd8251c988682f76103c1fffbbf966d2615890b558320ea057ab237c5ccb98742fec84a975cd3f9f6f7e25dc0a116e3cddc5d47f5a15a976bc7df75ffd3727875215e51fb7e4f7cdf3d4a782e50dd5e66dcdaa6326662eba2d0401e7b5f41dbc94954161db550eddc4f0cde815c367950d97e2c22a6d795d68a69611426cb020103a350304e301d0603551d0e0416041476a169896c55de9b8973ef1e0c7ef18f79a0b4df301f0603551d2304183016801476a169896c55de9b8973ef1e0c7ef18f79a0b4df300c0603551d13040530030101ff300d06092a864886f70d01010b0500038201010026a536e3fee44f88c21777ce647422b7e4e82aa3a6ea5f116e7749ba801e731a4c00beab5967c34dde93abca4cc3688d8efd74e6a0a3d9df882bb57c77cf80150395feb3941778de8a81bb6d161a753861ef0ca663d5206bf9671680cb50434908cd4e094c64b279148d4441456935d42aba3c434707935bc996e60aa882f008d4ccb9915b7593decb52a839eed9b75bb61129d7d34c0a10ecce8d8c48f221cbe7ace632cd47e8a529988fb4e0f5da85fffd15543605b9e680d9c2dda08a33ec4810c9c36b9d9464466cb516a4885c6f3d84ade64881742eb5b22c2c78c40856734bfe6805876165f5dfb568c9e834d7a90ccec3ef873f91305ed9976370b740</item>
+        <item>30820407308202efa003020102020900889c0e0c6e0cc0f6300d06092a864886f70d01010b0500308199310b300906035504061302434e3110300e06035504080c074a69616e677375310f300d06035504070c0653757a686f75311e301c060355040a0c154153555354654b20434f4d505554455220494e432e31163014060355040b0c0d4657205226442043656e7465723110300e06035504030c075a533539304b53311d301b06092a864886f70d010901160e61646d696e40617375732e636f6d301e170d3230303930393131313334355a170d3438303132363131313334355a308199310b300906035504061302434e3110300e06035504080c074a69616e677375310f300d06035504070c0653757a686f75311e301c060355040a0c154153555354654b20434f4d505554455220494e432e31163014060355040b0c0d4657205226442043656e7465723110300e06035504030c075a533539304b53311d301b06092a864886f70d010901160e61646d696e40617375732e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a6cd1bb3276706db26698f0a8225b2c6e203e1288273858641dba63f4f9d97ee6d7123ea71a2cf76614ee2fba1948473f0a3be940e1453d1291f63387280c34fe256ca0f1d6de18fbd66ec7906fc0c06f3e86c4e0bc6c6fe311a9a5afd44f112d125eb82058c8586c398195b73288ece32d2eced6990e6421e8909fc8b2f3a8f27d643ed2e3fb87b4b68fed7dff8f0bf86acfee0ff676e4ccec9216c3626b5fc494884793105d299f9cf62eb0ad7a65482c0e3bc63aba9fcad5cd8215210c7aa1d0531f8bd42e839c0cd404bee0aa6a825b7d251a74d61cb453e5db25cf6ca4d33a46c521f5a1c7f3db9eca2d480cd59d0d261d38307b3442b117a678bdb3abf0203010001a350304e301d0603551d0e04160414a25b3fbdc867a1e0f72acf0874d8b5323815ce5b301f0603551d23041830168014a25b3fbdc867a1e0f72acf0874d8b5323815ce5b300c0603551d13040530030101ff300d06092a864886f70d01010b050003820101009c3a06db26b9545dcd63153e12ad59b3ef6ae3377280d599270ec2d528be4893d221a732b7b0bba76e281cbf3dbbe77118f6162fae5373911211a2b7342b40c14527eb4a7880ef0b9de28db312f41b3d2eea650824a176e92a8c0904ffe80384e628e5e11d719186b8bb0909a25bea3e6bb0d53d97ab0b9efa7758d25e28ed41b0a4ef60b654175eedda999ad99847ef9c9d83381d404ba58eadc46f10647958fe84be7086d37280682c11147fe11da413d53f55f8a9b10350cef28b9d2a9c1b255488498f0ce628eb3f4b35d85761f2af50421e9d736ecdfd630ef007c798f79b5690560165ae7afd8afb3c0371f8267a080708bb1aee7e8f326f8a56517bc8</item>
     </string-array>
 
     <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
@@ -82,58 +82,56 @@
          array. The brightness values must be non-negative and non-decreasing. This must be
          overridden in platform specific overlays -->
     <array name="config_autoBrightnessDisplayValuesNits">
-        <item>10</item>
-        <item>15</item>
-        <item>58</item>
+        <item>8</item>
+        <item>11</item>
+        <item>35</item>
+        <item>52</item>
+        <item>67</item>
         <item>81</item>
-        <item>106</item>
-        <item>135</item>
+        <item>103</item>
+        <item>119</item>
+        <item>130</item>
+        <item>138</item>
+        <item>151</item>
         <item>164</item>
-        <item>183</item>
-        <item>198</item>
-        <item>210</item>
-        <item>227</item>
-        <item>245</item>
-        <item>262</item>
-        <item>331</item>
-        <item>379</item>
-        <item>416</item>
-        <item>433</item>
-        <item>441</item>
-        <item>460</item>
-        <item>480</item>
-        <item>500</item>
-        <item>520</item>
-        <item>530</item>
-        <item>600</item>
-        <item>1999</item>
+        <item>176</item>
+        <item>229</item>
+        <item>264</item>
+        <item>291</item>
+        <item>303</item>
+        <item>310</item>
+        <item>314</item>
+        <item>319</item>
+        <item>399</item>
+        <item>405</item>
+        <item>405</item>
+        <item>405</item>
+        <item>405</item>
     </array>
 
     <integer-array name="config_screenBrightnessBacklight">
-        <item>2</item>
-        <item>4</item>
-        <item>6</item>
-        <item>25</item>
-        <item>35</item>
-        <item>45</item>
-        <item>58</item>
-        <item>70</item>
-        <item>78</item>
-        <item>85</item>
-        <item>90</item>
-        <item>97</item>
-        <item>105</item>
-        <item>112</item>
-        <item>141</item>
-        <item>162</item>
-        <item>178</item>
-        <item>185</item>
-        <item>188</item>
-        <item>197</item>
-        <item>205</item>
-        <item>214</item>
-        <item>222</item>
-        <item>226</item>
+        <item>1</item>
+        <item>5</item>
+        <item>7</item>
+        <item>22</item>
+        <item>33</item>
+        <item>42</item>
+        <item>51</item>
+        <item>65</item>
+        <item>75</item>
+        <item>82</item>
+        <item>87</item>
+        <item>95</item>
+        <item>103</item>
+        <item>111</item>
+        <item>144</item>
+        <item>166</item>
+        <item>183</item>
+        <item>191</item>
+        <item>195</item>
+        <item>198</item>
+        <item>201</item>
+        <item>251</item>
         <item>255</item>
     </integer-array>
     <!-- An array of floats describing the screen brightness in nits corresponding to the backlight
@@ -143,31 +141,29 @@
          brightness modes but only the maximum brightness value obtainable in a sustainable manner.
          This array should be equal in size to config_screenBrightnessBacklight -->
     <array name="config_screenBrightnessNits">
-        <item>4</item>
-        <item>10</item>
-        <item>15</item>
-        <item>58</item>
+        <item>2</item>
+        <item>8</item>
+        <item>11</item>
+        <item>35</item>
+        <item>52</item>
+        <item>67</item>
         <item>81</item>
-        <item>106</item>
-        <item>135</item>
+        <item>103</item>
+        <item>119</item>
+        <item>130</item>
+        <item>138</item>
+        <item>151</item>
         <item>164</item>
-        <item>183</item>
-        <item>198</item>
-        <item>210</item>
-        <item>227</item>
-        <item>245</item>
-        <item>262</item>
-        <item>331</item>
-        <item>379</item>
-        <item>416</item>
-        <item>433</item>
-        <item>441</item>
-        <item>460</item>
-        <item>480</item>
-        <item>500</item>
-        <item>520</item>
-        <item>530</item>
-        <item>596</item>
+        <item>176</item>
+        <item>229</item>
+        <item>264</item>
+        <item>291</item>
+        <item>303</item>
+        <item>310</item>
+        <item>314</item>
+        <item>319</item>
+        <item>399</item>
+        <item>405</item>
     </array>
 
     <!-- Stability requirements in milliseconds for accepting a new brightness level.  This is used
@@ -180,7 +176,7 @@
 
     <!-- Minimum screen brightness setting allowed by the power manager.
          The user is forbidden from setting the brightness below this level. -->
-    <integer name="config_screenBrightnessSettingMinimum">2</integer>
+    <integer name="config_screenBrightnessSettingMinimum">1</integer>
 
     <!-- Default screen brightness setting.
          Must be in the range specified by minimum and maximum. -->
@@ -189,18 +185,6 @@
     <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
     <bool name="config_unplugTurnsOnScreen">true</bool>
 
-    <!-- Integer thresholds, do not connect to APs with RSSI lower than these values  -->
-    <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-82</integer>
-    <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-85</integer>
-
-    <!-- Integer thresholds for low network score, should be somewhat less than the entry threshholds -->
-    <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-82</integer>
-    <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-85</integer>
-
-    <!-- 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">false</bool>
-
     <!-- This string array should be overridden by the device to present a list of network
          attributes.  This is used by the connectivity manager to decide which networks can coexist
          based on the hardware -->
@@ -213,16 +197,16 @@
     <string-array translatable="false" name="networkAttributes">
         <item>wifi,1,1,1,-1,true</item>
         <item>mobile,0,0,0,-1,true</item>
-        <item>mobile_mms,2,0,4,60000,true</item>
+        <item>mobile_mms,2,0,2,60000,true</item>
         <item>mobile_supl,3,0,2,60000,true</item>
         <item>mobile_dun,4,0,2,60000,true</item>
         <item>mobile_hipri,5,0,3,60000,true</item>
         <item>mobile_fota,10,0,2,60000,true</item>
         <item>mobile_ims,11,0,2,60000,true</item>
         <item>mobile_cbs,12,0,2,60000,true</item>
-        <item>bluetooth,7,7,2,-1,true</item>
-        <item>mobile_emergency,15,0,5,-1,true</item>
-        <item>ethernet,9,9,9,-1,true</item>
+        <item>wifi_p2p,13,1,0,-1,true</item>
+        <item>mobile_ia,14,0,2,-1,true</item>
+        <item>mobile_emergency,15,0,2,-1,true</item>
     </string-array>
 
     <!-- Whether to enable network location overlay which allows network
@@ -259,15 +243,6 @@
          The default is false. -->
     <bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
 
-    <!-- Disable lockscreen translucent decor by default -->
-    <bool name="config_enableLockScreenTranslucentDecor">true</bool>
-
-    <!--  Maximum number of supported users -->
-    <integer name="config_multiuserMaximumUsers">4</integer>
-
-    <!--  Whether Multiuser UI should be shown -->
-    <bool name="config_enableMultiUserUI">true</bool>
-
     <!-- Screen brightness when dozing -->
     <integer name="config_screenBrightnessDoze">10</integer>
 
@@ -320,19 +295,6 @@
     <!-- Whether device supports double tap to wake -->
     <bool name="config_supportDoubleTapWake">true</bool>
 
-    <!-- Values for GPS configuration -->
-    <string-array translatable="false" name="config_gpsParameters">
-        <item>SUPL_HOST=supl.google.com</item>
-        <item>SUPL_PORT=7275</item>
-        <item>SUPL_VER=0x20000</item>
-        <item>SUPL_MODE=1</item>
-        <item>SUPL_ES=1</item>
-        <item>LPP_PROFILE=0</item>
-        <item>USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1</item>
-        <item>A_GLONASS_POS_PROTOCOL_SELECT=0</item>
-        <item>GPS_LOCK=0</item>
-    </string-array>
-
     <!-- Flag specifying whether VoLTE TTY is supported -->
     <bool name="config_carrier_volte_tty_supported">true</bool>
 
@@ -346,6 +308,9 @@
 
     <!-- Vibrator pattern for feedback about touching a virtual key -->
     <integer-array name="config_virtualKeyVibePattern">
+        <item>0</item>
+        <item>10</item>
+        <item>20</item>
         <item>30</item>
     </integer-array>
 
@@ -354,9 +319,6 @@
         <item>40</item>
     </integer-array>
 
-    <!-- Should the pinner service pin the Camera application? -->
-    <bool name="config_pinnerCameraApp">true</bool>
-
     <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
     <integer name="config_shutdownBatteryTemperature">650</integer>
 
@@ -396,9 +358,6 @@
         com.android.internal.os.DeviceKeyHandler interface. -->
     <string name="config_deviceKeyHandlerClass" translatable="false">org.omnirom.device.KeyHandler</string>
 
-    <!-- Enable system navigation keys. -->
-    <bool name="config_supportSystemNavigationKeys">true</bool>
-
     <!-- enable support for configure max aspect ratio per app -->
     <bool name="config_haveHigherAspectRatioScreen">true</bool>
 
@@ -439,21 +398,6 @@
          The default is false. -->
     <bool name="config_lidControlsSleep">true</bool>
 
-    <!-- Boolean indicating if current platform supports BLE peripheral mode -->
-    <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
-
-    <!-- Boolean indicating if current platform supports HFP inband ringing -->
-    <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
-
-     <!-- Flag indicating if the speed up audio on mt call code should be executed -->
-    <bool name="config_speed_up_audio_on_mt_calls">true</bool>
-
-    <!-- Operating volatage for bluetooth controller. 0 by default-->
-    <integer name="config_bluetooth_operating_voltage_mv">3300</integer>
-
-    <!-- True if Unprocessed audio source supports the required frequency range and level -->
-    <bool name="config_supportAudioSourceUnprocessed">true</bool>
-
     <!-- Hardware 'face' keys present on the device, stored as a bit field.
          This integer should equal the sum of the corresponding value for each
          of the following keys present:
@@ -573,6 +517,7 @@
     <integer-array name="config_availableColorModes">
         <item>0</item> <!-- COLOR_MODE_NATURAL -->
         <item>1</item> <!-- COLOR_MODE_BOOSTED -->
+        <item>2</item> <!-- COLOR_MODE_SATURATED -->
         <item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
     </integer-array>