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
In CameraXCameraUseCase, when taking a picture through an external intent, the takePicture method opens an output stream twice. It shows a lint warning saying:
This OutputStream should be freed up after use with #close()
We can probably just replace the second contentResolver.openOutputStream(imageCaptureUri) with outputStream?
The text was updated successfully, but these errors were encountered:
In
CameraXCameraUseCase
, when taking a picture through an external intent, thetakePicture
method opens an output stream twice. It shows a lint warning saying:We can probably just replace the second
contentResolver.openOutputStream(imageCaptureUri)
withoutputStream
?The text was updated successfully, but these errors were encountered: