summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/ComboPreferences.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/camera/ComboPreferences.java b/src/com/android/camera/ComboPreferences.java
index 6af2862..26a6e70 100644
--- a/src/com/android/camera/ComboPreferences.java
+++ b/src/com/android/camera/ComboPreferences.java
@@ -23,6 +23,7 @@ import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.preference.PreferenceManager;
import java.util.Map;
+import java.util.Set;
import java.util.WeakHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
@@ -115,6 +116,15 @@ public class ComboPreferences implements SharedPreferences, OnSharedPreferenceCh
}
}
+ // The following two methods are not used.
+ Editor putStringSet(String key, Set<String> values) {
+ throw new UnsupportedOperationException();
+ }
+
+ Set<String> getStringSet(String key, Set<String> defValues) {
+ throw new UnsupportedOperationException();
+ }
+
public boolean contains(String key) {
if (mPrefLocal.contains(key)) return true;
if (mPrefGlobal.contains(key)) return true;