commit | add074a3bd7507c8205ef9248fe2a81505287c9e | [log] [tgz] |
---|---|---|
author | Jan Sebechlebsky <jsebechlebsky@google.com> | Mon May 08 15:15:28 2023 +0200 |
committer | Jan Sebechlebsky <jsebechlebsky@google.com> | Mon May 08 16:13:17 2023 +0200 |
tree | 8ae33c24475d1c82deb8f2df4d2f8968ad83dab8 | |
parent | f3475fcf118e8069ed6c2123f9c5bc0882d91107 [diff] |
Do not share VirtualDeviceImpl lock with SensorController There's no reason to share those locks and separating the locks breaks lock inversion cycle. Also, return copy of mSensorDescriptors in getSensorDescriptors instead of original map. Bug: 278900649 Test: atest CtsVirtualDevicesTestCases Change-Id: I993ae4f0c2a5590529bcabaa15463956b3aa5b1d