summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ComboPreferences.java
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-09-08 16:37:55 -0700
committerWu-cheng Li <wuchengli@google.com>2010-09-08 17:35:28 -0700
commit7add00693c1ec910bc8700fe046ee18cbe4e1148 (patch)
treea9554e92997bd8803ae35fc8352b3a242b6960e3 /src/com/android/camera/ComboPreferences.java
parent72569f22ad072666ff313d5eecfd25e8b653bd54 (diff)
downloadLegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.zip
LegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.tar.gz
LegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.tar.bz2
Add switch camera on-screen button.
Change-Id: I1564fdf0f7f70f15278bdbdee6d9b5c8a6e683e0
Diffstat (limited to 'src/com/android/camera/ComboPreferences.java')
-rw-r--r--src/com/android/camera/ComboPreferences.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/ComboPreferences.java b/src/com/android/camera/ComboPreferences.java
index 1fbfdaa..b2b0d14 100644
--- a/src/com/android/camera/ComboPreferences.java
+++ b/src/com/android/camera/ComboPreferences.java
@@ -49,8 +49,8 @@ public class ComboPreferences implements SharedPreferences, OnSharedPreferenceCh
}
}
- public void setLocalId(Context context, int id) {
- String prefName = context.getPackageName() + "_preferences_" + id;
+ public void setLocalId(Context context, int cameraId) {
+ String prefName = context.getPackageName() + "_preferences_" + cameraId;
if (mPrefLocal != null) {
mPrefLocal.unregisterOnSharedPreferenceChangeListener(this);
}