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
Loading
Please register or sign in to comment