From df64a4179915f827ac39a34a7a22140a2f6be351 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Tue, 14 Nov 2017 10:31:19 +0100 Subject: [PATCH] Fix settings JSOn file export of the RSS alarm include/exlude filter settings. --- app/build.gradle | 4 ++-- .../org/transdroid/core/app/settings/SettingsPersistence.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7f1a7add..237638ef 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,8 +2,8 @@ apply plugin: 'com.android.application' apply plugin: 'android-apt' android { - compileSdkVersion 23 - buildToolsVersion '25.0.2' + compileSdkVersion 25 + buildToolsVersion '25.0.3' useLibrary 'org.apache.http.legacy' defaultConfig { diff --git a/app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java b/app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java index d38d4237..32a436bb 100644 --- a/app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java +++ b/app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java @@ -319,8 +319,8 @@ public class SettingsPersistence { feed.put("url", prefs.getString("rssfeed_url_" + postfixk, null)); feed.put("needs_auth", prefs.getBoolean("rssfeed_reqauth_" + postfixk, false)); feed.put("new_item_alarm", prefs.getBoolean("rssfeed_alarmnew_" + postfixk, false)); - feed.put("alarm_filter_exclude", prefs.getString("server_alarmexclude_" + postfixk, null)); - feed.put("alarm_filter_include", prefs.getString("server_alarminclude_" + postfixk, null)); + feed.put("alarm_filter_exclude", prefs.getString("rssfeed_exclude_" + postfixk, null)); + feed.put("alarm_filter_include", prefs.getString("rssfeed_include_" + postfixk, null)); feed.put("last_seen_time", prefs.getLong("rssfeed_lastviewed_" + postfixk, -1)); feed.put("last_seen_item", prefs.getString("rssfeed_lastvieweditemurl_" + postfixk, null));