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

Commit 58a3381c authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Initialize DrawingState::trustedOverlay to false in constructor" into sc-dev

parents 1d5757d3 b4a2d3a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ Layer::Layer(const LayerCreationArgs& args)
    mDrawingState.postTime = -1;
    mDrawingState.dropInputMode = gui::DropInputMode::NONE;
    mDrawingState.destinationFrame.makeInvalid();
    mDrawingState.isTrustedOverlay = false;

    if (args.flags & ISurfaceComposerClient::eNoColorFill) {
        // Set an invalid color so there is no color fill.