aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/thialfihar/android/apg/Preferences.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/org/thialfihar/android/apg/Preferences.java b/src/org/thialfihar/android/apg/Preferences.java
index e704d79f3..36325a126 100644
--- a/src/org/thialfihar/android/apg/Preferences.java
+++ b/src/org/thialfihar/android/apg/Preferences.java
@@ -13,12 +13,7 @@ public class Preferences {
private SharedPreferences mSharedPreferences;
public static synchronized Preferences getPreferences(Context context) {
- return getPreferences(context, false);
- }
-
- public static synchronized Preferences getPreferences(Context context, boolean force_new)
- {
- if (mPreferences == null || force_new) {
+ if (mPreferences == null) {
mPreferences = new Preferences(context);
}
return mPreferences;