diff options
| author | 2022-04-14 16:50:03 -0700 | |
|---|---|---|
| committer | 2022-04-15 16:22:02 -0700 | |
| commit | bcbe73414faa79607e8b6bbee09f4df6a0625762 (patch) | |
| tree | d5d9d72073e1509507a9f243821ea75217217457 /libs/androidfw/ZipFileRO.cpp | |
| parent | 73a728edfd4e12d9ec14b44a6e19f8e10f24873b (diff) | |
Remove manual pregrants for ContentCaptureService (now handled via roles)
DefaultPermissionGrantPolicy was granting several permissions to the
package that provides ContentCaptureService. Instead, these permissions
are now managed by roles (PermissionController/res/xml/roles.xml).
As a result of this change, the "Android System Intelligence" package
(com.google.android.as) will no longer have these permissions:
```
ACCESS_MEDIA_LOCATION
ADD_VOICEMAIL
CALL_PHONE
GET_ACCOUNTS
PROCESS_OUTGOING_CALLS
READ_CELL_BROADCASTS
RECEIVE_MMS
RECEIVE_SMS
RECEIVE_WAP_PUSH
SEND_SMS
USE_SIP
WRITE_CALL_LOG
WRITE_CONTACTS
WRITE_EXTERNAL_STORAGE
```
"Android System Intelligence" will maintain these permissions (but now
via roles):
```
ACCESS_BACKGROUND_LOCATION
ACCESS_COARSE_LOCATION
ACCESS_FINE_LOCATION
READ_CALL_LOG
READ_CONTACTS
READ_PHONE_STATE
READ_SMS
```
Bug: 222231605
Test: adb shell dumpsys package com.google.android.as
Test: atest GtsPermissionTestCases:com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Change-Id: If78ad9742c14e10e6a6ab04c600881904b0bad51
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions