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

Unified Diff: telemetry/telemetry/internal/platform/android_platform_backend.py

Issue 1812993003: [Telemetry] Only install test certificate on android device version L and below (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/android_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/android_platform_backend.py b/telemetry/telemetry/internal/platform/android_platform_backend.py
index 4f71c5de0359122925c853f7e5558d49abbcabf4..fe69564aef5b4bd8f5fea852a8209be88bba0ad2 100644
--- a/telemetry/telemetry/internal/platform/android_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/android_platform_backend.py
@@ -529,7 +529,9 @@ class AndroidPlatformBackend(
@property
def supports_test_ca(self):
- return True
+ # TODO(nednguyen): figure out how to install certificate on Android M
+ # crbug.com/593152
+ return self._device.build_version_sdk <= version_codes.LOLLIPOP
def InstallTestCa(self, ca_cert_path):
"""Install a randomly generated root CA on the android device.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698