diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-04-12 13:48:13 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-04-14 01:04:37 +0000 |
commit | 5aee5696276650e992c813a778e4e7b6e723f331 (patch) | |
tree | 8b232dc7a786c7e2dc6ed4b41ff6a1c1301e8f76 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 33c37cb37c885a18f073a3fb68eba1c3498e812d (diff) |
DO NOT MERGE (N) Revoke permision when group changed
If a run time permission of a group is already granted we grant the
other permission of the group automatically when requested.
Hence if an already granted permission changed its group during an
update suddenly permission of a potentially not approved group will
get auto-granted.
This is undesirable, hence we revoke the permission during the update
process.
Test: atest android.permission.cts.PermissionGroupChange
Bug: 72710897
Change-Id: Ib2165d1ae53b80455ebe02e07775853e37a2e339
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions