summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/MoreSettingPopup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/MoreSettingPopup.java')
-rw-r--r--src/com/android/camera/ui/MoreSettingPopup.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/android/camera/ui/MoreSettingPopup.java b/src/com/android/camera/ui/MoreSettingPopup.java
index 8da26c946..ad8ed7721 100644
--- a/src/com/android/camera/ui/MoreSettingPopup.java
+++ b/src/com/android/camera/ui/MoreSettingPopup.java
@@ -82,12 +82,11 @@ public class MoreSettingPopup extends AbstractSettingPopup
@Override
public View getView(int position, View convertView, ViewGroup parent) {
- if (convertView != null) return convertView;
-
ListPreference pref = mListItem.get(position);
-
int viewLayoutId = getSettingLayoutId(pref);
- InLineSettingItem view = (InLineSettingItem)
+ InLineSettingItem view = (InLineSettingItem)convertView;
+
+ view = (InLineSettingItem)
mInflater.inflate(viewLayoutId, parent, false);
view.initialize(pref); // no init for restore one