commit | 65bee228207da4064b09abc4c2b88cd7b797890b | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Mon Jun 26 14:27:18 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 29 04:41:54 2017 +0000 |
tree | 5a58d1948828a6f2a40b90a1a26c5762c9ae3daf | |
parent | 11b9a24d51f5c4b95185a13fc46481a05b0a5274 [diff] |
libgui: New mutex for ConsumerBase frame callbacks Adds a new mutex to protect ConsumerBase's mFrameAvailableListener separately from the main mMutex. This prevents deadlocks when trying to perform callbacks in response to other calls that come through ConsumerBase. Bug: 62915791 Test: EncodeVirtualDisplayWithCompositionTest# testRenderingMaxResolutionRemotely Change-Id: I244dc2d83488e452d9690c0d7847c9ff15a95dbb (cherry picked from commit 95971c8172495f7b6a0ede1a3508472b9a4e7b36)