diff --git a/clients/android/NewsBlur/src/com/newsblur/service/NBSyncService.java b/clients/android/NewsBlur/src/com/newsblur/service/NBSyncService.java index 9d58f7210..f2de40f09 100644 --- a/clients/android/NewsBlur/src/com/newsblur/service/NBSyncService.java +++ b/clients/android/NewsBlur/src/com/newsblur/service/NBSyncService.java @@ -79,6 +79,7 @@ public class NBSyncService extends Service { private volatile static boolean DoFeedsFolders = false; private volatile static boolean isMemoryLow = false; private volatile static boolean HaltNow = false; + public volatile static Boolean isPremium = null; private static long lastFeedCount = 0L; private static long lastFFWriteMillis = 0L; @@ -303,9 +304,6 @@ public class NBSyncService extends Service { // there is a rare issue with feeds that have no folder. capture them for workarounds. List debugFeedIds = new ArrayList(); - // remember if we are premium - boolean isPremium; - try { // a metadata sync invalidates pagination and feed status ExhaustedFeeds.clear(); diff --git a/clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java b/clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java index 9f54bbb52..68cb19183 100644 --- a/clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java +++ b/clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java @@ -87,6 +87,14 @@ public class PrefsUtils { s.append("%0Adevice: ").append(Build.MANUFACTURER + "+" + Build.MODEL + "+(" + Build.BOARD + ")"); s.append("%0Amemory: ").append(NBSyncService.isMemoryLow() ? "low" : "normal"); s.append("%0Aspeed: ").append(NBSyncService.getSpeedInfo()); + s.append("%0Apremium: "); + if (NBSyncService.isPremium == Boolean.TRUE) { + s.append("yes"); + } else if (NBSyncService.isPremium == Boolean.FALSE) { + s.append("no"); + } else { + s.append("unknown"); + } return s.toString(); }