- Added setLaunchDisplayId to ActivityOptionsCompat.
- Added compat API for SYSTEM_OVERLAYS.
- Added OutcomeReceiverCompat, a version of Android's OutcomeReceiver available on all API levels.
- Added compat class for android.view.ScrollFeedbackProvider.
- Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View).
- Introduced the concept of a View being able to have a disjoint parent, a different view that effectively parents the other view without being set via the View.parent property.
- Added ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30.
- Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat.
- Added a mutability flag to TaskStackBuilder.
- ViewCompat.addViewOverlay(View) fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner.
- Deprecated BuildCompat.isAtLeastV; callers should check SDK_INT against 35 directly instead.
From AndroidX Core
androidx.core:core:1.16.0-alpha01, androidx.core:core-ktx:1.16.0-alpha01, and androidx.core:core-testing:1.16.0-alpha01 are released. Version 1.16.0-alpha01 contains these commits. API Changes Added setLaunchDisplayId to ActivityOptionsCompat. ( I39e77, b/379669743) Added compat API for SYSTEM_OVERLAYS. ( Ibd1fd, b/287470173) Added OutcomeReceiverCompat, a version of Android's OutcomeReceiver available on all API levels. ( Ib8265, b/380060342) Added compat class for android.view.ScrollFeedbackProvider. ( Icaa92) Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View). The ViewCompat variant fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner. ( I81413) Introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a different view that effectively parents the other view, but is not set via the View.parent property. See the documentation for more information. ( Ib2950) Added a new API ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30. ( I11159) Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat. ( Ib3e5b) External Contribution Deprecated BuildCompat.isAtLeastV. Callers should check SDK_INT against 35 directly instead. Thanks to Jake Wharton! ( I294d1) Added a mutability flag to TaskStackBuilder. Thanks to Kamal Faraj! ( Ife0ec, b/371534781)