Loading app/src/main/java/net/sourceforge/opencamera/CameraController/RawImage.java +15 −1 Original line number Diff line number Diff line Loading @@ -30,8 +30,22 @@ public class RawImage { public void writeImage(OutputStream dngOutput) throws IOException { if( MyDebug.LOG ) Log.d(TAG, "writeImage"); try { dngCreator.writeImage(dngOutput, image); } catch(AssertionError e) { // have had AssertionError from OnePlus 5 on Google Play; rethrow as an IOException so it's handled // in the same way e.printStackTrace(); throw new IOException(); } catch(IllegalStateException e) { // have had IllegalStateException from Galaxy Note 8 on Google Play; rethrow as an IOException so it's handled // in the same way e.printStackTrace(); throw new IOException(); } } /** Closes the image. Must be called to free up resources when no longer needed. After calling * this method, this object should not be used. Loading app/src/main/java/net/sourceforge/opencamera/UI/MainUI.java +3 −1 Original line number Diff line number Diff line Loading @@ -875,8 +875,10 @@ public class MainUI { } else { editor.apply(); if( preview.getCameraController() != null ) { preview.getCameraController().setISO(option); } } setupExposureUI(); } Loading Loading
app/src/main/java/net/sourceforge/opencamera/CameraController/RawImage.java +15 −1 Original line number Diff line number Diff line Loading @@ -30,8 +30,22 @@ public class RawImage { public void writeImage(OutputStream dngOutput) throws IOException { if( MyDebug.LOG ) Log.d(TAG, "writeImage"); try { dngCreator.writeImage(dngOutput, image); } catch(AssertionError e) { // have had AssertionError from OnePlus 5 on Google Play; rethrow as an IOException so it's handled // in the same way e.printStackTrace(); throw new IOException(); } catch(IllegalStateException e) { // have had IllegalStateException from Galaxy Note 8 on Google Play; rethrow as an IOException so it's handled // in the same way e.printStackTrace(); throw new IOException(); } } /** Closes the image. Must be called to free up resources when no longer needed. After calling * this method, this object should not be used. Loading
app/src/main/java/net/sourceforge/opencamera/UI/MainUI.java +3 −1 Original line number Diff line number Diff line Loading @@ -875,8 +875,10 @@ public class MainUI { } else { editor.apply(); if( preview.getCameraController() != null ) { preview.getCameraController().setISO(option); } } setupExposureUI(); } Loading