Fix test location provider bug
LocationManager.isProviderEnabled should return true for a test provider if: 1. A test provider is added through LocationManager.addTestProvider 2. The test provider is enabled through LocationManager.setTestProviderEnabled This fix changes the logic if LocationManager.isProviderEnabled and LocationManager.setProviderEnabledForUser to allow users get/set test location provider status. Bug: 72647543 Bug: 77238940 Test: Manual Test: run cts --module CtsLocationTestCases -t android.location.cts.LocationManagerTest Change-Id: Ib241e5b487fd873c1fa0d7ac34b82b8592fc0906
Loading
Please register or sign in to comment