modify gradle files to fix breakpoints and fix playback repeat regression
This commit is contained in:
parent
569813ae73
commit
5534170f9f
3 changed files with 7 additions and 3 deletions
|
|
@ -892,8 +892,10 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
|
|||
}
|
||||
break;
|
||||
case REPEAT_MODE_THIS:
|
||||
if (force && newPosition < 0) {
|
||||
if (force) {
|
||||
if (newPosition < 0) {
|
||||
newPosition = getPlayingQueue().size() - 1;
|
||||
}
|
||||
} else {
|
||||
newPosition = getPosition();
|
||||
}
|
||||
|
|
@ -1194,6 +1196,7 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
|
|||
} else {
|
||||
service.playNextSong(false);
|
||||
}
|
||||
|
||||
sendEmptyMessage(RELEASE_WAKELOCK);
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ public class QueryUtil {
|
|||
|
||||
private static void applySortMethod(ItemQuery query, String method) {
|
||||
// album activity will always sort by track number
|
||||
if (query.getSortBy() != null) return;
|
||||
if (query.getSortBy().length != 0) return;
|
||||
|
||||
switch (method) {
|
||||
case SortMethod.NAME:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ buildscript {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools:r8:1.6.84'
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue