diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-11-12 10:39:56 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2014-11-13 13:52:41 -0800 |
commit | 3b566b84708eea887ab3e1e1bbba4b2242b261d6 (patch) | |
tree | 5ef557eb5da77d6bfbe882a5d7dabb9f240311e2 /packages/WallpaperCropper/src/com/android | |
parent | 521ca5f8fba355f526e82dc3a8fc6520e4379874 (diff) | |
download | frameworks_base-3b566b84708eea887ab3e1e1bbba4b2242b261d6.zip frameworks_base-3b566b84708eea887ab3e1e1bbba4b2242b261d6.tar.gz frameworks_base-3b566b84708eea887ab3e1e1bbba4b2242b261d6.tar.bz2 |
Move ringtone redirection to MediaPlayer.
Way back in API 1 we defined Settings.System.DEFAULT_NOTIFICATION_URI
which redirects through SettingsProvider before finally ariving at
the real underlying ContentProvider, usually MediaStore.
With new SELinux rules, we're no longer allowing the system_server
to hold open FDs to shared storage devices, which causes these
proxied openFile() calls to fail.
To work around this, teach MediaPlayer to resolve the final ringtone
Uri without going through the system.
Bug: 18226181
Change-Id: I40c68617c952c0bb3e939e5084f5b68a35e31ae3
Diffstat (limited to 'packages/WallpaperCropper/src/com/android')
0 files changed, 0 insertions, 0 deletions