449e5fd5f8507e571c586ba4c93247ed1202a774 |
|
03-Aug-2015 |
Jeff Sharkey <jsharkey@android.com> |
Expand ringtone titles to support OGG and FLAC. These file types don't have "audio/" MIME type, so check for those MIME types explicitly. Bug: 22803550 Change-Id: Ia62f94ad4a19409d6a50462935de005bc572f93a
/frameworks/base/media/java/android/media/Ringtone.java
|
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/Ringtone.java
|
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/Ringtone.java
|
203b411dee67c79dbd52b261b6ba67687bfbfa5c |
|
04-Jun-2015 |
Eric Laurent <elaurent@google.com> |
Ringtone: keep a reference until playback completion. Keep a reference on active Ringtones to avoid garbage collection before playback is complete. Bug: 11366759. Change-Id: Icb04da427c20e0b4657e9e8b13b3ecab98e5a333
/frameworks/base/media/java/android/media/Ringtone.java
|
87d76f6a3e407925c40bdebbfe851919cca58e68 |
|
10-Dec-2014 |
Jeff Sharkey <jsharkey@android.com> |
Throw IOException when missing default ringtone. This is caught by Ringtone, and we then fall back to built-in ringtone, which matches the expected CTS behavior. Bug: 18610451 Change-Id: I234d17f7cf623b9b0af434e5d367aed28f203b14
/frameworks/base/media/java/android/media/Ringtone.java
|
84e18ecd4b3fe99c6938f67f415da4a48276428f |
|
27-Aug-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
android.media.Ringtone: add getter for AudioAttributes Bug 17290606 Change-Id: I28406080cc1fb6a916b2859d0ef39980464953e9
/frameworks/base/media/java/android/media/Ringtone.java
|
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/Ringtone.java
|
3c8bbe245e7b0f937c36620c1427726fe9de50a6 |
|
17-Apr-2014 |
Simon Wilson <simonwilson@google.com> |
Check that mRemotePlayer is not null before use Bug: 14138829 Change-Id: Ie7ddb54ef3b82b9566ac41d4f0ff335976d3c907
/frameworks/base/media/java/android/media/Ringtone.java
|
19a4671b10e7d07309f1d427e1d81b87d5bbca18 |
|
26-Sep-2013 |
Marco Nelissen <marcone@google.com> |
Fix logic in fallback ringtone handling The existing code would only play a fallback ringtone if the requested ringtone was one of the three ringtone uris that are defined by settings, and it wasn't set to "silent". Now it also plays the fallback for custom ringtone uris. b/10891718 Change-Id: I79c2298c6497165e6845b98532cce0855347e50b
/frameworks/base/media/java/android/media/Ringtone.java
|
853ad6fbe34fa26e81e4b7325309a034d7a1b038 |
|
30-Apr-2013 |
Mike Lockwood <lockwood@google.com> |
Remove obsolete OMA-DRM support Change-Id: Ic6008d4c9f8b9cd9fd4efec070260227af70559c
/frameworks/base/media/java/android/media/Ringtone.java
|
1c25a21ffcfbc78a0edced4076d533f34902428a |
|
30-May-2012 |
Oscar Rydhé <oscar.rydhe@sonymobile.com> |
Fallback to fallbackring if ringtone can't be played. If the specified ringtone file exists but cannot be played the Ringtone will try to play the ringtone in a remote player. But since the file is corrupt it will not be played in the remote player either. According to the documentation it should attempt to fallback on another sound. This commit will do that. Change-Id: I0216d61ca874eef0f168ad4d5bfb07491e01e654
/frameworks/base/media/java/android/media/Ringtone.java
|
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/Ringtone.java
|
1d8e5c588035550293ecd2558a2e285ee2789d38 |
|
07-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Handle silent ringtone, title without permission. Silent ringtones have a valid Uri, but isn't openable by MediaPlayer, so treat as no-op playback instead of throwing. Also handle missing permissions when resolving title. Bug: 6448074, 6447538 Change-Id: I656675d7fc2e78a6ba05824e13bdd43193fcfdf2
/frameworks/base/media/java/android/media/Ringtone.java
|
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/Ringtone.java
|
b741c604861ddbafcacaa452e31bd19337a19705 |
|
30-Sep-2011 |
Marco Nelissen <marcone@google.com> |
Remove Ringtone.setWakeMode, it's not needed. This partially reverts commit e47e8520fa48bd014287eda94ea39927de73d6bc. (the other part of that change was already removed as part of a different change) Change-Id: Ica7c196ab1f74f96237e64d07580832f0d50022f
/frameworks/base/media/java/android/media/Ringtone.java
|
e1bd048cf2af24cbd93e549875c875239e5f4829 |
|
29-Sep-2011 |
Marco Nelissen <marcone@google.com> |
Release MediaPlayer before letting it go out of scope. Change-Id: Ib2b727146f6cba91b131e66d218251f5a3206fac
/frameworks/base/media/java/android/media/Ringtone.java
|
e47e8520fa48bd014287eda94ea39927de73d6bc |
|
21-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Keyguard sound needs to hold wake lock. We need to hold a wakelock while playing the keyguard lock sound, so that it actually completes before the CPU goes to sleep. Change-Id: I144c345383afeb911ea461b2eb17b31183b6d092
/frameworks/base/media/java/android/media/Ringtone.java
|
5e392e2b028fb0f92b2efe6de24b60a57cd4c565 |
|
02-Dec-2009 |
Eric Laurent <elaurent@google.com> |
am bb3bb57a: Merge change I524dc046 into eclair Merge commit 'bb3bb57a6330f71323fcd7e93e88dbdab55daec3' into eclair-mr2 * commit 'bb3bb57a6330f71323fcd7e93e88dbdab55daec3': Fix issue 2192673: Music Pausing Even when notifications are set to silent.
|
524dc046b1225087f481878a5c3ae7f733c9f0e2 |
|
27-Nov-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 2192673: Music Pausing Even when notifications are set to silent. Do not play ringtones, notifications or camera sounds if ringer mode is silent.
/frameworks/base/media/java/android/media/Ringtone.java
|
6b51a98acbc710a4e1a1656d85bb5d3c92f82fe9 |
|
03-Oct-2009 |
Josh Guilfoyle <jasta00@gmail.com> |
Fixed issue #4098: Ringtone#getTitle does not close its cursor. http://code.google.com/p/android/issues/detail?id=4098
/frameworks/base/media/java/android/media/Ringtone.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/media/java/android/media/Ringtone.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/media/java/android/media/Ringtone.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/media/java/android/media/Ringtone.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/media/java/android/media/Ringtone.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/media/java/android/media/Ringtone.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/media/java/android/media/Ringtone.java
|