diff options
author | Roshan Pius <rpius@google.com> | 2018-11-21 11:37:44 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2018-11-26 09:32:38 -0800 |
commit | 7e757ea3b0ff479d8e8d7dac06a026b9bf47250c (patch) | |
tree | d8bc50b4c63100fbc52a9042560a3918a9e03935 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 84b031fe71b4094ed940eea91ec1df832c162b68 (diff) |
WifiScanner: Add location permission & app-ops checks
Pass in the requested package name in every request for
non-privileged requests. We need the exact package name because
some system app shares its uid with a bunch of modules.
Retrieving the package name using the uid (via getNameForUid())
will not work for app-ops checks.
Bug: 117612744
Bug: 113542524
Test: Able to see scan results in wifi picker.
Test: Verified maps working with wifi scans.
Change-Id: Ib9c252e351fbb6cca0b44b2d6ec993d2a2ad655e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions