diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-10-18 15:32:29 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-11-08 09:32:01 -0800 |
commit | 17f65afe3bf42fbf50c6fdd789ce38a4a56438ed (patch) | |
tree | 4c5f1096f628e843f7f21e640e7a40d79690801e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e1b277a413fc791ba62c2df77ade9aeb6542e3b8 (diff) |
Split permissions inherit state from their parents
The old hack to grant permissions on upgrade was removed. The new code
applies to
- platfrom upgrade
- initial package installation
- package update
Inheriting the grant state is the default behavior for split permissions.
Special cases will be added later.
Also make sure to revoke the permission once the app declares that it is
aware of the permission.
Test: atest CtsPermissionTestCases:SplitPermissionTest
Change-Id: Ie51971530607f0b585cf7a3e11b01b11a28e1de9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions