commit | fa5f8df1f45ad67c0be6ac68ae57f0da87ac564e | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Wed Feb 13 17:02:51 2019 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Wed Feb 13 17:02:51 2019 -0800 |
tree | 279c301ca2d8e775fdd175135b7837f72488c5c1 | |
parent | ec0ab384811cd1172c63c91dfde526e3717cc167 [diff] [blame] |
SF: Add thread saftey static analysis for InputWindowCommands ref: http://clang.llvm.org/docs/ThreadSafetyAnalysis.html Bug: 124061013 Test: n/a static analysis Change-Id: Ide594386d1e1bf3857be418b3f305c68bebd520e
diff --git a/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h b/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h index e639b4d..495237b 100644 --- a/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h +++ b/services/surfaceflinger/tests/unittests/TestableSurfaceFlinger.h
@@ -234,6 +234,7 @@ } auto handleTransactionLocked(uint32_t transactionFlags) { + Mutex::Autolock _l(mFlinger->mStateLock); return mFlinger->handleTransactionLocked(transactionFlags); }