commit | 58186562e6355b397557ec8479a8abe7d0df2679 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Tue Sep 07 16:42:48 2021 -0700 |
committer | Kweku Adams <kwekua@google.com> | Tue Sep 07 16:45:38 2021 -0700 |
tree | 86fe136e4fffc41dd7f8fc2551951bce79280492 | |
parent | 616c2caca8e905dbca5579cada0317f6b2851dbe [diff] |
Fix locking in DeviceIdleController. 1. There were several instances where we weren't appropriately locking around instance variables when accessing or changing them. Add the appropriate locking. 2. Annotate lock requirements around variables Bug: 199191752 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: I392da8081afe89a46d0776e634347e67c24ee5e2