| commit | b6a891913a0cd43870fb870b1f702d734897af0e | [log] [tgz] |
|---|---|---|
| author | Kweku Adams <kwekua@google.com> | Wed Apr 26 18:05:17 2023 +0000 |
| committer | Kweku Adams <kwekua@google.com> | Thu Apr 27 19:08:27 2023 +0000 |
| tree | a5d51ebd67bf8fe9b8762bd0d39db101250326c3 | |
| parent | 545899f8a9921a3206aa9725fca159a5570c760e [diff] |
Properly handle disabled location prefetch. The controller was still registering for location updates when location prefetch was disabled. Now, it skips requesting location updates altogether when location prefetch is disabled. Bug: 279725615 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: If303d5448acbc4e97132f3713a7795e46eacc5ab