From 884d616442dec1712c6541e55b34bc58e5a434bf Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Fri, 22 Apr 2022 16:02:22 +0600 Subject: [PATCH] 229-Optimize_preview_when_taking_picture issue: https://gitlab.e.foundation/e/os/backlog/-/issues/229 --- .../opencamera/MyPreferenceFragment.java | 27 +++---------------- .../opencamera/preview/Preview.java | 5 ++++ .../sourceforge/opencamera/ui/PopupView.java | 2 +- 3 files changed, 10 insertions(+), 24 deletions(-) diff --git a/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java b/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java index aa236cdf9..d2d206a08 100644 --- a/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java +++ b/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java @@ -222,29 +222,10 @@ public class MyPreferenceFragment extends PreferenceFragment implements OnShared final int [] widths = bundle.getIntArray("resolution_widths"); final int [] heights = bundle.getIntArray("resolution_heights"); final boolean [] supports_burst = bundle.getBooleanArray("resolution_supports_burst"); - if( widths != null && heights != null && supports_burst != null ) { - CharSequence [] entries = new CharSequence[widths.length]; - CharSequence [] values = new CharSequence[widths.length]; - for(int i=0;i