summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraPreference.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-06-17 20:32:22 +0800
committerChih-Chung Chang <chihchung@google.com>2010-06-23 14:25:37 +0800
commit1ef634d277d550ed55b5b7089dfd56ed71815bd6 (patch)
tree18a36787b1049fbc9a73d087237c67126678d59b /src/com/android/camera/CameraPreference.java
parentac9d0a1ce538eb4bd50cba3b257737a05b9ac4e5 (diff)
downloadpackages_apps_LegacyCamera-1ef634d277d550ed55b5b7089dfd56ed71815bd6.zip
packages_apps_LegacyCamera-1ef634d277d550ed55b5b7089dfd56ed71815bd6.tar.gz
packages_apps_LegacyCamera-1ef634d277d550ed55b5b7089dfd56ed71815bd6.tar.bz2
Support multiple camera preferences.
Change-Id: I7c8440424c472c9ff61ac22692ce60234d359efe
Diffstat (limited to 'src/com/android/camera/CameraPreference.java')
-rw-r--r--src/com/android/camera/CameraPreference.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/camera/CameraPreference.java b/src/com/android/camera/CameraPreference.java
index 62bf91f..1a02070 100644
--- a/src/com/android/camera/CameraPreference.java
+++ b/src/com/android/camera/CameraPreference.java
@@ -19,7 +19,6 @@ package com.android.camera;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
-import android.preference.PreferenceManager;
import android.util.AttributeSet;
import com.android.camera.R;
@@ -48,8 +47,7 @@ public abstract class CameraPreference {
public SharedPreferences getSharedPreferences() {
if (mSharedPreferences == null) {
- mSharedPreferences =
- PreferenceManager.getDefaultSharedPreferences(mContext);
+ mSharedPreferences = ComboPreferences.get(mContext);
}
return mSharedPreferences;
}