commit | c9ca6788c65ed3f578d1a1ed0ba7c268254dcb4b | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 26 13:40:31 2016 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 26 14:18:53 2016 -0700 |
tree | b7a4981b001064d8bb4870e4ab6dd6a923dcf124 | |
parent | 34713c04b5e1a897b0fd905a89622059a787f7a7 [diff] |
Camera: Use separate lock for mStreamingRequestId There are cases where evictClientIdByRemote holds mBinderSerializationLock and waits for mRequestLock, and at the same time checkAndStopRepeatingRequest holds mRequestLock and waits for mBinderSerializationLock, causing deadlock. Solution is to use separate lock to protect mStreamingRequestId. Bug: 28295136 Change-Id: I40f8e1ded29abde86bc12b20dd119f9f3371ebb2