commit | 96ad8222f300c4dd918a15192a8a9c1c4c6fd834 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Thu Nov 16 15:41:45 2017 -0800 |
committer | Chia-I Wu <olv@google.com> | Fri Dec 08 14:08:16 2017 -0800 |
tree | a24e3f47b2a847a712bcced05e6304cf835fa3cb | |
parent | 7e7256ee0955cb3b93fe40efd4e7627e5a549210 [diff] |
libgui: fix a race in CpuConsumer::lockNextBuffer mCurrentLockedBuffers must be accessed with the mutex. Constify mMaxLockedBuffers as well for clarity. Test: libgui_test Change-Id: I7c40d135bcf2aa6a90ecff74d6d8107fc530e815