Samsung: a80: update & revise overlays

* Added functional overlays

Signed-off-by: firemax13 <mydadisbrave2@gmail.com>
This commit is contained in:
firemax13 2021-01-08 14:09:29 +08:00
parent 72f51849d3
commit 0cd9980543
No known key found for this signature in database
GPG key ID: B46A74734A6FCA43
4 changed files with 51 additions and 21 deletions

View file

@ -1,5 +1,37 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resources> <resources>
<integer-array name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>
<string-array 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_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>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>usb\\d</item>
<item>rndis\\d</item>
</string-array>
<string-array name="config_ephemeralResolverPackage">
<item>com.google.android.gms</item>
</string-array>
<string-array name="radioAttributes">
<item>1,1</item>
<item>0,1</item>
<item>7,1</item>
</string-array>
<string-array name="config_mobile_tcp_buffers"> <string-array name="config_mobile_tcp_buffers">
<item>lte:2097152,4194304,8388608,524288,1572864,2097152</item> <item>lte:2097152,4194304,8388608,524288,1572864,2097152</item>
<item>lte_ca:2097152,4194304,8388608,4096,1048576,2097152</item> <item>lte_ca:2097152,4194304,8388608,4096,1048576,2097152</item>
@ -12,15 +44,6 @@
<item>gprs:4092,8760,11680,4096,8760,11680</item> <item>gprs:4092,8760,11680,4096,8760,11680</item>
<item>evdo:4094,87380,524288,4096,16384,262144</item> <item>evdo:4094,87380,524288,4096,16384,262144</item>
</string-array> </string-array>
<bool name="config_supportDoubleTapWake">true</bool>
<!-- Indicates that connected MAC randomization is supported on this device -->
<bool translatable="false" name="config_wifi_connected_mac_randomization_supported">true</bool>
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
on the headphone/microphone jack. When false use the older uevent framework. -->
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>
<string-array translatable="false" name="config_tether_wifi_regexs"> <string-array translatable="false" name="config_tether_wifi_regexs">
<item>wlan0</item> <item>wlan0</item>
<item>wigig0</item> <item>wigig0</item>

View file

@ -4,4 +4,20 @@
<bool name="config_hotswapCapable">true</bool> <bool name="config_hotswapCapable">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool> <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool> <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_wifi_dual_band_support">false</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
</resources> </resources>

View file

@ -1,24 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<!-- Flag indicating whether we should enable the automatic brightness. <integer name="config_lightSensorWarmupTime">200</integer>
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- Screen brightness used to dim the screen when the user activity <!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. --> that can be set by the user. -->
<integer name="config_screenBrightnessDim">10</integer> <integer name="config_screenBrightnessDim">10</integer>
<!-- Default screen brightness setting. <!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. --> Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">115</integer> <integer name="config_screenBrightnessSettingDefault">115</integer>
<!-- Minimum screen brightness setting allowed by the power manager. <!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. --> The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">5</integer> <integer name="config_screenBrightnessSettingMinimum">2</integer>
<array name="config_autoBrightnessDisplayValuesNits"> <array name="config_autoBrightnessDisplayValuesNits">
<item>12</item> <item>12</item>
<item>17</item> <item>17</item>
@ -51,7 +43,6 @@
<item>655</item> <item>655</item>
<item>700</item> <item>700</item>
</array> </array>
<integer-array name="config_autoBrightnessLevels"> <integer-array name="config_autoBrightnessLevels">
<item>1</item> <item>1</item>
<item>2</item> <item>2</item>
@ -342,7 +333,6 @@
<item>254</item> <item>254</item>
<item>255</item> <item>255</item>
</integer-array> </integer-array>
<array name="config_screenBrightnessNits"> <array name="config_screenBrightnessNits">
<item>2</item> <item>2</item>
<item>2.1</item> <item>2.1</item>

View file

@ -3,4 +3,5 @@
<bool name="config_enableBurnInProtection">true</bool> <bool name="config_enableBurnInProtection">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool> <bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_dozePulsePickup">true</bool> <bool name="config_dozePulsePickup">true</bool>
<integer name="config_screenBrightnessDoze">17</integer>
</resources> </resources>