You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can reproduce the bug in the demo app, and if not...
I have tried to reproduce the bug in the demo app
Detailed steps to reproduce the issue:
Add app:cameraCropOutput="true" to the xml
Add addCameraListener and override onPictureTaken
Interesting logs:
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker Process: com.example.igorjankovic.customcamera, PID: 15427 java.lang.IllegalStateException: Can't compress a recycled bitmap at android.graphics.Bitmap.checkRecycled(Bitmap.java:386) at android.graphics.Bitmap.compress(Bitmap.java:1237) at com.otaliastudios.cameraview.CropHelper.cropToJpeg(CropHelper.java:29) at com.otaliastudios.cameraview.CameraView$Callbacks$4.run(CameraView.java:1569) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65)
The text was updated successfully, but these errors were encountered:
I'm using Google Pixel XL (2016) Oreo 8.1
Detailed steps to reproduce the issue:
Interesting logs:
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker Process: com.example.igorjankovic.customcamera, PID: 15427 java.lang.IllegalStateException: Can't compress a recycled bitmap at android.graphics.Bitmap.checkRecycled(Bitmap.java:386) at android.graphics.Bitmap.compress(Bitmap.java:1237) at com.otaliastudios.cameraview.CropHelper.cropToJpeg(CropHelper.java:29) at com.otaliastudios.cameraview.CameraView$Callbacks$4.run(CameraView.java:1569) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65)
The text was updated successfully, but these errors were encountered: