commit | 68e2d6836512f237a0a3c1534bf70f29227f4488 | [log] [tgz] |
---|---|---|
author | satayev <satayev@google.com> | Thu Jun 10 17:41:56 2021 +0100 |
committer | satayev <satayev@google.com> | Mon Jun 14 15:50:35 2021 +0100 |
tree | e201a2bdba950af193b1b1f43aa54f0454bfb1af | |
parent | 21b52cf0eec9a50966f3ddc08be9f7f1a67f02b1 [diff] |
Update SdkLevel and sdk_level.h Ideally, we would deprecate ApiLevelUtil classes maintained by tradefed in favor of these utils. Since tradefed drops the prebuilts / sources into old branches, we should avoid using fixed VERSION_CODES in code. This makes the util behave similarly to BuildCompat which understands pre-release builds as well. See https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:core/core/src/main/java/androidx/core/os/BuildCompat.java. Bug: 187807290 Test: m Change-Id: I4f1e34759218df62affbefbe1c6db8782152f033