| Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
| index 4a13cf4e9c521f59f2b3017dfd86d844b8c3545f..7a6a1681b929730d5cf5bd882ac7be5e1ebbd808 100644
|
| --- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
| +++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
| @@ -258,8 +258,7 @@ class AndroidPlatformBackend(
|
| if not self._can_access_protected_file_contents:
|
| logging.warning('%s cannot be retrieved on non-rooted device.' % fname)
|
| return ''
|
| - return '\n'.join(
|
| - self._device.old_interface.GetProtectedFileContents(fname))
|
| + return '\n'.join(self._device.ReadFile(fname, as_root=True))
|
|
|
| def _GetPsOutput(self, columns, pid=None):
|
| assert columns == ['pid', 'name'] or columns == ['pid'], \
|
|
|