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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user