summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2017-02-15 10:28:51 -0800
committerSvet Ganov <svetoslavganov@google.com>2017-02-15 20:32:41 -0800
commitda0acdf938f1d6e7a978e143d5d80d8dd5af52ad (patch)
treea87f84a6afb69607c20513adb4730af5daf7ff92 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3d52f79be4dba94f046709fabc1bfb911a670709 (diff)
Auto-grant background execution and data access
Companion apps can declare they want background access and background execution exceptions via dedicated permissions in their manifest. If such a permission is requested we auto-grant the corresponding exception after the user has chosen a device from the companion UI. These permissions are appop ones allowing us to use the app ops for gauging whether the user has made a change after we auto-granted the permission since we would like to revoke these special privileges when the app disassociates itself from the companion device if the user did not make an excplicit choice otherwise. While at this auto-grant fixed location permission to the companion device discovery service. Test: manual Change-Id: I46ee4291e5e5a8f7613f0dd75eb61d6b9341f306
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions