- Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available
- Add an experimental API to get a list of built-in displays
- Add a set of APIs related to ensuring system bar contrast
- This library now uses JSpecify nullness annotations, which are type-use; Kotlin developers should use the compiler argument -Xjspecify-annotations=strict (the default starting with Kotlin compiler version 2.1.0)
- Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26
From AndroidX Core
androidx.core:core:1.16.0-alpha02, androidx.core:core-ktx:1.16.0-alpha02, and androidx.core:core-testing:1.16.0-alpha02 are released. Version 1.16.0-alpha02 contains these commits. API Changes Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available ( I0f89c) Add an experimental API to get a list of built-in displays. ( Idda4d) Add a set of APIs related to ensuring system bar contrast ( I9849c) Bug Fixes Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26. ( Icd679) This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1, b/326456246)