summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ComboPreferences.java
diff options
context:
space:
mode:
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);
}