diff options
author | Robin Lee <rgl@google.com> | 2021-11-09 23:18:52 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-09 23:18:52 +0000 |
commit | 8c3de17e5d6c4cb7bd2441254bc5cf227e66f6f1 (patch) | |
tree | baedcf1a0dbef74ee0dbd1c20b4447543c78b33b | |
parent | cac2aa75175bd37e49dd8f8c134544aa211b494e (diff) | |
parent | 41f48c7b10132c94822ab109de99978ee65cc743 (diff) | |
download | native-8c3de17e5d6c4cb7bd2441254bc5cf227e66f6f1.tar.gz |
DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349
Change-Id: I7ddafc10faa4f00eebe4505327f312f1035a11d7
-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 6817c5aabc..fc93e141d3 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -118,6 +118,7 @@ Layer::Layer(const LayerCreationArgs& args) mCurrentState.shadowRadius = 0.f; mCurrentState.treeHasFrameRateVote = false; mCurrentState.fixedTransformHint = ui::Transform::ROT_INVALID; + mCurrentState.isTrustedOverlay = false; if (args.flags & ISurfaceComposerClient::eNoColorFill) { // Set an invalid color so there is no color fill. |