a25f6fcfed280136a16ce5800fcaabae17291dd7 |
|
21-Aug-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
NotificationPlayer supports MediaPlayer errors If an error is reported while trying to play a notification, behave as if the playback had completed. Bug 21093153 Change-Id: Iedc7691d0b8f4d68ad75cb04292a5d7d9350552f
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.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/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java
|
de84f0e77ea2bf713d15c290264059a413c2486a |
|
12-Jun-2013 |
John Spurlock <jspurlock@google.com> |
Organize the imports in systemui. To follow android conventions, more importantly to remove the unused. Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java
|
562e65bb19149d3f1d411d6665e7ae471e1e62bb |
|
13-Feb-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
Remove obsolete imports Change-Id: I67d357a1b0bac89447b1e237f61dd18aea7b912b
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java
|
6313cbe1d05c60afae3f8a5d2460c5cf4714fa1d |
|
13-Feb-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix AudioFocus for back-to-back notifications A single instance of NotificationPlayer will play notifications back-to-back, and was, for each requesting AudioFocus. But as a new notification was about to be played, its accompanying thread was terminated, and the completion listener was never called, and therefore AudioFocus was not released (e.g. two requests for one release). The fix consists in requesting AudioFocus only once and abandonning it when the only reported completion is received. Added a FIXME note about a better solution to be implemented. Bug 7680947 Change-Id: Ica9d5c1eb5d57c89ceebe66282af69f0f7d43667
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java
|
97ad2cd1a80eef7db0fe19f15c417de4fa752519 |
|
06-Feb-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
No AudioFocus for notifications when media played remotely Don't use AudioFocus when playing a notification when media is playing remotely. This behavior may be accompanied by rules in the device's audio policy to not route the notifications to the remote display. Bug 7485803 Change-Id: I8b96aa59cace75f6e9a0e73799ef8c75e9ee97aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.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/packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java
|