9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00

Update CameraActivity.java

This commit is contained in:
Thomas BOY
2015-01-19 17:40:57 +01:00
parent 1635210b3c
commit 89a202e4fa
@@ -658,7 +658,8 @@ public class CameraActivity extends Activity {
try {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
photoTaken.compress(CompressFormat.JPEG, this.getIntent().getIntExtra("quality", 100), stream);
photoTaken.compress(
CompressFormat.JPEG, this.getIntent().getIntExtra("quality", 100), stream);
if (this.getIntent().getBooleanExtra("saveInGallery", false)) {
// Get path picture to storage.