We use a persisten property because Android's various settings
stores are not available early enough to avoid a color change
during the boot animation.
Bug:
62238038
Test: Manual
Change-Id: I905435efe89b5e1c85fc8a396b7888de5c318a18
property_get("ro.sf.disable_triple_buffer", value, "1");
mLayerTripleBufferingDisabled = atoi(value);
ALOGI_IF(mLayerTripleBufferingDisabled, "Disabling Triple Buffering");
+
+ property_get("persist.sys.sf.color_saturation", value, "1.0");
+ mSaturation = atof(value);
}
void SurfaceFlinger::onFirstRef()