sdm710-common: overlay: Enable display color control

This commit is contained in:
ghostrider-reborn 2021-03-01 11:48:05 +00:00 committed by CakesTwix
parent afc6743f5d
commit c9521c1f15
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 12 additions and 0 deletions

View file

@ -482,4 +482,12 @@
<!-- Burn-in protection --> <!-- Burn-in protection -->
<bool name="config_statusBarBurnInProtection">true</bool> <bool name="config_statusBarBurnInProtection">true</bool>
<integer name="config_shift_interval">40</integer> <integer name="config_shift_interval">40</integer>
<!-- List supported color modes. -->
<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>
</resources> </resources>

View file

@ -25,6 +25,10 @@ ro.charger.enable_suspend=true
persist.vendor.cne.feature=1 persist.vendor.cne.feature=1
persist.vendor.dpmhalservice.enable=1 persist.vendor.dpmhalservice.enable=1
# Color control
ro.surface_flinger.has_wide_color_display=1
ro.surface_flinger.use_color_management=1
# Dex2oat # Dex2oat
dalvik.vm.dex2oat64.enabled=true dalvik.vm.dex2oat64.enabled=true
dalvik.vm.systemuicompilerfilter=speed dalvik.vm.systemuicompilerfilter=speed