summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMaggie <yiranwang@google.com>2018-03-21 11:47:28 -0700
committerMaggie Wang <yiranwang@google.com>2018-04-03 18:56:47 +0000
commit2a9409e91457c175be5ee36d3e676a70dc52bdca (patch)
treee679a30bfbd8ec74d646a4a83e505594a99f990a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent642c0be3f35354df689e40010f106526411d2f15 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions