diff options
author | Chung-yih Wang <cywang@google.com> | 2011-08-19 00:06:51 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-08-23 19:01:11 +0800 |
commit | ff45331706e2fe361b4ff736d90b0ad4af0e7be9 (patch) | |
tree | b2e242b2ef9808b93fbc7eb853ed61a4a336b47c /src/com/android/camera/ui/IndicatorControl.java | |
parent | e285af9d6df325a8c3dfd70248add8ab62fe5b3b (diff) | |
download | LegacyCamera-ff45331706e2fe361b4ff736d90b0ad4af0e7be9.zip LegacyCamera-ff45331706e2fe361b4ff736d90b0ad4af0e7be9.tar.gz LegacyCamera-ff45331706e2fe361b4ff736d90b0ad4af0e7be9.tar.bz2 |
Refactor indicator wheel.
+add IndicatorControlWheel container.
Change-Id: Ia3c7f0441de75a70c8a2172e86d3812b2ef1a15b
Diffstat (limited to 'src/com/android/camera/ui/IndicatorControl.java')
-rw-r--r-- | src/com/android/camera/ui/IndicatorControl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/IndicatorControl.java b/src/com/android/camera/ui/IndicatorControl.java index d8233dc..814dc6d 100644 --- a/src/com/android/camera/ui/IndicatorControl.java +++ b/src/com/android/camera/ui/IndicatorControl.java @@ -106,7 +106,7 @@ public abstract class IndicatorControl extends RelativeLayout implements public void initializeCameraPicker(Context context, PreferenceGroup group) { ListPreference pref = group.findPreference( CameraSettings.KEY_CAMERA_ID); - if (pref == null) return; + if ((pref == null) || (mCameraPicker != null)) return; mCameraPicker = new CameraPicker(context); mCameraPicker.initialize(pref); addView(mCameraPicker); |