Skip to content
Commit 58186562 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 616c2cac
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