Fixed
Status Update
Comments
wu...@google.com <wu...@google.com>
an...@google.com <an...@google.com>
ri...@gmail.com <ri...@gmail.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
an...@google.com <an...@google.com> #4
Thanks for filing this bug.
The onError() of OnImageCapturedCallback/OnImageSavedCallback will be called after this solution is merged, if there is no WRITE_EXTERNAL_STORAGE permission.
The onError() of OnImageCapturedCallback/OnImageSavedCallback will be called after this solution is merged, if there is no WRITE_EXTERNAL_STORAGE permission.
ju...@google.com <ju...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-core:1.3.0-alpha02
Description
```
java.lang.SecurityException: Permission Denial: writing com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=XXXXX, uid=XXXXX requires android.permission.WRITE_EXTERNAL_STORAGE, or grantUriPermission()
```
It seems that `androidx.camera` doesn't handle this error correctly, or at all.
CAMERAX VERSION 1.1.0
ANDROID OS BUILD NUMBER: Android 9
DEVICE NAME: Amazon Fire HD 8 (10th generation)
REPRODUCIBILITY: 100%