Skip to content
Commit ed8831ed authored by Nikita Dubrovsky's avatar Nikita Dubrovsky
Browse files

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
parent 3d790a16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment