summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2022-06-29 19:01:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-06-29 19:01:32 +0000
commit58a3381c4fdb1d9e2b65ed7ed5f6ee578da5ffaf (patch)
tree6dadf770a1567222c8cab1096d7541bfc0a5fa0c
parent1d5757d3220aac6449a7a1bce9087e6a5a1cf3cb (diff)
parentb4a2d3a77ab2fc8b7e3d88c528c71269651f0ddb (diff)
downloadnative-58a3381c4fdb1d9e2b65ed7ed5f6ee578da5ffaf.tar.gz
Merge "Initialize DrawingState::trustedOverlay to false in constructor" into sc-dev
-rw-r--r--services/surfaceflinger/Layer.cpp1
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.