Loading _docs/history.html +4 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ <p>< <small><a href="index.html">Main Page.</a></small></p> <pre> Version 1.54.1 (Work in progress) FIXED Crash in 1.54 due to trying to change exposure compensation beyond min or max values. Version 1.54 (2025/04/03) FIXED Device specific crashes when starting with Camera2 API (related to camera vendor Loading app/src/main/java/net/sourceforge/opencamera/MainActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -1490,7 +1490,10 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen int progress = seekBar.getProgress(); int new_progress = progress + change; int current_exposure = getExposureSeekbarValue(progress); if( getExposureSeekbarValue(new_progress) == 0 && current_exposure != 0 ) { if( new_progress < 0 || new_progress > exposure_seekbar_values.size()-1 ) { // skip } else if( getExposureSeekbarValue(new_progress) == 0 && current_exposure != 0 ) { // snap to the central repeated zero new_progress = exposure_seekbar_values_zero; change = new_progress - progress; Loading Loading
_docs/history.html +4 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,10 @@ <p>< <small><a href="index.html">Main Page.</a></small></p> <pre> Version 1.54.1 (Work in progress) FIXED Crash in 1.54 due to trying to change exposure compensation beyond min or max values. Version 1.54 (2025/04/03) FIXED Device specific crashes when starting with Camera2 API (related to camera vendor Loading
app/src/main/java/net/sourceforge/opencamera/MainActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -1490,7 +1490,10 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen int progress = seekBar.getProgress(); int new_progress = progress + change; int current_exposure = getExposureSeekbarValue(progress); if( getExposureSeekbarValue(new_progress) == 0 && current_exposure != 0 ) { if( new_progress < 0 || new_progress > exposure_seekbar_values.size()-1 ) { // skip } else if( getExposureSeekbarValue(new_progress) == 0 && current_exposure != 0 ) { // snap to the central repeated zero new_progress = exposure_seekbar_values_zero; change = new_progress - progress; Loading