Merge change I347fe57e into eclair
* changes:
1915450: Make the music widget show pause state properly
diff --git a/src/com/android/music/MediaPlaybackService.java b/src/com/android/music/MediaPlaybackService.java
index f92bc6d..09edf52 100644
--- a/src/com/android/music/MediaPlaybackService.java
+++ b/src/com/android/music/MediaPlaybackService.java
@@ -1066,9 +1066,10 @@
new Intent("com.android.music.PLAYBACK_VIEWER"), 0);
startForeground(PLAYBACKSERVICE_STATUS, status);
if (!mIsSupposedToBePlaying) {
+ mIsSupposedToBePlaying = true;
notifyChange(PLAYSTATE_CHANGED);
}
- mIsSupposedToBePlaying = true;
+
} else if (mPlayListLen <= 0) {
// This is mostly so that if you press 'play' on a bluetooth headset
// without every having played anything before, it will still play