Skip to content

Commit

Permalink
Remove hard-coded resolution setting values
Browse files Browse the repository at this point in the history
These hard-coded values ended up not being helpful and were
instead confusing. As the app now supports custom resolutions,
presenting the current resolution and a few steps down from that
makes more sense.
  • Loading branch information
brarcher committed Jul 31, 2018
1 parent 739d37a commit 97ad55d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ public void onNothingSelected(AdapterView<?> parent)
}
fpsSpinner.setAdapter(new ArrayAdapter<>(this, R.layout.spinner_textview, fps));

LinkedList<String> resolution = new LinkedList<>(Arrays.asList("176x144", "320x240", "480x360", "640x360", "640x480", "800x600", "960x720", "1024x768", "1280x720", "1920x1080", "2048x1080", "2048x858", "2560x1440", "2560x1600", "4096x2160"));
LinkedList<String> resolution = new LinkedList<>();
if(videoInfo.videoResolution != null && resolution.contains(videoInfo.videoResolution) == false)
{
resolution.add(videoInfo.videoResolution);
Expand Down

0 comments on commit 97ad55d

Please sign in to comment.