diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-02-08 13:03:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-08 13:03:15 +0000 |
commit | d8252942a783b5c1431603b118febd1120cab332 (patch) | |
tree | ed18775a8c6ddfe58b0ea497b0934612c43f6dde | |
parent | f4fb63d41588f245a3ec60ccadc6af05653b56fc (diff) | |
parent | d8db1f2be3178d7b880f9c0e14ab9b602efd2dff (diff) |
Merge "sf: use mStateLock in dumpDrawingStateProto" into u-keystone-qcom-dev
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 1 |
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 |