diff options
| author | 2022-03-14 17:02:33 -0700 | |
|---|---|---|
| committer | 2022-04-27 14:02:37 -0700 | |
| commit | ed8831ed84445f6b844f0b2482dc453f1ba5276a (patch) | |
| tree | f3be8be062d0ade15328e96a4943f733c6555e31 /libs/androidfw/StringPool.cpp | |
| parent | 3d790a167398321eca2b462df83bfc7422b0b91f (diff) | |
Remove manual pregrants for AttentionService (handled via roles)
AttentionService requires the CAMERA permission. This permission is
already managed via roles; specifically it is set in the
`SYSTEM_VISUAL_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: Ie5db64ef13a1b0258fa3f48f8d2cf05fffe7af66
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions