summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-12-11 17:34:08 -0700
committerJeff Sharkey <jsharkey@android.com>2018-12-11 17:34:11 -0700
commite99566eda81c0b0fe8e3f46c5a8a1a6540377e74 (patch)
treedca967628d8318d65d63614248537c37d6dc46e1 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent4b773c909ad6290cebd4d263d57429f786ab8b14 (diff)
Mechanism for apps to gain write access to media.
For apps that aren't the default gallery or music app, the new storage model in Q only allows them to read media they don't own. We recognize there's a valid use-case for editing or deleting media that an app doesn't own, but we want to get the user involved to confirm the access grant. This is implemented using a RecoverableSecurityException, so existing apps can continue gracefully handling a SecurityException that they recognize. Apps that have become aware of the new permissions model can extract the RemoteAction and invoke it to get the user involved and gain access. Bug: 111892459 Test: atest android.appsecurity.cts.ExternalStorageHostTest#testMediaEscalation Change-Id: Ib34374197c8c1f5236ba8a1062065914e0a9e9f9
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions