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

Commit cf8e4563 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: I0912c6d109ad74b0525cc5505a77177ed1f96e4a
parents 4df1658e 41f48c7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -118,6 +118,7 @@ Layer::Layer(const LayerCreationArgs& args)
    mCurrentState.shadowRadius = 0.f;
    mCurrentState.shadowRadius = 0.f;
    mCurrentState.treeHasFrameRateVote = false;
    mCurrentState.treeHasFrameRateVote = false;
    mCurrentState.fixedTransformHint = ui::Transform::ROT_INVALID;
    mCurrentState.fixedTransformHint = ui::Transform::ROT_INVALID;
    mCurrentState.isTrustedOverlay = false;


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