Index: build/android/pylib/perf/cache_control.py |
diff --git a/build/android/pylib/perf/cache_control.py b/build/android/pylib/perf/cache_control.py |
index adc3219609a753f63660375649ef64d4332654fe..09107dbe1ca2119bf3dcbbee7b3a110abcd25d5c 100644 |
--- a/build/android/pylib/perf/cache_control.py |
+++ b/build/android/pylib/perf/cache_control.py |
@@ -16,7 +16,7 @@ class CacheControl(object): |
def DropRamCaches(self): |
"""Drops the filesystem ram caches for performance testing.""" |
- self._device.old_interface.RunShellCommandWithSU('sync') |
+ self._device.RunShellCommand('sync', root=True) |
self._device.old_interface.SetProtectedFileContents( |
CacheControl._DROP_CACHES, '3') |