| 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 a065dcbb7881be08678c13da33717ba41649ab16..8065cf9ad7930a555f1c3866fb2f49b78c1e8e70 100644
|
| --- a/build/android/pylib/perf/cache_control.py
|
| +++ b/build/android/pylib/perf/cache_control.py
|
| @@ -17,6 +17,5 @@ class CacheControl(object):
|
| def DropRamCaches(self):
|
| """Drops the filesystem ram caches for performance testing."""
|
| self._device.RunShellCommand('sync', as_root=True)
|
| - self._device.old_interface.SetProtectedFileContents(
|
| - CacheControl._DROP_CACHES, '3')
|
| + self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
|
|
|
|
|