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

Commit b941e695 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

surfaceflinger: Initialize Description field

We default Description::mIsWideGamut to false in the constructor.
This assures we'll have a consistent value if this field is
referenced prior to setWideGamut() being called.

Test: Built on aosp_arm-eng; a variation of this CL has been in use on an oc-mr1-dev branch with no noticable issues.
Bug: 71642473
Change-Id: Id498b2a87e7eb50f64e0af1533d22c52d9bc0942
parent 7a947729
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ Description::Description() {
    mOpaque = true;
    mTextureEnabled = false;
    mColorMatrixEnabled = false;
    mIsWideGamut = false;
}

Description::~Description() {}