diff options
author | Christopher Tate <ctate@google.com> | 2017-06-15 14:48:41 -0700 |
---|---|---|
committer | Chris Tate <ctate@android.com> | 2017-07-05 18:29:53 +0000 |
commit | 93252de33e148448c1555012ff9203e0f550d33b (patch) | |
tree | 895b19865ff9523b0ffc8d7b1e8fd978b0b9ca1c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f4d4f9b91357cc354f5a150ddb8ab00bf45c016e (diff) |
Require READ_EXTERNAL_STORAGE to read wallpaper imagery
We now require the READ_EXTERNAL_STORAGE permission for an app to
be allowed to read the system's wallpaper imagery. This is a
logged-but-benign no-op failure for apps targeting API levels up
through Android O, but a crashing failure (SecurityException) for
apps that target API levels newer than O.
Also, marked the permission-requiring parts of the formal API
with appropriate @RequiresPermission annotations.
Bug 30770233
Test: bit CtsPermissionTestCases:.NoWallpaperPermissionsTest
Change-Id: Id75181f05d05e5ca32f5fefcbe15dc81de264dff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions