Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c929590 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Read saturation boost from a persistent property"

parents 3cfa9a9b 3054f004
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -225,6 +225,9 @@ SurfaceFlinger::SurfaceFlinger()
    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()