Browse Source

Prepare release 2.5.21

pull/603/head v2.5.21
Eric Kok 2 years ago
parent
commit
3869be4bef
  1. 9
      app/build.gradle
  2. 15
      app/src/main/AndroidManifest.xml
  3. 2
      app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java
  4. 4
      app/src/main/res/values/changelog.xml
  5. 2
      build.gradle
  6. 2
      latest-app.html
  7. 2
      latest-search.html

9
app/build.gradle

@ -1,14 +1,13 @@ @@ -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 {

15
app/src/main/AndroidManifest.xml

@ -73,7 +73,8 @@ @@ -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">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -245,7 +246,8 @@ @@ -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">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
@ -283,7 +285,8 @@ @@ -283,7 +285,8 @@
android:label="@string/rss_feeds"
android:theme="@style/TransdroidTheme" />
<receiver android:name="org.transdroid.core.service.BootReceiver_">
<receiver android:name="org.transdroid.core.service.BootReceiver_"
android:exported="true">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED"
@ -307,7 +310,8 @@ @@ -307,7 +310,8 @@
<!-- Home screen widget -->
<activity
android:name="org.transdroid.core.widget.ListWidgetConfigActivity_"
android:theme="@style/TransdroidTheme.WidgetConfig">
android:theme="@style/TransdroidTheme.WidgetConfig"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
@ -318,7 +322,8 @@ @@ -318,7 +322,8 @@
android:exported="false"
android:permission="android.permission.BIND_REMOTEVIEWS" />
<receiver android:name="org.transdroid.core.widget.ListWidgetProvider_">
<receiver android:name="org.transdroid.core.widget.ListWidgetProvider_"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>

2
app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java

@ -385,7 +385,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener @@ -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();

4
app/src/main/res/values/changelog.xml

@ -16,6 +16,10 @@ @@ -16,6 +16,10 @@
-->
<resources>
<string name="system_changelog">
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

2
build.gradle

@ -6,7 +6,7 @@ buildscript { @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.android.tools.build:gradle:7.0.3'
}
}

2
latest-app.html

@ -1 +1 @@ @@ -1 +1 @@
240|2.5.20
241|2.5.21

2
latest-search.html

@ -1 +1 @@ @@ -1 +1 @@
37|4.1
38|4.3

Loading…
Cancel
Save