summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/OtherSettingsPopup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/OtherSettingsPopup.java')
-rw-r--r--src/com/android/camera/ui/OtherSettingsPopup.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/camera/ui/OtherSettingsPopup.java b/src/com/android/camera/ui/OtherSettingsPopup.java
index 1357012..4b82c20 100644
--- a/src/com/android/camera/ui/OtherSettingsPopup.java
+++ b/src/com/android/camera/ui/OtherSettingsPopup.java
@@ -40,7 +40,6 @@ public class OtherSettingsPopup extends AbstractSettingPopup
AdapterView.OnItemClickListener {
private static final String TAG = "OtherSettingsPopup";
- private Context mContext;
private Listener mListener;
private ArrayList<ListPreference> mListItem = new ArrayList<ListPreference>();
@@ -53,8 +52,8 @@ public class OtherSettingsPopup extends AbstractSettingPopup
LayoutInflater mInflater;
OtherSettingsAdapter() {
- super(mContext, 0, mListItem);
- mInflater = LayoutInflater.from(mContext);
+ super(OtherSettingsPopup.this.getContext(), 0, mListItem);
+ mInflater = LayoutInflater.from(getContext());
}
private int getSettingLayoutId(ListPreference pref) {
@@ -92,7 +91,6 @@ public class OtherSettingsPopup extends AbstractSettingPopup
public OtherSettingsPopup(Context context, AttributeSet attrs) {
super(context, attrs);
- mContext = context;
}
public void initialize(PreferenceGroup group, String[] keys) {