Disable color management by default on non-12 vendors
Color management fixes flickering screen on mediatek devices The comment in SurfaceFlinger.cpp says that color mangement was disabled by default on Android <=11, so it's simply restoring old behavior
This commit is contained in:
parent
9152974ac7
commit
d6a1c9b772
@ -948,3 +948,9 @@ fi
|
||||
|
||||
# Disable secondary watchdogs
|
||||
echo -n V > /dev/watchdog1
|
||||
|
||||
if [ "$vndk" -le 30 ];then
|
||||
# On older vendor the default behavior was to disable color management
|
||||
# Don't override vendor value, merely add a fallback
|
||||
setprop ro.surface_flinger.use_color_management false
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user