ucr
← ewpatton:hotfix/camera-error-android10
opened 08:18PM - 20 Dec 19 UTC
Since Android 10 will no longer allow for writing to arbitrary locations on the …SDK card, the Camera app fails to write back to the file URI we provide it. This change makes it so that starting on Nougat and higher we hand a file provider URI back that will allow the camera to write the file back to a location controlled by the Companion / compiled apps.
NB: I've only tested this with emulators running SDK 29 and SDK 7 so far.
Change-Id: Ic6ce87045adcda73e657f60f0dcbac71cf13b8e9