Fix location QuickSettings bug
Problem: LocationManager.getAllProviders() is only returning "network" for Quick Settings. The root cause is getAllProviders() method is filtering results by permission when it shouldn't. 1. Remove permission check logic in getAllProviders. 2. Exclude PASSIVE_PROVIDER from setLocationEnabled and getLocationEnabled. Bug: 72495506 Test: Robo Test: Manual Change-Id: I37a2238d094ffbdff788e90b71d1e70b81fca79a
Loading
Please register or sign in to comment