diff options
author | Ram Periathiruvadi <ramperry@google.com> | 2017-12-08 18:35:10 -0800 |
---|---|---|
committer | Ram Periathiruvadi <ramperry@google.com> | 2018-01-08 08:25:17 -0800 |
commit | 8671feab630c1938691f44502ff7be9c7b03e7c4 (patch) | |
tree | 4cf51771e8251c01b2bd453e2325a64df609f0d8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d93d206cfe45f0ca4252995e781ec1137599ada9 (diff) |
Add a hidden API to inject location.
New API allows system clients with LOCATION_HARDWARE and
ACCESS_FINE_LOCATION to inject a location to the Location Manager. This
is useful in products like Auto, where the location needs to be cached
across reboots.
Bug: b/64125396
Test: Foll. were tested:
1. location can be injected when lastLocation is not available
2. location cannot be injected when lastLocation is already available
Also, tested location availability on different devices for sanity.
Change-Id: I1fd060caafed0431074ae64439ac52e99e0d6032
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions