783ee0ca8707a4e2977d1afd42cd01a3885a06e6 |
|
06-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
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
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|
68de157b7810be72a283b9e0db292895d96988a9 |
|
20-Jul-2015 |
Todd Kennedy <toddke@google.com> |
Use RingtonePlayer to get ringtone title Instead of requiring every application that calls Rintone.getTitle() to request android.permission.READ_EXTERNAL_STORAGE, pass the call through to the system UI process. We only do this for media store URIs. Bug: 22067670 Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|
462045e89aed0163a4681b8221f0df3f26900136 |
|
30-Jun-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
Ringtone: add support for volume control and looping Bug 22182606 Change-Id: Ied910b9fe02a5da9c4822a107ee884677c8b4991
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|
81f871e2b96125d57b76c07169e868e516443794 |
|
07-Aug-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add support for AudioAttributes in android.media.Ringtone Deprecate use of stream types. Map deprecated API to AudioAttributes. Add new methods to specify AudioAttributes on a Ringtone instance. Bug 16790748 Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|
65c4a2b26cd8776b0927e9b0e07ecf53bd31b627 |
|
26-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Multi-user ringtone playback. Change RingtonePlayer to open content:// Uris based on requesting UserHandle. Grant SystemUI visibility to all emulated storage so it can play ringtones for apps without READ_EXTERNAL_STORAGE. Resolve canonical file:// Uris before passing out of source app, replacing any /emulated_legacy/-style paths with user-specific variant so they can be opened by SystemUI. Calling for RemoteViews, Ringtones, and Notifications. Bug: 7202982 Change-Id: Ibf0eca8df80c1486711144a7b648f464aadfe099
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|
098d580cc2bb6c0891c756a4e5230c6c6b0d2376 |
|
27-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate ringtone playback to SystemUI. Introduce IRingtonePlayer, which handles playback for both Ringtone objects and Notifications. SystemUI now hosts this player, which it registers with AudioService. It also keeps MediaPlayer instances warm, and cleans them up after stop() or Binder death. Move both Ringtone and NotificationManagerService to play back audio through this new interface. Bug: 6376128, 6350773 Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
/frameworks/base/media/java/android/media/IRingtonePlayer.aidl
|