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

Disable write test to work around (ref #1198)

This commit is contained in:
Audrius Butkevicius 2018-07-27 20:29:41 +01:00
parent d0dbb695eb
commit a9a863ace9

View file

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