169907150e843d6e7acc2336c305dd12ea17d5c0 |
|
25-Apr-2011 |
Marco Nelissen <marcone@google.com> |
Backport audio ducking from Honeycomb Change-Id: Ie570d3445252e7c83b1f3e80cf9bb1591721e229
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
ac2fcd8cde17ad86f20956f22555bac1c4b719c8 |
|
01-Dec-2010 |
Marco Nelissen <marcone@google.com> |
Do not merge. Fix audio focus issue some more. We now start playing immediately when regaining focus, and set all the associated state variables accordingly, so that very rapid focus loss/gain changes can be handled correctly. b/3209106 Change-Id: I89cb08511728d6e5adecb8b90323c6a22259d590
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
080563ad0a9376c96354c552571561ff8df566fb |
|
29-Nov-2010 |
Marco Nelissen <marcone@google.com> |
When pausing, also cancel the in-progress fade in if there was one. b/3209106 Change-Id: If4f3f559fc908f82e22c58dbecc587a4f39f4ee8
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
6b507de7beda7f4a8b969b437dfbf81f5ecd5e5e |
|
20-Oct-2010 |
Marco Nelissen <marcone@google.com> |
Use sticky broadcast for sending status changes, so apps can find out the current state of things without waiting for a state change. b/3116574 Change-Id: Icaff13959d931068898ae0ee132ee94d43bcb048
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3f502de8e8963224054a97730d132f82ac87d522 |
|
29-Sep-2010 |
Marco Nelissen <marcone@google.com> |
Make party shuffle use the history too, making it less random, but more like users expect. http://b/2535828 Change-Id: I1fd71b578120a4e280074a6b27292b1383c0612a
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
f2ef3b5153fd2f447939f267d8887ff3bba0d13f |
|
22-Sep-2010 |
Marco Nelissen <marcone@google.com> |
Add a menu item to enable the audio effects panel, if one is present on the device. Change-Id: I39c5ccda33e7ac5467fb871ca02d7740ac86ae16
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3aa9ad029bc85da2e07bba019cec928ad5d74043 |
|
16-Sep-2010 |
Marco Nelissen <marcone@google.com> |
Make sure the home screen widget is updated when the current playlist is cleared. Change-Id: Ifb9bfec980ebf8d208a7020c388b239f6dc904f0
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
1cc72a178de85e9aa254906dadb54a51423731f3 |
|
28-Jun-2010 |
Eric Laurent <elaurent@google.com> |
Added support for audio sessions in MediaPlaybackService. Added methods to set and get the audio session ID used by the MediaPlayer. The audio session ID is required to create and associate audio effects to a particular music playback connection. Change-Id: If4ddaff9f81ecd4be54cb55872bb6a95c5f4c051
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
14c3caeb7bc2de0dd7abbb1e5f217dbb6367afba |
|
10-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Use SharedPreferences$Editor.apply() instead of commit() when possible. Change-Id: Ic609c6693effcdd16acc7383d9fb4834186dd25e
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
8d08ec235831d71fdd7f7b6f7757c2bc19528fae |
|
10-May-2010 |
Marco Nelissen <marcone@google.com> |
Backport the AudioPreview activity from Music2 to Music Change-Id: I1e1ec54a4613ef60e9a4539d5c50ed0874764b93
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
133550210e448fe52698f6cd0e80e07b8cc480bd |
|
01-Sep-2010 |
Marco Nelissen <marcone@google.com> |
Make savequeue more robust. Change-Id: Ie5723ddc7ca4eff7327fb84c221e88422f7ec4b2
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
80d3f584531e911b1fb5cce0bd3f8d974b4d0fcc |
|
11-May-2010 |
Marco Nelissen <marcone@google.com> |
Remove the calls to (un)registerAudioFocusListener that are about to be hidden. Bugs 2670395 and 2599698 Change-Id: Ia2415e90dcdbce5848d32e752361d12d15fe0057
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
aa331877dd1a0777042481e5c925cd951682588f |
|
21-Apr-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Update the Music app to fully use AudioFocus to implement its logic for pausing and resuming for phone rings and calls. The Music app does no longer need to implement PhoneStateListener. Change-Id: I9435969ec2ac7f755390136c3b689ec519742fa6
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
533fc44c8055b708c71537dbdf04f7588c9492da |
|
07-Apr-2010 |
Marco Nelissen <marcone@google.com> |
Pause requests that come in while a phone call is in progress should override the auto resume behavior. This makes it so that music playback will not auto resume after undocking or unplugging to answer a call (because we get pause requests for those, because they are routing changes). Fixes bug 2474691. Change-Id: I583b614c6c394064bc8b625e673781e33c931fb9
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
f4cfdfd4a99040be44a1ccd74edbde762edc845b |
|
31-Mar-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 2553575 API REVIEW: android.media Change 2 of 3 Notes from API Council review: Rename onAudioFocusChanged -> onAudioFocusChange Change-Id: Ib55c4296fbfbe92f8ed3b8ffe0a505ddea7daf82
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3d22fc22dd66be08df07c86edd533dfe3d06efc1 |
|
17-Mar-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Update the Music app to use the remote control focus API. Request media button events whenever the user has started the playback of audio content. Change-Id: I61cb54b2f9b0c9ad3a0728f4110f37497026b27c
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
302a7fdb1c1e8d771ed983de73283927d8184084 |
|
20-Mar-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Update music service to also handle AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK focus losses. Here they are handled just like regular transient losses. Change-Id: Ife2c78636ae3f83297b06e8d3aa60d7724e026ae
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
085cbfd3da2c00f5eddf74f344802d16df151988 |
|
09-Mar-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Update the Music player application to register itself as an AudioFocus user: - starting playback causes it to request audio focus. - loss of focus will cause the app to pause - transient loss of focus will cause the app to pause and resume when focus is regained. Change-Id: Ic33de141700c9cd0a5ad2fb69053caa981a0d68f
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
bf555cee7a01aed223b05144d1cec0cffdd9a6ae |
|
03-Mar-2010 |
Marco Nelissen <marcone@google.com> |
Print more useful info.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3988890280c37b2b4aa1cb29ce16da8aa38ffa83 |
|
02-Mar-2010 |
Marco Nelissen <marcone@google.com> |
Add internal logging and 'dumpsys' capability to the music app, to help track down a few puzzling bugs. Use 'adb shell dumpsys activity service' to see the current state and log.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
ab893d7a8067b9c45eda455b38f3b064e82dcb91 |
|
08-Feb-2010 |
Marco Nelissen <marcone@google.com> |
Report playback state change at the end of the playlist. Fixes bug 2209568 (change b05fe176ddb1c811302c69547bb1cff5a5a2df3d from Music2)
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
87bbf3c40cd044c3daa9fad28fb94e8570fcae05 |
|
24-Dec-2009 |
Marco Nelissen <marcone@google.com> |
Music app unbundling prep: add SortCursor to the music app, make it get the card id from the media provider, and clean up imports. (http://b/2363099)
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
f4d4b342061ade12eb7903f454df62814179906f |
|
05-Jan-2010 |
Marco Nelissen <marcone@google.com> |
MediaFile.UNKNOWN_STRING -> MediaStore.UNKNOWN_STRING
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
ec0c57a414c3563ebbf5767d92787a6a3f4a8820 |
|
12-Dec-2009 |
Marco Nelissen <marcone@google.com> |
Music player UI refresh.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
b63b5d1b6cae1cc9e28ba63b316fc15da5e16939 |
|
19-Nov-2009 |
Marco Nelissen <marcone@google.com> |
Make headset buttons behave more like the in-app buttons, by seeking back to the start of the file when hitting 'previous' in the first few seconds of playback.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
e99341f9674462607f3fd5e8dbd100b34b973e1b |
|
11-Nov-2009 |
Marco Nelissen <marcone@google.com> |
Add some logging to help track down bug 2223013.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
347fe57e4c8a860dfbad6f0ec1991171bfa69d77 |
|
09-Oct-2009 |
Mike Cleron <mcleron@google.com> |
1915450: Make the music widget show pause state properly
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
c1017e5fe69da3a4ffd2bf7d0890a1a216265a61 |
|
24-Sep-2009 |
Marco Nelissen <marcone@google.com> |
onStart() can now receive a null Intent, so deal with that.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
d5fc5b6cc39bc2c2693428fe957bb4ae7f90c0f7 |
|
18-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Change to use new service foreground API.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
63dbbbb163b537f8447f5abdb44fe2966a525464 |
|
17-Aug-2009 |
Marco Nelissen <marcone@google.com> |
Also save the history in shuffle mode. Another partial fix for http://b/issue?id=2033192, this one gets us most of the way there. Might even be good enough for Eclair.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3ec2ad9c8758d300864be808e491ae933dc9cd6b |
|
17-Aug-2009 |
Marco Nelissen <marcone@google.com> |
Increase the history size. It should never have been this small. Partial fix for http://b/issue?id=2033192
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
bd447b61c42589133257fb7992ccbed18a507a46 |
|
29-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Use longs instead of ints for database ids.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
2f9a1ce2f3b0ae72d698c240ce8448bc7cfe3a77 |
|
26-Jun-2009 |
Marco Nelissen <marcone@google.com> |
When checking the current playback position against the length of the file, make sure the length is valid. Otherwise we can end up endlessly (recursively) calling next(), and run out of stack.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
663fea34b586fbdf46acebdb86e163aca0e50323 |
|
12-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Fix crash in music app. Monkey found it, but it's easy to repro by a human too.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
6c615a208d88fe49c7da43c59720f9db6ca1e964 |
|
10-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Fix NPE in music app.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
bf0ea148eefcffd43e6f5023a6f8365d74fb829f |
|
05-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Shave about 1500 milliseconds off the time it takes to restore a large playlist, with corresponding reduction in music playback service startup time.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
3d54a51b3ce7f7121bcf4b8bd99510ac1cfbaa37 |
|
04-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Replace usage of deprecated PhoneStateIntentReceiver with PhoneStateListener.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
272eb78d8836f969f7480454167bdffc6a6f6dd7 |
|
29-Jan-2009 |
Thomas Tuttle <thinkinginbinary@gmail.com> |
Make play() call next() if we are at end of track (and not REPEAT_CURRENT). Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
49e36ea916aefba042c6e927c771b10708b6891e |
|
28-May-2009 |
Marco Nelissen <marcone@google.com> |
Clean up some handlers when the service is destroyed. This should fix some more of the monkey bugs in the music app.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
2b0b91376a7101fafdf8b007ae660d8b2a039530 |
|
22-May-2009 |
Marco Nelissen <marcone@google.com> |
Decouple the service interface stub from the service, so that the service can be GCd even if the system process still holds a reference to the stub.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
756c3f57f11a7bb3bf1cf1333ee8ffbc51039748 |
|
14-May-2009 |
Marco Nelissen <marcone@google.com> |
Findbugs fixes. Mostly performance related (remove unnecessary code, make inner classes static)
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
f65e99108a2a0197434814f4df6df2e2bb258e18 |
|
11-May-2009 |
Marco Nelissen <marcone@google.com> |
Remove unused code.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
b6e7bf7ddcc861e81219f9869b5dddc101341458 |
|
11-May-2009 |
Marco Nelissen <marcone@google.com> |
Fix comment.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
407cf91b661ceeb3ced16dc20af8243b9a0eb632 |
|
11-May-2009 |
Marco Nelissen <marcone@google.com> |
Looks like something got lost during a previous commit, upload or submit.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
c1333370c94dd708f2d1555d8aee6ddf2bc88a37 |
|
06-May-2009 |
Marco Nelissen <marcone@google.com> |
Make it so that isPlaying() returns whether the service is playing, even when its MediaPlayer currently isn't, like when it is transitioning between tracks.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
b7841acd23f0cf4fd8db604d73bdf14e57994fd9 |
|
05-May-2009 |
Marco Nelissen <marcone@google.com> |
Rename some methods to confirm to our naming standards. Make it so that when a content-uri is passed in a VIEW intent, it doesn't play in one-shot mode, but can play in the background as if it was started from the music app itself.
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
d8c696753687ddb0177f869fad5f709eadfe27af |
|
25-Mar-2009 |
Jeffrey Sharkey <> |
Automated import from //branches/donutburger/...@140588,140588
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
490384bf1b81cc703fd42de8674e593b216e3435 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
792a2206a4f05f6bd13fce902d3663892d2947af |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
add4e62178d90b55ae466464f1731fbfb49e920b |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
539844af4c430cf8d1f138d1482520bc4cd3847d |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
173c561b6ee64fe8ce37c7402d9d715eebd7f959 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
c4a9112064d6554bd7cc8e28a6284fcbcb1039e9 |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
7341ce817cecd4bf777cac39866ab1e7c14f2f20 |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
d57d69855619bd57ef2205e1c5089fa8e11b6cb1 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
7c302f22ea017fdc0f1b9588c941bcbfb76bce18 |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
b3f1e54c6c3dd6b61df23fcbda8915eb51027769 |
|
20-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127101
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
722ca0becdfb955ce36e24f86de9f7a899c74c5e |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
95c42939a307b02e84fbcd4186974a7607657996 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
a857e7ab7608a85c8d66e971e5807051bdb6daba |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|
6cb8bc92e0ca524a76a6fa3f6814b43ea9a3b30d |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Music/src/com/android/music/MediaPlaybackService.java
|