diff options
| author | Philip P. Moltmann <moltmann@google.com> | 2019-03-04 16:48:22 -0800 |
|---|---|---|
| committer | Philip P. Moltmann <moltmann@google.com> | 2019-03-15 16:48:18 -0700 |
| commit | c94ba820fb881781d0d86648bb637d5c2a0f7c63 (patch) | |
| tree | addc797c2f8c5e6ac3d4e10f414436fd442e6a8e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 6983ad3f17566a44d36886affb5e877e7e4ae34c (diff) | |
Implement dual-permission model for storage.
- Pre-Q apps use the legacy READ/WRITE_EXTERNAL_STORAGE permissions
- Post-Q apps use the READ_MEDIA_* permissions
- Grandfathered Q apps have all storage permission granted fixed. In the
UI they show only the legacy storage permissions
- The OP_LEGACY_STORAGE controls whether an app is grandfathered
Data providers should check both old and new permission model as
permissions that are not used are set as granted.
Test: atest CtsPermissionTestCases:android.permission.cts.DualStoragePermissionModelTest
Fixes: 126785920
Change-Id: I668530e62125d95f122a94ae39f17007391bcaa5
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
