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 09107dbe1ca2119bf3dcbbee7b3a110abcd25d5c..a065dcbb7881be08678c13da33717ba41649ab16 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.RunShellCommand('sync', root=True) |
+ self._device.RunShellCommand('sync', as_root=True) |
self._device.old_interface.SetProtectedFileContents( |
CacheControl._DROP_CACHES, '3') |