diff options
author | Winson Chung <winsonc@google.com> | 2022-06-29 19:01:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-06-29 19:01:32 +0000 |
commit | 58a3381c4fdb1d9e2b65ed7ed5f6ee578da5ffaf (patch) | |
tree | 6dadf770a1567222c8cab1096d7541bfc0a5fa0c | |
parent | 1d5757d3220aac6449a7a1bce9087e6a5a1cf3cb (diff) | |
parent | b4a2d3a77ab2fc8b7e3d88c528c71269651f0ddb (diff) | |
download | native-58a3381c4fdb1d9e2b65ed7ed5f6ee578da5ffaf.tar.gz |
Merge "Initialize DrawingState::trustedOverlay to false in constructor" into sc-dev
-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 71e4791fe9..95cfb28b44 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -135,6 +135,7 @@ Layer::Layer(const LayerCreationArgs& args) mDrawingState.postTime = -1; mDrawingState.dropInputMode = gui::DropInputMode::NONE; mDrawingState.destinationFrame.makeInvalid(); + mDrawingState.isTrustedOverlay = false; if (args.flags & ISurfaceComposerClient::eNoColorFill) { // Set an invalid color so there is no color fill. |