A package for Android integration testing of safs-android.
Run AndroidFileSystemTests.java.
There's sadly some Android issues which can't be worked around:
- SAF trim prefix/suffix whitespace and "filter" certain characters in filenames,
an
FileAlreadyExistsException
is thrown if that occur when creating a file. - Volumes/mounts not using
sdcardfs
are unable to change file last-modified time, so don't rely on StandardCopyOption.COPY_ATTRIBUTES, Files.setLastModifiedTime() nor Files.html.setAttribute() See report. - WatchService, which use FileObserver, doesn't seem to work on secondary external storage when accessed through SAF.