summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2024-03-09 01:16:00 -0800
committerLinux Build Service Account <lnxbuild@localhost>2024-03-09 01:16:00 -0800
commitd6c9aed62fea3dcd930c6dadca2fdccc72cc01be (patch)
treeed18775a8c6ddfe58b0ea497b0934612c43f6dde
parentd9a76c23430a511c7da35c2785277146a1753e14 (diff)
parentf34b71dd37b90ebff027d1bbfdd95f90e8fc5729 (diff)
Merge f34b71dd37b90ebff027d1bbfdd95f90e8fc5729 on remote branch
Change-Id: I87da8a20689087df4deb06d791ffccbfc9ef3e19
-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