From 0a1b948042b59c725e3cdf9cec2b3f1d58d26cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Fri, 14 Dec 2018 19:23:36 +0100 Subject: [PATCH] Stupid bug -.- --- .../simplecloudnotifier/service/IABService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/service/IABService.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/service/IABService.java index 7893948..d23c437 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/service/IABService.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/service/IABService.java @@ -77,7 +77,7 @@ public class IABService implements PurchasesUpdatedListener private void loadCache() { _localCache.clear(); - SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("iab", Context.MODE_PRIVATE); + SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("IAB", Context.MODE_PRIVATE); int count = sharedPref.getInt("c", 0); for (int i=0; i < count; i++) { @@ -90,7 +90,7 @@ public class IABService implements PurchasesUpdatedListener private void saveCache() { - SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("CMessageList", Context.MODE_PRIVATE); + SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("IAB", Context.MODE_PRIVATE); SharedPreferences.Editor editor= sharedPref.edit(); editor.putInt("c", _localCache.size());