implement java side of OneDriveStorage2

This commit is contained in:
Philipp Crocoll
2019-09-10 05:26:38 +02:00
parent 56891d6183
commit f99843737f
3 changed files with 248 additions and 122 deletions

View File

@@ -430,11 +430,11 @@ public class MainActivity extends Activity implements JavaFileStorage.FileStorag
&& (e.canWrite == file.canWrite)
&& (e.isDirectory == file.isDirectory)
&& (e.displayName.equals(file.displayName))
&& (e.sizeInBytes == file.sizeInBytes ))
&& (file.isDirectory || (e.sizeInBytes == file.sizeInBytes )))
return;
}
throw new Exception("didn't find file " + file.path + " in file list!");
throw new Exception("didn't find file " + file.path + " (" + file.displayName + ") in file list!");
}
}