Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
29208c71c0
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ public class LocalIndexInfo {
|
|||
this.type = type;
|
||||
singleFile = !f.isDirectory();
|
||||
if (singleFile) {
|
||||
kbSize = (int) (f.length() >> 10);
|
||||
kbSize = (int) ((f.length() + 512) >> 10);
|
||||
}
|
||||
this.backupedData = backuped;
|
||||
}
|
||||
|
|
|
@ -1249,7 +1249,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
|||
if (file == null) {
|
||||
return -1;
|
||||
}
|
||||
sz = (int) (file.length() >> 10);
|
||||
sz = (int) ((file.length() + 512) >> 10);
|
||||
}
|
||||
return sz;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue