1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 14:21:16 +00:00

Revert "Disable write test to work around (ref #1198)"

This reverts commit a9a863ace9.
This commit is contained in:
Catfriend1 2018-07-28 00:54:48 +02:00
parent 815f945bb4
commit b99d6d47d4

View file

@ -153,10 +153,11 @@ public class Util {
}
Log.i(TAG, "Failed to write test file '" + touchFile +
"', " + error);
} else {
return false;
}
// Detected we have write permission.
Log.i(TAG, "Successfully wrote test file '" + touchFile + "'");
}
// Remove test file.
if (runShellCommand("rm \"" + touchFile + "\"\n", useRoot) != 0) {