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

Fix location provider mismatch.

Requesting location updates without specifying a provider tended to use
the FUSED provider under the hood, but DeviceIdleController was checking
for the NETWORK provider instead. Switch to explicitly check for the
FUSED provider and request updates from the FUSED provider so that the
system can be consistent and avoid system crashes if the FUSED provider
is missing.

Bug: 274369433
Bug: 274572355
Test: atest DeviceIdleTest
Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Change-Id: I98bab13d3cc685f504c934b4714543d1b16a612c
parent 9d1c9281
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