diff options
| author | 2021-09-15 18:14:46 +0000 | |
|---|---|---|
| committer | 2021-09-15 18:14:46 +0000 | |
| commit | 55bae46ca1de06925b66c6a03440e89b18818d75 (patch) | |
| tree | 5df1e8127131f8f09e9e1e34c90f7e6a83ac969d /services/surfaceflinger/Layer.cpp | |
| parent | aeaae2655fa7e8ab05ef583f18ee69cbfa46de4e (diff) | |
| parent | 774787c7cee4e767a1eb465908e7ed38278297ba (diff) | |
Merge "Initialize DrawingState::trustedOverlay to false in constructor" into stage-aosp-master am: 774787c7ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15829456
Change-Id: I153fe3b4c9fcf0be8123133599cd2199119a1602
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index e4a777f3c7..75dd51c992 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -134,6 +134,7 @@ Layer::Layer(const LayerCreationArgs& args) 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. |