mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fixes in-app camera behaviour (#5302)
This commit is contained in:
parent
ff7fa79af1
commit
2fc8527330
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public class UploadableFile implements Parcelable {
|
|||
|
||||
public UploadableFile(File file) {
|
||||
this.file = file;
|
||||
this.contentUri = Uri.parse(file.getAbsolutePath());
|
||||
this.contentUri = Uri.fromFile(new File(file.getPath()));
|
||||
}
|
||||
|
||||
public UploadableFile(Parcel in) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue