Merge pull request #138 from ultrasonic/downgrade-api-to-22

Downgrade api to 22
This commit is contained in:
Yahor Berdnikau authored and GitHub committed 2018-01-20 13:05:14 +01:00
commit cd54632339
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/android:api-26-alpha
- image: circleci/android:api-27-alpha
working_directory: ~/ultrasonic
envoronment:
JVM_OPTS: -Xmx3200m
+2 -2
View File
@@ -1,6 +1,6 @@
ext.versions = [
minSdk : 14,
targetSdk : 23,
targetSdk : 22,
compileSdk : 27,
gradle : '4.4.1',
@@ -12,7 +12,7 @@ ext.versions = [
jacocoAndroid : "0.1.2",
buildVersioning : "1.6.0",
androidSupport : "23.4.0",
androidSupport : "22.2.1",
kotlin : "1.2.10",
+3
View File
@@ -0,0 +1,3 @@
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true
@@ -21,7 +21,7 @@ import org.moire.ultrasonic.service.SubsonicRESTException
fun SubsonicRESTException.getLocalizedErrorMessage(context: Context): String =
when (error) {
is Generic -> {
val message = (error as Generic).message
val message = error.message
val errorMessage = if (message == "") {
context.getString(R.string.api_subsonic_generic_no_message)
} else {