summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Thomas Vannet <tvannet@google.com> 2022-01-28 17:12:32 -0800
committer Thomas Vannet <tvannet@google.com> 2022-02-03 15:46:12 -0800
commit9346e5338a4a30316b3da3f2d4b289cebc316427 (patch)
treea8c6f094ebb9751600b5a3ff2923595a91052fee /api/api.go
parent4fae26cd4ad173a6b4ff291a38a75ec082a9475e (diff)
Add killed delay param to startOneTimePermissionSession
This param controls how long to wait before revoking permission after every process has been killed. Deprecate previous API and update all known uses of the deprecated API. Use updated API for self-revocation feature. If multiple one-time permission sessions are started for the same package with different parameters, always use the shortest parameters. Test: atest android.permission.cts.RevokeOwnPermissionTest, atest android.permission.cts.OneTimePermissionTest Bug: 210387494 Change-Id: I0c0e21b3b48dd31f0c267d5c8b89336714835289
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions