Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: tools/telemetry/telemetry/core/platform/android_platform_backend.py

Issue 371813005: [Android] Switch to DeviceUtils versions of Ls, SetJavaAsserts, GetProp, and SetProp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7a6a1681b929730d5cf5bd882ac7be5e1ebbd808..43f8c33eeafd46fa51f0d4c4276aeb189b729ee8 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
@@ -171,7 +171,7 @@ class AndroidPlatformBackend(
@decorators.Cache
def GetOSVersionName(self):
- return self._device.old_interface.GetBuildId()[0]
+ return self._device.GetProp('ro.build.id')[0]
def CanFlushIndividualFilesFromSystemCache(self):
return False

Powered by Google App Engine
This is Rietveld 408576698