Open mzorz opened 5 years ago
Looking into the logs - probably related to GLide?
2019-08-21 15:28:32.771 5289-5289/com.automattic.portkey W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
2019-08-21 15:28:32.869 5289-5687/com.automattic.portkey A/libc: Fatal signal 7 (SIGBUS), code 2, fault addr 0x7e71566c00 in tid 5687 (glide-source-th), pid 5289 (omattic.portkey) 2
Also tried delaying using Glide by 500 millis and seemed to be a bit better - also tried flagging onClick until ImageSaveListener returned (either successfully or with an error), but still found other issues there. Will be good to get back at this later if we need to use Camera2 (note this issue has not been seen in CameraX).
While working on enabling flash mode setting selection in Camera2 in #33, got a total crash after taking 3-4 pictures one after the other:
Confirmed it is independent of the flash mode setting