Stupid bug -.-
This commit is contained in:
parent
74cbfb235e
commit
0a1b948042
@ -77,7 +77,7 @@ public class IABService implements PurchasesUpdatedListener
|
|||||||
private void loadCache()
|
private void loadCache()
|
||||||
{
|
{
|
||||||
_localCache.clear();
|
_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);
|
int count = sharedPref.getInt("c", 0);
|
||||||
for (int i=0; i < count; i++)
|
for (int i=0; i < count; i++)
|
||||||
{
|
{
|
||||||
@ -90,7 +90,7 @@ public class IABService implements PurchasesUpdatedListener
|
|||||||
|
|
||||||
private void saveCache()
|
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();
|
SharedPreferences.Editor editor= sharedPref.edit();
|
||||||
|
|
||||||
editor.putInt("c", _localCache.size());
|
editor.putInt("c", _localCache.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user