Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe3360ad authored by Kerong Sui's avatar Kerong Sui Committed by Steve Kondik
Browse files

Gallery2: fix the display error of camera manu when rotate it

including: manu of native camera and camcoder

Crs-fixed: 529692 532833
Change-Id: I302358fcf9fbde722d8b032b89ee6c0d39d76a8b
parent 593f1735
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class MoreSettingPopup extends AbstractSettingPopup

        @Override
        public View getView(int position, View convertView, ViewGroup parent) {
            if (convertView != null) return convertView;
            if (convertView != null  && (position == (Integer) convertView.getTag())) return convertView;

            ListPreference pref = mListItem.get(position);

@@ -90,6 +90,7 @@ public class MoreSettingPopup extends AbstractSettingPopup
            InLineSettingItem view = (InLineSettingItem)
                    mInflater.inflate(viewLayoutId, parent, false);

            view.setTag(position);
            view.initialize(pref); // no init for restore one
            view.setSettingChangedListener(MoreSettingPopup.this);
            if (position >= 0 && position < mEnabled.length) {