summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2018-10-09 18:55:11 +0900
committerLorenzo Colitti <lorenzo@google.com>2018-10-12 16:35:46 +0900
commitf5845d14e1b32a1a7cf39a6fe3a6982931715283 (patch)
tree0c137c92c78716db35fbe6d43829aaeb30484d70 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent85eca488e562275de3f5395fb5ad58d3bd8218bd (diff)
Change permissions checks for setAirplaneMode.
Require NETWORK_SETTINGS (or NETWORK_SETUP_WIZARD) instead of the legacy CONNECTIVITY_INTERNAL permission. The users are as follows: - The system callers (Phone, Settings, SystemUI, VrSettings) all have NETWORK_SETTINGS. - SetupWizard has NETWORK_SETUP_WIZARD - sl4a has NETWORK_STACK Bug: 115302596 Test: builds, boots, airplane mode via SystemUI works Change-Id: I8ca40182bd8b5e3fd9a82296c0cc28de30ed4baf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions