add isAtLeastV()

Basing this on the state from before:
  https://android-review.googlesource.com/c/platform/frameworks/libs/modules-utils/+/2535803

but with U/UpsideDownCake replaced with V/VanillaIceCream

I assume we don't yet know if V will be 35 or higher.

Bug: 277813952
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:600ca498ae054d2a6919378d59c8da471748edc1)
Merged-In: Ie2fe7b0bc8b82f8049e51ac7f85b0d9722e9f5ed
Change-Id: Ie2fe7b0bc8b82f8049e51ac7f85b0d9722e9f5ed
3 files changed
tree: fedef34816b8d52fe00a379e7ddf3e6a8e1603cf
  1. build/
  2. java/
  3. javatests/
  4. jni/
  5. tools/
  6. .gitignore
  7. Android.bp
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. 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.