summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Varun Shah <varunshah@google.com> 2023-08-23 17:19:46 +0000
committer Varun Shah <varunshah@google.com> 2023-08-25 23:12:12 +0000
commitad842da783bf26056a7ab040fabaf7e29d98dda7 (patch)
treed442404a53a8621e97f2cd6831c0c0dda288bd35 /libs/androidfw/ZipFileRO.cpp
parent1983fd773a2b76ed52757d51675b077f278f8468 (diff)
Update certain APIs to require the REPORT_USAGE_STATS permission.
Add requirement of either being the system or having the REPORT_USAGE_STATS permission in order to call any report events related APIs. This includes the reportChooserSelection and reportUserInteraction APIs. Also add the permission to Shell so the APIs can be tested via CTS. Bug: 296056771 Bug: 218679369 Test: atest CtsUsageStatsTest Change-Id: I3b28e00b9da73cd4bc051f3c5e03e29a734a1df0
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions