summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/SecondLevelIndicatorControlBar.java
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-08-24 23:48:29 +0800
committerChung-yih Wang <cywang@google.com>2011-08-29 17:21:24 +0800
commitab2ffa88872149978823c3184d0af162d3cdca13 (patch)
treea44ada0a2acc03353fe87a0cd4ed29040e4eddcf /src/com/android/camera/ui/SecondLevelIndicatorControlBar.java
parent5f47cc1a9ce83a5656751df5705674a1711687d1 (diff)
downloadLegacyCamera-ab2ffa88872149978823c3184d0af162d3cdca13.zip
LegacyCamera-ab2ffa88872149978823c3184d0af162d3cdca13.tar.gz
LegacyCamera-ab2ffa88872149978823c3184d0af162d3cdca13.tar.bz2
Add ZoomControlWheel.
bug:5083780 Change-Id: I1a18c247d638edd3f8e5e0588170b6820f280f96
Diffstat (limited to 'src/com/android/camera/ui/SecondLevelIndicatorControlBar.java')
-rw-r--r--src/com/android/camera/ui/SecondLevelIndicatorControlBar.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/ui/SecondLevelIndicatorControlBar.java b/src/com/android/camera/ui/SecondLevelIndicatorControlBar.java
index 8fb3599..5ce586e 100644
--- a/src/com/android/camera/ui/SecondLevelIndicatorControlBar.java
+++ b/src/com/android/camera/ui/SecondLevelIndicatorControlBar.java
@@ -40,7 +40,6 @@ public class SecondLevelIndicatorControlBar extends IndicatorControl implements
super(context, attrs);
}
- @Override
public void initialize(Context context, PreferenceGroup group,
String[] keys, String[] otherSettingKeys) {
if (mCloseIcon == null) {
@@ -49,7 +48,8 @@ public class SecondLevelIndicatorControlBar extends IndicatorControl implements
mCloseIcon.setOnClickListener(this);
addView(mCloseIcon);
}
- super.initialize(context, group, keys, otherSettingKeys);
+ setPreferenceGroup(group);
+ addControls(keys, otherSettingKeys);
if (mDegree != 0) setDegree(mDegree);
}