commit | 7d10cbd088e073101868bd37402a71c76faf119d | [log] [tgz] |
---|---|---|
author | satayev <satayev@google.com> | Thu Jun 10 17:41:56 2021 +0100 |
committer | satayev <satayev@google.com> | Tue Jun 15 10:14:17 2021 +0000 |
tree | 6fdb8dc185fe766eb1b9c7b5dfb97c6ea3137705 | |
parent | 10fe84a9ee3d7c71bbc090fcd1264e4d875de3c9 [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 Merged-In: I4f1e34759218df62affbefbe1c6db8782152f033