summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-03-05 17:23:28 -0700
committerJeff Sharkey <jsharkey@android.com>2016-03-05 17:23:32 -0700
commit783ee0ca8707a4e2977d1afd42cd01a3885a06e6 (patch)
treeae9a54fa7bbc5c9c3832c4d87083162424fd0505 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta3c1c2297d97c2c442290848e97f1f53162d4b68 (diff)
Ask RingtonePlayer to open data for caching.
When setting default ringtones, RingtoneManager now caches the selected media for playback before the device is unlocked. However, this API hasn't historically required the caller to hold storage permissions. To keep this working, we attempt to delegate ringtone access over through RingtonePlayer, which is what we do for playback. However, because we're caching the real ringtone bits now, we need to be much more careful about the PFDs we're willing to return. This change requires that they be in external storage, and that they have the ringtone/alarm/notification bit set. Bug: 27366059 Change-Id: I59c2adc1d1250a3eac281f190f35a7cb3119967b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions