Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index c0863e0a12ce1a4a67c8ed28d7e2175af174408f..dd5472329ce158d873a9c1c7cf4dd925315f1e37 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -404,7 +404,7 @@ class AndroidCommands(object): |
# possible without using a private (local) adb_shell instance (to ensure no |
# other command interleaves usage of it), which would defeat the main aim of |
# being able to reuse the adb shell instance across commands. |
- def RunShellCommand(self, command, timeout_time=20, log_result=True): |
+ def RunShellCommand(self, command, timeout_time=20, log_result=False): |
"""Send a command to the adb shell and return the result. |
Args: |
@@ -551,7 +551,7 @@ class AndroidCommands(object): |
if not re.search('^[0-9]', output.splitlines()[-1]): |
logging.critical('PUSH FAILED: ' + output) |
- def GetFileContents(self, filename, log_result=True): |
+ def GetFileContents(self, filename, log_result=False): |
"""Gets contents from the file specified by |filename|.""" |
return self.RunShellCommand('if [ -f "' + filename + '" ]; then cat "' + |
filename + '"; fi', log_result=log_result) |