[Gekidou] Fix video uploads (#6440)

This commit is contained in:
Elias Nahum
2022-06-30 19:16:37 -04:00
committed by GitHub
parent 306fbba3a7
commit d09ead850e
5 changed files with 27 additions and 14 deletions

View File

@@ -73,7 +73,12 @@ public class RealPathUtil {
split[1]
};
return getDataColumn(context, contentUri, selection, selectionArgs);
String name = getDataColumn(context, contentUri, selection, selectionArgs);
if (!TextUtils.isEmpty(name)) {
return name;
}
return getPathFromSavingTempFile(context, uri);
}
}