summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-08 23:13:50 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-08 23:13:50 +0000
commitf34b71dd37b90ebff027d1bbfdd95f90e8fc5729 (patch)
treeed18775a8c6ddfe58b0ea497b0934612c43f6dde
parenteaaaee8d1079eeb0326f8badb959916fac4586b0 (diff)
parentd8252942a783b5c1431603b118febd1120cab332 (diff)
Snap for 11424196 from d8252942a783b5c1431603b118febd1120cab332 to u-keystone-qcom-release
Change-Id: I882c5f9ee5b30b2bb90df978ef01a3518fdc63a6
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index f10e07b4ee..043790e1c1 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -6234,6 +6234,7 @@ void SurfaceFlinger::dumpWideColorInfo(std::string& result) const {
}
LayersProto SurfaceFlinger::dumpDrawingStateProto(uint32_t traceFlags) const {
+ Mutex::Autolock _l(mStateLock);
std::unordered_set<uint64_t> stackIdsToSkip;
// Determine if virtual layers display should be skipped