|
|
@@ -30,6 +30,7 @@ public class LifeplusPreferences {
|
|
|
public final static String PUSH_ENABLED = "push_enabled";
|
|
|
public final static String PUSH_MARKETING_ENABLED = "push_marketing_enabled";
|
|
|
public final static String LOCATION_SERVICE_ENABLED = "location_service_enabled";
|
|
|
+ public final static String COUNT_FOR_REVIEW = "count_for_review";
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -173,7 +174,7 @@ public class LifeplusPreferences {
|
|
|
preferences.put(PUSH_ENABLED, isEnabled);
|
|
|
}
|
|
|
|
|
|
- public boolean isPushEnabeld() {
|
|
|
+ public boolean isPushEnabled() {
|
|
|
return preferences.get(PUSH_ENABLED, false);
|
|
|
}
|
|
|
|
|
|
@@ -186,7 +187,7 @@ public class LifeplusPreferences {
|
|
|
preferences.put(PUSH_MARKETING_ENABLED, isEnabled);
|
|
|
}
|
|
|
|
|
|
- public boolean isPushMarketingEnabeld() {
|
|
|
+ public boolean isPushMarketingEnabled() {
|
|
|
return preferences.get(PUSH_MARKETING_ENABLED, false);
|
|
|
}
|
|
|
|
|
|
@@ -202,4 +203,16 @@ public class LifeplusPreferences {
|
|
|
public boolean isLocationServiceEnabled() {
|
|
|
return preferences.get(LOCATION_SERVICE_ENABLED, false);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 리뷰 다이얼로그 표시용 카운트
|
|
|
+ *
|
|
|
+ * @param count
|
|
|
+ */
|
|
|
+ public void setCountForReview(int count) {
|
|
|
+ preferences.put(COUNT_FOR_REVIEW, count);
|
|
|
+ }
|
|
|
+ public int getCountForReview() {
|
|
|
+ return preferences.get(COUNT_FOR_REVIEW, 0);
|
|
|
+ }
|
|
|
}
|