Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit add074a3 authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

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
parent f3475fcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment