summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeremy Joslin <jjoslin@google.com>2017-07-14 15:00:53 -0700
committerJeremy Joslin <jjoslin@google.com>2017-08-02 21:34:26 +0000
commit59502ebcfd7c5629cda69326073c7717f3aa3d0e (patch)
treec85cbc15faf6e159bde950c90b6bbd5d776bb794 /tools/aapt2/java/JavaClassGenerator.cpp
parent6e8e322ea114fa609f040b821cb891bb755c7eb9 (diff)
NetworkRecommendationProviders require the location permission.
Any NetworkRecommendationProvider bound to by the system must have access to location (i.e. it holds the location permission and location is enabled on the device). If the location permission is revoked then the binding will be disconnected and the system will revert to the default network recommendation provider (if set and valid). If location access is disabled on the device then the binding will be disconnected but the system won't fall back to the default provider (because it won't have location either), instead the current provider will be re-enabled when location access is enabled again. BUG:62263953 Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest Change-Id: I93c37eeda47840d92f3ca52767e878dc19b46740 (cherry picked from commit d816abe97bce389dc0f56f3f2553b07483eca125)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions