Browse Source

Fix settings JSOn file export of the RSS alarm include/exlude filter settings.

pull/406/head
Eric Kok 7 years ago
parent
commit
df64a41799
  1. 4
      app/build.gradle
  2. 4
      app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java

4
app/build.gradle

@ -2,8 +2,8 @@ apply plugin: 'com.android.application' @@ -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 {

4
app/src/main/java/org/transdroid/core/app/settings/SettingsPersistence.java

@ -319,8 +319,8 @@ public class SettingsPersistence { @@ -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));

Loading…
Cancel
Save