diff options
author | Suprabh Shukla <suprabh@google.com> | 2019-03-21 17:25:22 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2019-03-22 01:48:38 +0000 |
commit | 254b3fe3289c3e00766d027084e2f06595e178d9 (patch) | |
tree | a3c9a7c70218c075bfc8653b613d039631b98f0e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7ae19ecebacb8fa9bf6976914925e9c74dcb412c (diff) |
Do not reset per package appop modes for permissions
Settings currently sets modes per package for some special access
permissions like SYSTEM_ALERT_WINDOW and REQUEST_INSTALL_PACKAGES. They
would get reset whenever this is called.
Test: atest --test-mapping
Manually, check that special access permissions do no reset after
installing a package or reboot. Or, use shell commands, e.g.:
1. adb shell appops set com.android.chrome REQUEST_INSTALL_PACAKGES \
allow
2. adb reboot
3. Verify that
adb shell appops get com.android.chrome REQUEST_INSTALL_PACKAGES
returns allow.
Bug: 123581307
Change-Id: Ia839f7acd1b44b279552828427a17c6eb239c002
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions