diff --git a/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java b/app/src/main/java/net/sourceforge/opencamera/MyPreferenceFragment.java index aa236cdf9581d1b2d3682054102896a25bc0216d..d2d206a087a38edcc1dd0f8ef457a507e8a4ef02 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