Fixes in-app camera behaviour (#5302)

This commit is contained in:
Srishti Rohatgi 2023-09-25 06:22:42 +05:30 committed by GitHub
parent ff7fa79af1
commit 2fc8527330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ public class UploadableFile implements Parcelable {
public UploadableFile(File file) { public UploadableFile(File file) {
this.file = file; this.file = file;
this.contentUri = Uri.parse(file.getAbsolutePath()); this.contentUri = Uri.fromFile(new File(file.getPath()));
} }
public UploadableFile(Parcel in) { public UploadableFile(Parcel in) {