From 3869be4befef39ffc75965386e256c6873f3f67e Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Wed, 8 Dec 2021 11:43:11 +0100 Subject: [PATCH] Prepare release 2.5.21 --- app/build.gradle | 9 ++++----- app/src/main/AndroidManifest.xml | 15 ++++++++++----- .../org/transdroid/core/gui/TorrentsFragment.java | 2 +- app/src/main/res/values/changelog.xml | 4 ++++ build.gradle | 2 +- latest-app.html | 2 +- latest-search.html | 2 +- 7 files changed, 22 insertions(+), 14 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 94356ad7..86c57dda 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,14 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 30 - buildToolsVersion '30.0.3' + compileSdkVersion 31 defaultConfig { minSdkVersion 15 - targetSdkVersion 30 - versionCode 240 - versionName '2.5.20' + targetSdkVersion 31 + versionCode 241 + versionName '2.5.21' javaCompileOptions { annotationProcessorOptions { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 56ab952e..72928cf5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -73,7 +73,8 @@ android:label="@string/app_name" android:launchMode="singleTop" android:theme="@style/TransdroidTheme" - android:windowSoftInputMode="stateHidden"> + android:windowSoftInputMode="stateHidden" + android:exported="true"> @@ -245,7 +246,8 @@ android:icon="@drawable/ic_launcher" android:label="@string/search_torrentsearch" android:launchMode="singleTask" - android:theme="@style/TransdroidTheme"> + android:theme="@style/TransdroidTheme" + android:exported="true"> @@ -283,7 +285,8 @@ android:label="@string/rss_feeds" android:theme="@style/TransdroidTheme" /> - + + android:theme="@style/TransdroidTheme.WidgetConfig" + android:exported="true"> @@ -318,7 +322,8 @@ android:exported="false" android:permission="android.permission.BIND_REMOTEVIEWS" /> - + diff --git a/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java b/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java index 978d10a4..26c5e3d9 100644 --- a/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java +++ b/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java @@ -385,7 +385,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener // Sort the list of filtered torrents Collections.sort(filteredTorrents, new TorrentsComparator(daemonType, this.currentSortOrder, this.currentSortDescending)); - if (torrentsList.getAdapter() != null) { + if (torrentsList != null && torrentsList.getAdapter() != null) { ((TorrentsAdapter) torrentsList.getAdapter()).update(filteredTorrents); } updateViewVisibility(); diff --git a/app/src/main/res/values/changelog.xml b/app/src/main/res/values/changelog.xml index 5c4a23b9..9eb325c5 100644 --- a/app/src/main/res/values/changelog.xml +++ b/app/src/main/res/values/changelog.xml @@ -16,6 +16,10 @@ --> +Transdroid 2.5.21\n +- Improved connection stability (thanks ImperatorPrime!)\n +- Fixed qBittorrent path parsing\n +\n Transdroid 2.5.20\n - Add Xirvik servers via QR code\n \n diff --git a/build.gradle b/build.gradle index fc1dc4f8..b81f9439 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.0.2' + classpath 'com.android.tools.build:gradle:7.0.3' } } diff --git a/latest-app.html b/latest-app.html index a1319b51..370031e8 100644 --- a/latest-app.html +++ b/latest-app.html @@ -1 +1 @@ -240|2.5.20 +241|2.5.21 diff --git a/latest-search.html b/latest-search.html index 5a1956f9..cf90aa6a 100644 --- a/latest-search.html +++ b/latest-search.html @@ -1 +1 @@ -37|4.1 +38|4.3