Use Build.VERSION.KNOWN_CODENAMES in UnboundedSdkLevel.

Bug: 211747008
Test: atest UnbounbdedSdkLevelTest
Change-Id: I707d17caf578fb2219d9b236f2fec51236ef3c2d
2 files changed
tree: 9e94779695cdfe50786782a07a2685df8176a3b9
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
  9. TEST_MAPPING
README.md

frameworks/libs/modules-utils/

Libraries and utilities intended for use by module and framework code.

Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.

Java code

This project uses a single source path for Java code. All Java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.

Tests for java code should go in the javatests directory and follow the same structure.