Skip to content
Commit 86bf169c authored by Thomas Vannet's avatar Thomas Vannet
Browse files

Fix self-revocation for background permissions.

This includes a fix to actually revoke background permissions at the end
of a one-time-permission session, and a UI fix to correctly display a
one-time background permission as "Ask every time" on the "App
permissions" page.
This now makes it consistent with the settings page showing the status
of an individual permission group. Both the permission group status page
and the app permissions page now have the same behavior for one-time and
self-revoked permissions (until the revocation is triggered on kill).

Bug: 210387494
Test: atest android.permission.cts.RevokeOwnPermissionTest
Change-Id: I951d4ff4d528088c47d511b7a41f82ce8064688a
parent e8cb28e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment