diff --git a/app/build.gradle b/app/build.gradle index a4e7e0fe..bba01c3e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,15 +2,15 @@ apply plugin: 'com.android.application' apply plugin: 'android-apt' android { - compileSdkVersion 23 - buildToolsVersion '23.0.3' + compileSdkVersion 25 + buildToolsVersion '25.0.2' useLibrary 'org.apache.http.legacy' defaultConfig { minSdkVersion 15 - targetSdkVersion 23 - versionCode 227 - versionName '2.5.7' + targetSdkVersion 25 + versionCode 228 + versionName '2.5.8' } buildTypes { release { diff --git a/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java b/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java index ceb9688e..da39ecf5 100644 --- a/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java +++ b/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java @@ -71,7 +71,6 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URI; -import java.net.URLDecoder; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -523,6 +522,7 @@ public class DelugeAdapter implements IDaemonAdapter { // Set POST URL and data HttpPost httppost = new HttpPost(buildWebUIUrl() + PATH_TO_RPC); + httppost.setHeader("content-type", "application/json"); StringEntity se = new StringEntity(loginRequest.toString()); httppost.setEntity(se); @@ -554,6 +554,7 @@ public class DelugeAdapter implements IDaemonAdapter { // Set POST URL and data HttpPost httppost = new HttpPost(buildWebUIUrl() + PATH_TO_RPC); + httppost.setHeader("content-type", "application/json"); StringEntity se = new StringEntity(data.toString()); httppost.setEntity(se); diff --git a/app/src/main/res/layout/actionbar_serverstatus.xml b/app/src/main/res/layout/actionbar_serverstatus.xml index 182dcf57..39306c6d 100644 --- a/app/src/main/res/layout/actionbar_serverstatus.xml +++ b/app/src/main/res/layout/actionbar_serverstatus.xml @@ -19,6 +19,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" + tools:background="@android:color/white" android:orientation="horizontal"> 2dp 19sp 12dp - 12dp - 56dp + 12sp + 60dp diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml index fdf0ec32..d94962ad 100644 --- a/app/src/main/res/values-sw600dp/dimens.xml +++ b/app/src/main/res/values-sw600dp/dimens.xml @@ -32,8 +32,8 @@ 5dp 25sp 17dp - 14dp - 67dp + 14sp + 70dp 0 diff --git a/app/src/main/res/values/changelog.xml b/app/src/main/res/values/changelog.xml index 3abf5c6f..8cbf48d9 100644 --- a/app/src/main/res/values/changelog.xml +++ b/app/src/main/res/values/changelog.xml @@ -17,6 +17,9 @@ --> +Transdroid 2.5.8\n +- Deluge 1.3.14+ fix\n +\n Transdroid 2.5.7\n - Runtime permission request bugfix\n - Fixed icons in RSS screen\n diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index c2223290..154854f0 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -40,8 +40,8 @@ 3dp 21sp 17dp - 13dp - 56dp + 13sp + 60dp 20sp 2dp diff --git a/build.gradle b/build.gradle index 1017cb40..6944a5dc 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:2.3.0' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c8da4d7d..a7dfde21 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Feb 07 12:36:33 CLT 2017 +#Wed Mar 15 09:19:02 CET 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip diff --git a/latest-app.html b/latest-app.html index 9f652803..f2a669eb 100644 --- a/latest-app.html +++ b/latest-app.html @@ -1 +1 @@ -227|2.5.7 +228|2.5.8