commit | 95971c8172495f7b6a0ede1a3508472b9a4e7b36 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Mon Jun 26 14:27:18 2017 -0700 |
committer | Dan Stoza <stoza@google.com> | Mon Jun 26 14:27:18 2017 -0700 |
tree | 1de55d3c919e9d0c075b9841f1a124dd15e914f7 | |
parent | a17b14eb92f6c21a9cea97ed0ca30df74da9fc29 [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