From 008f96673f516b4dd7d5823d9daf592d73a3ad77 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Tue, 12 Jun 2018 13:39:39 +0100 Subject: [PATCH] utils/android: add recent Android versions Add the more recent android versions to the version map. --- devlib/utils/android.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devlib/utils/android.py b/devlib/utils/android.py index 204e20a..8b1d0d6 100755 --- a/devlib/utils/android.py +++ b/devlib/utils/android.py @@ -45,6 +45,11 @@ AM_START_ERROR = re.compile(r"Error: Activity.*") # See: # http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels ANDROID_VERSION_MAP = { + 28: 'P', + 27: 'OREO_MR1', + 26: 'OREO', + 25: 'NOUGAT_MR1', + 24: 'NOUGAT', 23: 'MARSHMALLOW', 22: 'LOLLYPOP_MR1', 21: 'LOLLYPOP',