commit | 71c4ccd5c449e3ce5a6ecb1ca1fa408a10d5451b | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Sep 15 18:29:20 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Sep 15 18:29:20 2021 +0000 |
tree | df53f2f61dd38db991670cc77bf094a6d12d8606 | |
parent | 7b160e3cafeee5fabcf015995056a29f6c9dbd13 [diff] | |
parent | 55bae46ca1de06925b66c6a03440e89b18818d75 [diff] |
Merge "Initialize DrawingState::trustedOverlay to false in constructor" into stage-aosp-master am: 774787c7ce am: 55bae46ca1 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15829456 Change-Id: If5fda7189b74c4334883dca36e0bced2242a3622
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 6ee13ce..d8cead5 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp
@@ -134,6 +134,7 @@ mDrawingState.frameTimelineInfo = {}; mDrawingState.postTime = -1; mDrawingState.destinationFrame.makeInvalid(); + mDrawingState.isTrustedOverlay = false; if (args.flags & ISurfaceComposerClient::eNoColorFill) { // Set an invalid color so there is no color fill.