surfaceflinger: default to DisplayColorSetting::ENHANCED
DisplayColorSetting works like a hint. On devices that do not
support RenderIntent::ENHANCE, RenderIntent::COLORIMETRIC will be
picked.
Bug: 79434305
Test: Pixel 2017 and 2018 boot animations
Change-Id: Ie85cca6eae75cf6ada3a4a364c402d09dc2920f9
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index 32dc4f6..e107f42 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -888,7 +888,7 @@
static bool useVrFlinger;
std::thread::id mMainThreadId;
- DisplayColorSetting mDisplayColorSetting = DisplayColorSetting::MANAGED;
+ DisplayColorSetting mDisplayColorSetting = DisplayColorSetting::ENHANCED;
// Applied on Display P3 layers when the render intent is non-colorimetric.
mat4 mEnhancedSaturationMatrix;