Loading _docs/history.html +1 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ <pre> Version 1.52 (Working in progress) FIXED Crash related to multi-camera devices. FIXED Don't show zebra stripes, focus peaking or histogram, when displaying resultant photo for "Pause after taking photo" option. FIXED Problem where clicking on gallery icon would sometimes go to a "base" image instead of HDR Loading app/src/main/java/net/sourceforge/opencamera/MainActivity.java +8 −1 Original line number Diff line number Diff line Loading @@ -2251,6 +2251,13 @@ public class MainActivity extends AppCompatActivity { if( indx == -1 ) { Log.e(TAG, "camera id not in current camera set"); // this shouldn't happen, but if it does, revert to the first camera id in the set // update: oddly had reports of IndexOutOfBoundsException crashes from Google Play from camera_set.get(0) // because of camera_set having length 0, so stick with currCameraId in such cases if( camera_set.size() == 0 ) { Log.e(TAG, "camera_set is empty"); cameraId = currCameraId; } else cameraId = camera_set.get(0); } else { Loading Loading
_docs/history.html +1 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ <pre> Version 1.52 (Working in progress) FIXED Crash related to multi-camera devices. FIXED Don't show zebra stripes, focus peaking or histogram, when displaying resultant photo for "Pause after taking photo" option. FIXED Problem where clicking on gallery icon would sometimes go to a "base" image instead of HDR Loading
app/src/main/java/net/sourceforge/opencamera/MainActivity.java +8 −1 Original line number Diff line number Diff line Loading @@ -2251,6 +2251,13 @@ public class MainActivity extends AppCompatActivity { if( indx == -1 ) { Log.e(TAG, "camera id not in current camera set"); // this shouldn't happen, but if it does, revert to the first camera id in the set // update: oddly had reports of IndexOutOfBoundsException crashes from Google Play from camera_set.get(0) // because of camera_set having length 0, so stick with currCameraId in such cases if( camera_set.size() == 0 ) { Log.e(TAG, "camera_set is empty"); cameraId = currCameraId; } else cameraId = camera_set.get(0); } else { Loading