diff options
| author | 2022-03-25 10:10:39 -0700 | |
|---|---|---|
| committer | 2022-05-11 21:39:01 -0700 | |
| commit | ae884c9dd9b9c7a5cffa95ea81209778ef515e94 (patch) | |
| tree | 45f03cfee7326b929e33af7b4727d8f9e939ea78 /libs/androidfw/ResourceTimer.cpp | |
| parent | 7a9cf44cfe5be24dfd52da3bce41a105f3c6771b (diff) | |
Remove manual pregrants for SystemCaptionsService (handled via roles)
DefaultPermissionGrantPolicy was granting the RECORD_AUDIO permission
to the package that provides SystemCaptionsService. This permission is
already managed via roles; specifically it is set in the
`SYSTEM_AUDIO_INTELLIGENCE` role in
PermissionController/res/xml/roles.xml. Therefore the code performing
the pre-grant manually in DefaultPermissionGrantPolicy can be removed.
Bug: 222231605
Test: adb shell dumpsys package com.google.android.as
Test: atest GtsPermissionTestCases:com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Change-Id: I57be6ca431aa00b01ddb14674f555999cdf13acf
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions