diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-04-10 12:15:32 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-04-12 20:49:00 +0000 |
commit | fae8a528f1d4a103c644b9d7da6eff3d55cd0b67 (patch) | |
tree | 58e931fad1ab1f81fb981512f3449f5d1cb9bf2a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d41e669fca06ad53e1407a439a1c391fcfb7ab29 (diff) |
(P) 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
Fixes: 72710897
Change-Id: Ib2165d1ae53b80455ebe02e07775853e37a2e339
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions