mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed a crash in StreamingPlaybackService and bumped the version.
This commit is contained in:
parent
1479ddac80
commit
47a2abc6cd
@ -15,14 +15,14 @@ apply plugin: 'kotlin-kapt'
|
||||
|
||||
android {
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion '26.0.0'
|
||||
buildToolsVersion '26.0.1'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "io.casey.musikcube.remote"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 26
|
||||
versionCode 22
|
||||
versionName "0.15.2"
|
||||
versionCode 23
|
||||
versionName "0.15.3"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
@ -69,9 +69,9 @@ dependencies {
|
||||
implementation(name:'videocache-2.8.0-pre', ext:'aar')
|
||||
implementation 'org.slf4j:slf4j-android:1.7.21'
|
||||
|
||||
implementation "android.arch.persistence.room:runtime:1.0.0-alpha9"
|
||||
annotationProcessor "android.arch.persistence.room:compiler:1.0.0-alpha9"
|
||||
kapt "android.arch.persistence.room:compiler:1.0.0-alpha9"
|
||||
implementation "android.arch.persistence.room:runtime:1.0.0-alpha9-1"
|
||||
annotationProcessor "android.arch.persistence.room:compiler:1.0.0-alpha9-1"
|
||||
kapt "android.arch.persistence.room:compiler:1.0.0-alpha9-1"
|
||||
|
||||
compileOnly 'org.glassfish:javax.annotation:10.0-b28'
|
||||
implementation 'com.google.dagger:dagger:2.11'
|
||||
@ -88,9 +88,9 @@ dependencies {
|
||||
implementation 'com.github.pluscubed:recycler-fast-scroll:0.3.2@aar'
|
||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||
|
||||
implementation 'com.android.support:appcompat-v7:26.0.2'
|
||||
implementation 'com.android.support:recyclerview-v7:26.0.2'
|
||||
implementation 'com.android.support:design:26.0.2'
|
||||
implementation 'com.android.support:appcompat-v7:26.1.0'
|
||||
implementation 'com.android.support:recyclerview-v7:26.1.0'
|
||||
implementation 'com.android.support:design:26.1.0'
|
||||
|
||||
implementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
|
||||
transitive = true
|
||||
|
@ -548,7 +548,7 @@ class StreamingPlaybackService(context: Context) : PlaybackService {
|
||||
|
||||
private fun resolveNextIndex(currentIndex: Int, count: Int, userInitiated: Boolean): Int {
|
||||
if (isShuffled) { /* our shuffle matches actually random for now. */
|
||||
if (count == 0) {
|
||||
if (count <= 0) {
|
||||
return currentIndex
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.1.4-3'
|
||||
ext.kotlin_version = '1.1.50'
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
|
Loading…
Reference in New Issue
Block a user