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:
parent
d0dbb695eb
commit
a9a863ace9
1 changed files with 3 additions and 4 deletions
|
@ -153,12 +153,11 @@ 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.
|
||||||
|
Log.i(TAG, "Successfully wrote test file '" + touchFile + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detected we have write permission.
|
|
||||||
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) {
|
||||||
// This is very unlikely to happen, so we have less error handling.
|
// This is very unlikely to happen, so we have less error handling.
|
||||||
|
|
Loading…
Reference in a new issue