diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-06-28 13:19:58 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-06-28 13:19:58 +0800 |
commit | d26dfad8d2f864d362230cc5357c9aa38f72138c (patch) | |
tree | 01d8c2800bcbb68c17fa737cb0b472b2f4902fe7 /src | |
parent | 1ef634d277d550ed55b5b7089dfd56ed71815bd6 (diff) | |
download | LegacyCamera-d26dfad8d2f864d362230cc5357c9aa38f72138c.zip LegacyCamera-d26dfad8d2f864d362230cc5357c9aa38f72138c.tar.gz LegacyCamera-d26dfad8d2f864d362230cc5357c9aa38f72138c.tar.bz2 |
Fix build.
Change-Id: Ib377c102bc0e2fde467d94ae81101417c76ce78a
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/ComboPreferences.java | 10 |
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; |