summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-01-24 17:17:44 -0700
committerJeff Sharkey <jsharkey@android.com>2019-01-24 17:17:46 -0700
commit87a5616161a2dc2f629bac719f2c27c3349fec1a (patch)
tree2b71c53e708a964482844c0b17c542d2d54cb5a8 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentc1b889d2614068ae5bfc9e874c26b3d04c0802fd (diff)
Verify permissions are only held by media stack.
The WRITE_MEDIA_STORAGE permission is a very powerful permission that grants raw storage access to all devices, and as such it's only appropriate to be granted to the media stack. Any apps with a user-visible component (such as Camera or Gallery apps) must go through public MediaStore APIs, to ensure that users have meaningful permission controls. For example, if the end user revokes the "Music" permission from an app, but that app still has raw access to music via WRITE_MEDIA_STORAGE, that would be a privacy incident. Bug: 118402224 Test: atest android.permission.cts.ProviderPermissionTest Change-Id: Iaf649689ff9e6d4eabbdb242852c179500654b56
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions