OSDN Git Service

Increase the history size. It should never have been this small.
authorMarco Nelissen <marcone@google.com>
Mon, 17 Aug 2009 15:52:29 +0000 (08:52 -0700)
committerMarco Nelissen <marcone@google.com>
Mon, 17 Aug 2009 15:53:05 +0000 (08:53 -0700)
Partial fix for http://b/issue?id=2033192

src/com/android/music/MediaPlaybackService.java

index 83bc800..12b7c35 100644 (file)
@@ -101,7 +101,7 @@ public class MediaPlaybackService extends Service {
     private static final int RELEASE_WAKELOCK = 2;
     private static final int SERVER_DIED = 3;
     private static final int FADEIN = 4;
-    private static final int MAX_HISTORY_SIZE = 10;
+    private static final int MAX_HISTORY_SIZE = 100;
     
     private MultiPlayer mPlayer;
     private String mFileToPlay;