universal7870: rework overlay and move some values to specific

This commit is contained in:
Alejandro 2020-06-29 10:53:54 +02:00
parent 0498996eb5
commit e539e1845e
2 changed files with 46 additions and 12 deletions

View file

@ -66,7 +66,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">4</integer>
<!-- Boolean indicating whether we want button brightness support -->
<bool name="config_button_brightness_support">false</bool>
@ -346,9 +346,6 @@
<!-- Flag indicating if device supports EAP SIM, AKA, AKA' -->
<bool name="config_eap_sim_based_auth_supported">true</bool>
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
<string-array name="config_mobile_tcp_buffers">
<item>lte:1048576,3145728,4194304,524288,1572864,2097152</item>
</string-array>
@ -447,16 +444,9 @@
<integer translatable="false" name="config_wifi_wakeup_available">1</integer>
<bool name="config_proxiSensorWakupCheck">true</bool>
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool>
<!-- enable support for configure max aspect ratio per app -->
<bool name="config_haveHigherAspectRatioScreen">false</bool>
<!-- Allow automatic adjusting of the screen brightness while dozing in low power state. -->
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
<bool name="config_allowAutoBrightnessWhileDozing">false</bool>
<!-- Enable system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">true</bool>
@ -464,5 +454,42 @@
<!-- Indicate whether the SD card is accessible without removing the battery. -->
<bool name="config_batterySdCardAccessibility">true</bool>
<!-- Hardware 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:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">83</integer>
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareWakeKeys">65</integer>
<!-- Flag indicating whether we should enable smart battery. -->
<bool name="config_smart_battery_available">true</bool>
<!-- Smart charge sysfs node and value for suspend/resume charging and specify support-->
<bool name="config_SmartChargingAvailable">true</bool>
<string name="config_SmartChargingSysfsNode" translatable="false">/sys/class/power_supply/battery/input_suspend</string>
<string name="config_SmartChargingSupspendValue" translatable="false">1</string>
<string name="config_SmartChargingResumeValue" translatable="false">0</string>
</resources>

View file

@ -151,4 +151,11 @@
-->
<!-- <integer name="config_longPressOnAppSwitchBehavior">9</integer> -->
<!-- Defines the actions shown in advanced reboot submenu -->
<string-array name="config_restartActionsList">
<item>restart</item>
<item>restart_recovery</item>
<item>restart_download</item>
</string-array>
</resources>