mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 20:31:16 +00:00
Revert "Disable write test to work around (ref #1198)"
This reverts commit a9a863ace9
.
This commit is contained in:
parent
815f945bb4
commit
b99d6d47d4
1 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue