summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Jay Thomas Sullivan <jaysullivan@google.com> 2022-03-25 15:59:33 -0700
committer Jay Sullivan <jaysullivan@google.com> 2022-03-28 19:51:38 +0000
commit9b78af42928f4f1e977b1bc7fcc796d9b6223cf7 (patch)
treefc9a6e63b3a8c67f8968c795c44855e6e91e0051 /libs/input/SpriteController.cpp
parent6a1b6bc9da19bb5f195093c1c2c5aa5616dd0a1c (diff)
Add split perms from W_E_S to media
Add split permissions from WRITE_EXTERNAL_STORAGE to media permissions. The reason for doing this is that the split-permission handling code doesn't handle recursive split-permission mappings, but only direct mappings. This resulted in a problem with WRITE_EXTERNAL_STORAGE because: 1) WRITE_EXTERNAL_STORAGE splits into READ_EXTERNAL_STORAGE, and 2) Recently, we added split permissions from READ_EXTERNAL_STORAGE to READ_MEDIA_AUDIO, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO, and ACCESS_MEDIA_LOCATION The effect is that apps which request WRITE_EXTERNAL_STORAGE are not being granted media storage permissions properly. (Note that, for now, we've not yet added the split to ACCESS_MEDIA_LOCATION, because this scenario has not yet been thoroughly tested.) Bug: 222238273 Test: atest CtsPermissionTestCases CtsPermission3TestCases SplitPermissionsSystemTest Change-Id: I94694b37189ea8ad89edc4f478391ccfe1ccd5b8
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions