2025-06-04
Activity: v1.12.0-alpha02
June 4, 2025
androidx.activity:activity:1.12.0-alpha02, androidx.activity:activity-compose:1.12.0-alpha02, and androidx.activity:activity-ktx:1.12.0-alpha02 are released. Version 1.12.0-alpha02 contains these commits.
Bug Fixes
- From NavigationEvent
1.0.0-alpha02: Fixed aConcurrentModificationExceptionthat could occur whenNavigationEventCallback.remove()was called due to simultaneously modifying the internal list of closeables. (I63066)
Appcompat: v1.7.1
June 4, 2025
androidx.appcompat:appcompat:1.7.1 and androidx.appcompat:appcompat-resources:1.7.1 are released. Version 1.7.1 contains these commits.
Bug Fixes
AppCompathas been updated to use Activity 1.8.0 to allow it to use theinitializeViewTreeOwners()API fromComponentActivityto ensure that it always has the correctViewTreeOwnersset. This fixes an incompatibility betweenAppCompatActivityand NavigationEvent and libraries that build on top of it such as Navigation 3. (I96919, b/419208471)
appfunctions: v1.0.0-alpha02
June 4, 2025
androidx.appfunctions:appfunctions:1.0.0-alpha02, androidx.appfunctions:appfunctions-compiler:1.0.0-alpha02, and androidx.appfunctions:appfunctions-service:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
New Features
- Support Android 16 API(s).
- Better support for parameterized
AppFunctionSerializable(s)at compile time.
API Changes
- Introduced
AppFunctionSchemaDefinitionAPI, enabling agents to define their own predefined function schemas.
Bug Fixes
- Error handling for missing runtime enabled state of
AppFunctions. - Minor bugfix in
observeAppFunctionsAPI to observe changes inAppFunctionComponentMetadata. - Additional error logs.
Autofill: v1.3.0
June 4, 2025
androidx.autofill:autofill:1.3.0 is released. Version 1.3.0 contains these commits.
Important changes since AutoFill 1.2.0
- Adds autofill hint constants for wallet valuables types.
Benchmark: v1.4.0-beta02
June 4, 2025
androidx.benchmark:benchmark-*:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.
API Changes
- Added a
BaselineProfileConfig.Builderto make it easier to callBaselineProfileRule.collectWithResults()for Java developers. (I94905)
camera featurecombinationquery: v1.5.0-beta01
June 4, 2025
androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01 and androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.
New Features
- With the update to 1.5.0-beta01, the
FeatureCombinationQueryartifacts have been moved to their own library group. This change is necessary to improve the modularity and maintainability of the CameraX library.
API Changes
SessionConfigurationCompatandSessionParametersCompathave been renamed toSessionConfigurationLegacyandSessionParametersLegacyrespectively to better reflect their function in supporting older APIs only.- Similarly, the method name/signature of
CameraDeviceSetupCompat.#isSessionConfigurationSupported(SessionConfigurationCompat)has been changed toCameraDeviceSetupCompat.#isSessionConfigurationSupportedLegacy(SessionConfigurationLegacy)
camera viewfinder: v1.5.0-beta02
June 4, 2025
androidx.camera.viewfinder:viewfinder-compose:1.5.0-beta02, androidx.camera.viewfinder:viewfinder-core:1.5.0-beta02, and androidx.camera.viewfinder:viewfinder-view:1.5.0-beta02 are released. Version 1.5.0-beta02 contains these commits.
Compose Animation: v1.9.0-alpha04
June 4, 2025
androidx.compose.animation:animation-*:1.9.0-alpha04 is released. Version 1.9.0-alpha04 contains these commits.
Compose Foundation: v1.9.0-alpha04
June 4, 2025
androidx.compose.foundation:foundation-*:1.9.0-alpha04 is released. Version 1.9.0-alpha04 contains these commits.
API Changes
PrefetchSchedulerand customisation have been deprecated in favor of the internal implementation that does all the work automatically. (I3a9a6, b/420551535)- Updated
Scrollable2DStateto use an offset in thecanScrollmethod instead of an angle. (I28694, b/417268474) - Replaced
addAnnotationinAnnotatedOutputTransformationwithaddStyle. (I91c6f, b/417991824) - Stabilized
LazyLayout. (If5db4) - Stabilized an empty constructor for
LazyLayoutPrefetchStateand it's scheduling methodschedulePrecompositionandschedulePrecompositionAndPremeasure. (I4362f, b/252853717) - Introduced
ProcessTextKeyon Android used for context menu items that's added forPROCESS_TEXTintent actions. (If0ac4) - Make context menu APIs public. Exposed
Modifier.addTextContextMenuComponentsandModifier.filterTextContextMenuComponentsto add and remove items in context menu. And also made the following elementary APIs public so that one can build a customized context menu:TextContextMenuProviderTextContextMenuDataProviderTextContextMenuDataTextContextMenuComponentLocalTextContextMenuDropdownProviderLocalTextContextMenuToolbarProvider(I1b7b0)
- Make
LazyLayoutItemProviderstable (Icce09, b/261565751) - Introduced android smart selection features that can be enable/disabled via
ComposeFoundationFlags.isSmartSelectionEnabled. It also exposed a staticcompositionLocalLocalTextClassifierCoroutineContextthat can be used to specify theCoroutineContextin which theTextClassificationjob is launched. (I1dbaa, b/139321320)
Compose Material: v1.9.0-alpha04
June 4, 2025
androidx.compose.material:material-*:1.9.0-alpha04 is released. Version 1.9.0-alpha04 contains these commits.
Compose Runtime: v1.9.0-alpha04
June 4, 2025
androidx.compose.runtime:runtime-*:1.9.0-alpha04 is released. Version 1.9.0-alpha04 contains these commits.
API Changes
SnapshotStateSetnow implements Parcelable on Android, it is now supported to be used as partrememberSaveable { ... }. (I755dd, b/378623803)SnapshotStateListnow implements Parcelable on Android, it is now supported to be used as partrememberSaveable { ... }. (Id18be, b/378623803)movableContentOf()is now marked with@RememberInCompositionannotation, which allows lint to catch incorrect usages (I2738d)- Updated experimental composition observers API to allow for more comprehensive observation of recomposition causes (I32b6a)
Bug Fixes
- Fixed an ordering issue with the dispatching of
onForgottonthat could, for example, cause theonDisposeof disposable effects to execute in the wrong order. (Ic1c91, b/417450712) - Fix for for reusing state handling in pausable composition (Ife96e, b/404058957)
- Minor bug fix to make mutable collection detection compatible for both K1 and K2 (Ie4878)
- Minor bug fix to make annotation lookup on overridden property accessors compatible for both K1 and K2 (I9900d)
External Contribution
- Fixed a bug affecting Molecule users where using
RecompositionMode.Immediatecould cause missed recompositions. (I9f3a9, b/419527812) - Exposed
PausableCompositionisApplied andisCancelledgetters which allow for checking the state of thePausableComposition. (I994aa)
Compose UI: v1.9.0-alpha04
June 4, 2025
androidx.compose.ui:ui-*:1.9.0-alpha04 is released. Version 1.9.0-alpha04 contains these commits.
API Changes
- Added modifier APIs for customizable shadows. (I2058d, b/160665122)
- Add a
SemanticsModifierNode.isImportantForBoundsproperty that determines whether the node should be taken into account when computing bounds. The property is true by default and can be set to false to indicate that the node should not be taken into account for bounds. (I7ebec) - Add a
SemanticsPropertyKeyfactory function for declaring Android-specific semantics properties that are made available as accessibility extras exposed viaAccessibilityNodeInfo.getExtras. (I2ed51) - Removed usages of
ComposeUiFlags.isRemoveFocusedViewFixEnabledand deprecated the flag. (I50328) - Introduce new customizable shadow framework. This includes
DropShadowPainterandInnerShadowPainteras well as theDropShadow/InnerShadowdependencies. Shadow infrastructure is shared such that the same generated shadows can be shared at multiple callsites without having to re-generate the shadows n-times. (I24f7a, b/160665122) - Introduce
CompositeShaderandCompositeShaderBrushwhich creates a composited result between two shaders. Also addShaderBrush#transformto set a transformation matrix for the shader. (I2621a, b/160665122)
Bug Fixes
- Fixed a bug in
NestedScrollInteropConnectionwhere fling methods were being in the wrong order with respect to views. (I56ad4) - Previously, dialogs that drew full screen were not drawing within the display cutout region. This bug is fixed so that dialogs with
decorFitsSystemWindows = falseandusePlatformDefaultWidth = falsecan take the display cutout region. (I9e975) - Fixed a bug where
TalkBack’s green focus indicator was not drawn after being turned on while the Compose app is in the background. (Ifd12a)
Emoji2: v1.6.0-alpha01
June 4, 2025
androidx.emoji2:emoji2-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.
New Features
- Emoji 16.0 data updates (Ifc878)
- Adding “emoji” suffix to the content description
Bug Fixes
- This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage:
-Xjspecify-annotations=strict,-Xtype-enhancement-improvements-strict-mode(Id07e7, b/326456246)
Fragment: v1.8.8
June 4, 2025
androidx.fragment:fragment-*:1.8.8 is released. Version 1.8.8 contains these commits.
Bug Fixes
- Fixed an issue where
FragmentManagerwould crash while trying to save the state of Fragments that were added withsetMaxLifecycle(Lifecycle.State.INITIALIZED). These fragments, since they never when throughonCreate(), no longer have any state saved oronSaveInstanceState()called. (I6e37a)
Health Connect: v1.1.0-rc02
June 4, 2025
androidx.health.connect:connect-client:1.1.0-rc02, androidx.health.connect:connect-client-external-protobuf:1.1.0-rc02, and androidx.health.connect:connect-client-proto:1.1.0-rc02 are released. Version 1.1.0-rc02 contains these commits.
Bug Fixes
- Added support for missing device types (Ied486)
- Updated mindfulness sessions permission string (I13ab5)
Lifecycle: v2.9.1
June 4, 2025
androidx.lifecycle:lifecycle-*:2.9.1 is released. Version 2.9.1 contains these commits.
Bug Fixes
- Fix
SavedStateHandle.remove(key)not clearingSavedStateHandle.getMutableStateFlow(key)states. (d5f939, b/418746333)
Mediarouter: v1.8.0
June 4, 2025
androidx.mediarouter:mediarouter:1.8.0 and androidx.mediarouter:mediarouter-testing:1.8.0 are released. Version 1.8.0 contains these commits.
Important changes since MediaRouter 1.7.0
- Add new API to support connecting (and disconnecting) to routes without affecting the route selection.
- Add new API that allows providers to take parameters when creating a controller.
- Add new API for listening for changes in the list of bound
MediaRouteProviderServiceclients. - New API to support stream expansion with route connection.
- Update
onRouteDisconnectedcallback with both disconnected and requested routes.
navigation3: v1.0.0-alpha03
June 4, 2025
androidx.navigation3:navigation3-*:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Bug Fixes
Navigation3will no longer clear decorator states forbackStacksthat have been swapped out and replaced with anotherbackStackinstance. (I28a42, b/415076044)
navigationevent: v1.0.0-alpha02
June 4, 2025
androidx.navigationevent:navigationevent-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
API Changes
- Replace
NavigationEventDispatcher's secondary constructor with default arguments. (I716a0) - Remove priority property from
NavigationEventCallback. Pass priority toNavigationEventDispatcher.addCallback()instead. (I13cae)
Bug Fixes
- Fixed a
ConcurrentModificationExceptionthat could occur whenNavigationEventCallback.remove()was called due to simultaneously modifying the internal list of closeables. (b/420919815)
photopicker: v1.0.0-alpha01
June 4, 2025
androidx.photopicker:photopicker:1.0.0-alpha01, androidx.photopicker:photopicker-compose:1.0.0-alpha01, and androidx.photopicker:photopicker-testing:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
New Features
- The initial alpha release of androidx implementations of the Embedded PhotoPicker that enable both View based and Compose based applications to easily integrate with the Embedded Photopicker service.
API Changes
- Added
EmbeddedPhotopickercomposable for as an entrypoint for compose based applications.rememberEmbeddedPhotoPickerStatecan be used (recommended) or applications can implement their own state management with theEmbeddedPhotoPickerStateinterface.
- Added
EmbeddedPhotopickerViewas an entrypoint for view based applications.EmbeddedPhotoPickerStateChangeListenercan be used to receive related callbacks to state inside the PhotoPicker.
- Added
TestEmbeddedPhotoPickerProviderto allow apps to test flows that rely on the Embedded Photopicker.
Security: v1.1.0-beta01
June 4, 2025
androidx.security:security-crypto:1.1.0-beta01 and androidx.security:security-crypto-ktx:1.1.0-beta01 are released. Version 1.1.0-beta01 contains these commits.
API Changes
- Deprecated all APIs in favour of existing platform APIs and direct use of Android Keystore.
Test Uiautomator: v2.4.0-alpha04
June 4, 2025
androidx.test.uiautomator:uiautomator:2.4.0-alpha04 is released. Version 2.4.0-alpha04 contains these commits.
API Changes
- Renamed
onViewtoonElementto clarify it works with compose (I53a3b, b/419006806)
Bug Fixes
- Fix
waitForStableInActiveWindow(290457f1, b/420349130)
Wear Compose: v1.5.0-beta03
June 4, 2025
androidx.wear.compose:compose-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.
API Changes
OpenOnPhoneDialognow announces only the message text under TalkBack, and skips the icon semantics. TheOpenOnPhoneDialogDefaultshave been updated to remove theiconContentDescriptionand thecontentDescriptionparameter fromicon(). Also,ConfirmationDialogDefaultsnow has modifier parameters onSuccessIconandFailureIconcomposables. (Id2ae2)
Bug Fixes
- Changed the order in which we apply the effect of
SurfaceTransformationparameters. Before, the transformations applied to Wear Material3 components were done as follows: background painter, container transformation, content transformation. Now, the first 2 are inverted, and we apply any passed in modifier between them, so it is affected by container transformations. This fixes cases like using a placeholder shimmer effect with elements in a TLC using the transformation parameter. (I786cf) RevealState.Saverwas added to be used to restore the state ofSwipeToRevealwhen activity or process is recreated.rememberRevealStatefunction now uses this Saver by default. (Ie0ecb)SwipeToRevealprimary and secondary actions buttons should default toButtonDefault.Height(fixed bug where these were filling the maximum height for taller buttons). (Ibfba1)- Changed
SwipeToRevealto reset the last component interacted with, when the swipe right gesture is performed. (Ia8450) SwipeToRevealwas changed to settle on theRevealingstate when the end position of the swipe is in between the revealing and revealed anchors, and is closer to the Revealing anchor. (If4458)- Now
ButtonGroup's content is properly inverted in a RTL layout (Ib378d) AnimatedTextnow supports RTL text direction (I4533c)TransformingLazyColumnnow resizes items correctly when the bottom item is removed (Idacab)TransformingLazyColumnnow makes just one measuring pass, which improves performance by reducing frame times. (I501a1)
wear protolayout: v1.3.0
June 4, 2025
androidx.wear.protolayout:protolayout-*:1.3.0 is released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- Material 3 design comes to the watch, with components and layouts that are optimized for the round display and scale appropriately from small to large screen sizes
- This includes Kotlin-only,
protolayout-material3library with more Compose-like APIs for the following components and features: - Dynamic color theme coming from the system and watch face with the latest Material3 theme for colors, shapes and typography
MaterialScopefor taking care of all opinionated defaults and easier customizationiconEdgeButton,textEdgeButtoniconButton,textButton,button,imageButton,avatarButton,compactButtontitleCard,appCard,graphicDataCard,iconDataCard,textDataCardcircularProgressIndicator,segmentedCircularProgressIndicatorprimaryLayout,buttonGroup- All components work across any SDK levels and
ProtoLayoutRenderer version, supplying sensible fallbacks where applicable
- This includes Kotlin-only,
- More Kotlin-friendly, Compose-like APIs for base ProtoLayout elements
LayoutModifierwith ability to add the most of modifiers as chained functions (padding,contentDescription(includingclearSemantics),background,clip,opacityetc.), convertible to the existingModifiersobjectLayoutColorsandLayoutStringas types with easier support for using dynamic fields and constraintstextandfontStyle- better map support for
StateBuilder, includingDynamicDataMapand factory methods such asintAppDataKeyfor easier creation ofAppDataKeyobjects
- Lottie animations support including option to set different triggers on when animation should start, for example when layout is loaded or when layout becomes visible
- Improved gradient support:
- Linear gradient API as part of
Brushthat can be used inBackgroundmodifiers for elements such asBox,Spacer, etc. … - Allow dynamic color values in
ColorStopused for linear and sweep gradient - Existing Sweep Gradient in arc objects now supports dynamic colors and start and end angles
- Platform data binding in
protolayout-expressionto receive information anytime that layout’s visibility is changed, which for example can be use to hide certain parts of the layout while tile is being swiped to - Testing library -
protolayout-testing- has been added to support easier Unit test coverage for any ProtoLayout elements - New element
DashedArcLinewith improved set of features so that line can have dashes, as opposed to the existingArcLine ArcSpacersupport for setting its length in DP dimension instead of degrees- Added roundness
FontSettingaxis applicable to some fonts
Wear Tiles: v1.5.0
June 4, 2025
androidx.wear.tiles:tiles-*:1.5.0 is released. Version 1.5.0 contains these commits.
Important changes since 1.4.0
- Added new API
TileService.onRecentInteractionEvents()for processing interaction tile events (Enter / Leave) in batches.- The existing APIs in
TileServiceforonEnterEventandonLeaveEventare deprecated and won’t work from SDK 36+ for Apps targeting API 36 or more
- The existing APIs in
- Critical bug fix for any clients targeting SDK higher than 34 and requesting a tile update on API 34 that would cause a
SecurityException. - Starting from Wear 6 (SDK level 36+), all Tiles will be displayed in a system font that is defined by each device.
Webkit: v1.14.0
June 4, 2025
androidx.webkit:webkit:1.14.0 is released. Version 1.14.0 contains these commits.
Important changes since 1.13.0
- Introducing the
PaymentRequestAPI for invoking Android native payment apps throughorg.chromium.intent.action.PAYintent.PaymentRequestis disabled by default andWebViewhost apps can call WebSettingsCompat.setPaymentRequestEnabled(settings, true) to enable it. In addition,PaymentRequestrequires a<queries>tag inAndroidManifest.xml. See documentation forsetPaymentRequestEnabled()for more information. - Introducing the experimental Navigation API for enhanced web navigation tracking and management within
WebView. These APIs provide detailed information about navigation events. Get started by calling WebViewCompat.setNavigationClient with an implementation of the new WebNaviagationClient interface to get detailed information about page navigation. For more information about the navigation lifecycle, please see the Life of a Navigation Presentation.