From ab2ffa88872149978823c3184d0af162d3cdca13 Mon Sep 17 00:00:00 2001 From: Chung-yih Wang Date: Wed, 24 Aug 2011 23:48:29 +0800 Subject: Add ZoomControlWheel. bug:5083780 Change-Id: I1a18c247d638edd3f8e5e0588170b6820f280f96 --- src/com/android/camera/ui/SecondLevelIndicatorControlBar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/camera/ui/SecondLevelIndicatorControlBar.java') 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); } -- cgit v1.1