OSDN Git Service

Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnComple...
authorJean-Michel Trivi <jmtrivi@google.com>
Mon, 19 Apr 2010 16:41:19 +0000 (09:41 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Mon, 19 Apr 2010 16:41:19 +0000 (09:41 -0700)
commit87ccfb3405189ba03cf668157b7cbfab281caff5
tree6071c87bf800c60d8c2f8dbd85a2f0c2b6e669f7
parentdc5f45d2cd36a70d53cb8346d79bfeabfff6f0fe
parente0cae12b5ba78b2ad339bfea4a9a0da770ce5808
Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it's using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus.  The player was started before the listener was set. The theory about the bug is that the player finished playing before the listener was called. Therefore the audio focus was never abandonned, and the music didn't resume." into froyo