diff options
| author | 2021-09-15 18:06:11 +0000 | |
|---|---|---|
| committer | 2021-09-15 18:06:11 +0000 | |
| commit | 774787c7cee4e767a1eb465908e7ed38278297ba (patch) | |
| tree | 218c2b043868e901a3743b2a6d47afa98f2fed4d | |
| parent | 6f714029bb5a321ef924f526defa1f131d478307 (diff) | |
| parent | cccbb97d57caded61785c70ac6d5760037a15d3c (diff) | |
Merge "Initialize DrawingState::trustedOverlay to false in constructor" into stage-aosp-master
| -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. |