commit | 5245b1b207fd2dea17d510a3661438e2df3b0f0d | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Feb 17 17:09:56 2022 +0000 |
committer | Kweku Adams <kwekua@google.com> | Thu Feb 17 17:09:56 2022 +0000 |
tree | d95730779181df6ec4329581375478e6fcdcce78 | |
parent | 485c12cd18c8a822a5a3aac57cb9ddaee760d518 [diff] |
Actually cancel the light alarm. Cancel the light alarm (with AlarmManager) when it's no longer needed instead of just setting the expected time to 0. Bug: 219939849 Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: I699eb72c640c8d39736f5f243f4aae9bcd0b4793