Index: build/android/pylib/valgrind_tools.py |
diff --git a/build/android/pylib/valgrind_tools.py b/build/android/pylib/valgrind_tools.py |
index 1fb97dc61b1125dfb54a9314de5c3e6ed1d9a3c0..48a5ba73d46e924a8f6b7ab6ff6788a0ec873484 100644 |
--- a/build/android/pylib/valgrind_tools.py |
+++ b/build/android/pylib/valgrind_tools.py |
@@ -35,7 +35,7 @@ def SetChromeTimeoutScale(adb, scale): |
# Delete if scale is None/0.0/1.0 since the default timeout scale is 1.0 |
adb.RunShellCommand('rm %s' % path) |
else: |
- adb.SetFileContents(path, '%f' % scale) |
+ adb.SetProtectedFileContents(path, '%f' % scale) |
class BaseTool(object): |