diff options
author | Songchun Fan <schfan@google.com> | 2020-04-06 16:51:45 -0700 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2020-04-08 17:12:00 -0700 |
commit | bcc899e5c097877b66c8574a90bc47c25acf5718 (patch) | |
tree | 4a8e67d24a0592983adba200d70b856c6eddae15 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b7dda7d9d564f8e797341cdbc07422287a1e582a (diff) |
[permission manager] fix permission check logic
No need to check the permissions of all the apps during installation.
This CL changes the behavior to check all permissions only for:
1) package uninstall
2) package install and this package declares a new permission
BUG: 153384657
Test: manual installation
Test: atest android.permission.cts.PermissionFlagsTest
Test: atest android.permission.cts.RemovePermissionTest
Change-Id: Ie8d1be0d0dc3d9d857dd38868cefa83b8bd7ed21
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions