diff options
author | 2019-11-01 13:55:17 -0700 | |
---|---|---|
committer | 2019-11-01 13:58:57 -0700 | |
commit | a820af964671ff076cf1007097e284c1375393b9 (patch) | |
tree | 1e27b0c38fbe412f6a9cff81f5988d444642ab33 /services/surfaceflinger/ClientCache.cpp | |
parent | 0355ecabae2c5e26eedc94150df66ae8a80dd64f (diff) |
Fix the call the onFrameDequeued inside dequeueBuffer
Having a separate mutex lock for calling onFrameDequeued at the end of
the dequeueBuffer function seems to be problematic since there is a
chance that the buffer can be acquired before obtaining this lock
resulting in a null pointer dereference. Moving the call inside the
existing auto-lock scoped blocks in this CL.
Test: CtsCameraTestCases:MultiViewTest#testSharedSurfaceYUVImageReaderSwitch on blueline and crosshatch
Bug: 143542027
Change-Id: If9e4b36ca2c54337eb0e5a6647773db20e43a6a3
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions