commit | 9e0017e9748e6cd1ed681f4d3aa9b888a02bfa3c | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Wed May 22 19:02:44 2024 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Wed May 22 23:12:34 2024 +0000 |
tree | 1b3d011562d6d16830da41d6b71b8499cfb5c0d3 | |
parent | dba72f5654f6cb489e500d96ce1317e083da85aa [diff] [blame] |
Allow child layers to unset trusted overlay state 2/2 Test: presubmit Bug: 339701674 Change-Id: I1a94b5e5dc1fa64a9e1eb3330b5c5b03af8d2b16
diff --git a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp index f5e5b02..3cf45a7 100644 --- a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp +++ b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
@@ -119,7 +119,7 @@ shadowRadius = 0.f; fixedTransformHint = ui::Transform::ROT_INVALID; destinationFrame.makeInvalid(); - isTrustedOverlay = false; + trustedOverlay = gui::TrustedOverlay::UNSET; dropInputMode = gui::DropInputMode::NONE; dimmingEnabled = true; defaultFrameRateCompatibility = static_cast<int8_t>(scheduler::FrameRateCompatibility::Default);