From 7add00693c1ec910bc8700fe046ee18cbe4e1148 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Wed, 8 Sep 2010 16:37:55 -0700 Subject: Add switch camera on-screen button. Change-Id: I1564fdf0f7f70f15278bdbdee6d9b5c8a6e683e0 --- src/com/android/camera/ComboPreferences.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/camera/ComboPreferences.java') 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); } -- cgit v1.1