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 a785ebb7ed730256750481e0885da82067533221..85d341b386f4e6f45bcaf3c63c5afe440bcca526 100644 |
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
@@ -136,7 +136,7 @@ class AndroidPlatformBackend( |
raise Exception('Error while purging ashmem.') |
def GetMemoryStats(self, pid): |
- memory_usage = self._device.old_interface.GetMemoryUsageForPid(pid)[0] |
+ memory_usage = self._device.old_interface.GetMemoryUsageForPid(pid) |
return {'ProportionalSetSize': memory_usage['Pss'] * 1024, |
'SharedDirty': memory_usage['Shared_Dirty'] * 1024, |
'PrivateDirty': memory_usage['Private_Dirty'] * 1024, |