commit | af615e7baf003cb5104ca11143df84e28d071774 | [log] [tgz] |
---|---|---|
author | Thomas Vannet <tvannet@google.com> | Wed Jan 05 17:55:30 2022 -0800 |
committer | Thomas Vannet <tvannet@google.com> | Tue Jan 11 16:32:40 2022 -0800 |
tree | a7f2b6ca337d8caf5c2b7a2f2ffd85cecb6ba0aa | |
parent | e503303146bb0f724558512977c0b29e32f9e0f3 [diff] |
Add self revocation public API Test: Manual test using a non-privileged app, atest android.permission.cts.SelfRevokeRuntimePermissionTest When calling the API, the permission (along with any other permissions from the same group) for the current package is downgraded to a one-time permission, and a one-time permission session is started. Bug: 210387494 Change-Id: I9f061cbc8c3db720127c96200fe94a644246b6d7