2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 05:07:40 +00:00

Fix bug concerning incorrect process status when sharing large files (>2.15GB)

This commit is contained in:
Joscha Henningsen 2020-03-12 23:46:31 +00:00 committed by Nicolas Fella
parent b81d3a82e5
commit 2c23b92bdd

View File

@ -162,7 +162,7 @@ public class FilesHelper {
// situations were we don't know the size (for instance, if the file is
// not local to the device)
if (!cursor.isNull(sizeColumnIndex)) {
size = cursor.getInt(sizeColumnIndex);
size = cursor.getLong(sizeColumnIndex);
}
lastModified = getLastModifiedTime(context, uri);