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

Commit 8c3de17e authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I7ddafc10faa4f00eebe4505327f312f1035a11d7
parents cac2aa75 41f48c7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -118,6 +118,7 @@ Layer::Layer(const LayerCreationArgs& args)
    mCurrentState.shadowRadius = 0.f;
    mCurrentState.treeHasFrameRateVote = false;
    mCurrentState.fixedTransformHint = ui::Transform::ROT_INVALID;
    mCurrentState.isTrustedOverlay = false;

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