2024-06-26
Activity: v1.10.0-alpha01
June 26, 2024
androidx.activity:activity:1.10.0-alpha01, androidx.activity:activity-compose:1.10.0-alpha01, and androidx.activity:activity-ktx:1.10.0-alpha01 are released. This version is developed in an internal branch.
New Features
- Added support for new
PhotoPickerfeatures introduced in Android V including being able to pick images in order and choose which tab (either albums or images) should be initially visible.
Annotation: v1.9.0-alpha01
June 26, 2024
androidx.annotation:annotation-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.
External Contribution
- Adds support for
linuxArm64multiplatform target (thanks to Jake Wharton!)
Car App: v1.7.0-beta01
June 26, 2024
androidx.car.app:app-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits. Features are the same as published in alpha01, which are repeated below:
New Features
- Map with Content: New template a Map Canvas plus a content template, which for now can be List / Grid / Pane / Message.
RoutePreview,PlaceListNavigation,MapTemplateare now deprecated. Templates will continue to work as-is.- Sample apps have been updated to show
MapWithContentusage instead of deprecated templates
- Conversation Item: New APIs for displaying conversations (IM, SMS), and Assistant readout in the car.
- Vehicle Dimensions: New API to retrieve vehicle measures (data on AAOS at the moment).
API Changes
- Add
@ExperimentalCarApitag toMediaPlaybackTemplate.Builder. (Ic1957) - Adds a new
SectionedItemTemplatein experimental. (I5958a) - Introduce
CarAppApiLevel 8(I3fa22) - Adds
MediaPlaybackTemplatefor displaying content during media playback in Car App Library. (I3c10d) - Added new api for apps to detect whether the system supports background audio while driving (I0f868)
Bug Fixes
- Fixes certain instances of memory leaks and crashes in CAL client code and in CAL Navigation Sample App. (I55e04)
- Replace
requireNotNull instancesinBaseCarAppActivity'sonDestroymethod with if-null checks to avoid crashes. (Iec676)
Compose Animation: v1.7.0-beta04
June 26, 2024
androidx.compose.animation:animation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Foundation: v1.7.0-beta04
June 26, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Fixes measurement of very large text causing crash in the new
BasicTextField(6b7575) - Reverts a behavior change in Row/Column measurement that breaks Text usage in certain scenarios (69e8ba)
Compose Material: v1.7.0-beta04
June 26, 2024
androidx.compose.material:material-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Material3: v1.3.0-beta04
June 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04 is released. Version 1.3.0-beta04 contains these commits.
Compose Material3 Adaptive: v1.0.0-beta04
June 26, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.
Bug Fixes
- Fixes the issue that when hinge bounds get updated, the layout is not updated accordingly. (71e9cf1)
Compose Runtime: v1.7.0-beta04
June 26, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose UI: v1.7.0-beta04
June 26, 2024
androidx.compose.ui:ui-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Disable software rendering support for the
GraphicsLayerAPI. (35ddd8) - Fix for a crash in layer persistence logic. (70b13e)
- Reusing layer objects optimization was reverted, as it caused rendering issues. (70b13e)
Fragment: v1.8.1
June 26, 2024
androidx.fragment:fragment-*:1.8.1 is released. Version 1.8.1 contains these commits.
Bug Fixes
- Fixed an issue where fragments without a container were immediately
DESTROYEDwhen starting a predictive back gesture. Now they are held in theCREATEDstate until after the gesture is complete. (If6b83, b/345244539)
Navigation: v2.8.0-beta04
June 26, 2024
androidx.navigation:navigation-*:2.8.0-beta04 is released. Version 2.8.0-beta04 contains these commits.
Bug Fixes
- Navigation now supports navigating with empty strings in path arguments. (Ic5dbd, b/339481310)
- Improve error message for custom serializers declared directly on class fields via
@Serializable(with =...)to clarify that this is currently an unsupported feature. (I052b0, b/341319151) SavedStateHandleFactorytest api can now be used in non-android tests but will require Robolectric to support argument parsing with Bundles. (I76cdc, b/340966212)- Fixed crash from restoring state when resuming the app after process death with using Type-Safe Navigation in Compose. (Ia8f38, b/341801005)
- Fixed an issue in Navigation Compose where after canceling the Predictive Back Gesture, the
NavBackStackEntrythat the user returns to never returns back to theRESUMEDLifecycle State. This also ensures the returning destination correctly animates back in instead of snapping into place after a fling. (I97a0c, b/346608857) - When using Predictive back with Navigation Compose, the destination being popped will now have the proper z-order, correctly animating on top of the incoming destination. (I2077b, b/345993681)
privacysandbox ads: v1.1.0-beta08
June 26, 2024
androidx.privacysandbox.ads:ads-adservices:1.1.0-beta08 and androidx.privacysandbox.ads:ads-adservices-java:1.1.0-beta08 are released. Version 1.1.0-beta08 contains these commits.
New Features
- Added support for protected app signals.
- Support multiple cloud providers for B&A server auctions.
API Changes
- Experimental API
GetAdSelectionDataRequest::selleris non-nullable. (I68044) - Add
GetAdSelectionDataRequest::coordinatorOriginUriExperimental API. (I18c0b) - Added
updateSignalsAPI. (Ia8512)
privacysandbox-tools: v1.0.0-alpha09
June 26, 2024
androidx.privacysandbox.tools:tools-*:1.0.0-alpha09 is released. Version 1.0.0-alpha09 contains these commits.
New Features
- Add support for enum classes annotated with
@PrivacySandboxValue. - Support for Privacy Sandbox UI alpha 09.
privacysandbox ui: v1.0.0-alpha09
June 26, 2024
androidx.privacysandbox.ui:ui-client:1.0.0-alpha09, androidx.privacysandbox.ui:ui-core:1.0.0-alpha09, and androidx.privacysandbox.ui:ui-provider:1.0.0-alpha09 are released. Version 1.0.0-alpha09 contains these commits.
New Features
- Introduced
AbstractSandboxedUiAdapterandAbstractSandboxedUiAdapter.AbstractSessionabstract classes that can be used by UI providers to avoid implementing the entireSandboxedUiAdapterorSessioninterfaces. It is recommended for UI providers to use these abstract classes. - Added
registerObserverFactorylogic that allows aSessionObserverFactoryto be attached to aSandboxedUiAdapter. When aSessionObserverFactoryis attached to an adapter, aSessionObserverwill be created for each new UI session created for that adapter. The createdSessionObserverwill receive anonSessionOpenedcallback when the UI session is opened. When the UI presentation of theSession’s view changes,SessionObserver.onUiContainerChangedwill be called.onUiContainerChangedis throttled and will be called at most every 200ms. - Added
SandboxedSdkViewUiInfowhich can be created from theBundlesent inSessionObserver.onUiContainerChanged. This object represents the UI state of theSandboxedSdkViewthat is hosting the UI session. It contains height and width information, aRectrepresenting the geometry of the view that is visible on screen, and an opacity hint that represents the opacity of the view.
API Changes
- Add opacity hint to
SandboxedSdkViewUiInfo. (I093ac) - Add
SessionObserver.onUiContainerChangedandSandboxedSdkViewUiInfo. (Ie98bc) - Add
SessionObserverinterface and registration logic. (I047dc) - Add
AbstractSandboxedUiAdapterandAbstractSession. (I3617a)
Known Issues
- When the UI provider is in the same process as the client application,
SessionObserver.onUiContainerChangedis not sent when the container scrolls.
Security-State: v1.0.0-alpha02
June 26, 2024
androidx.security:security-state:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Bug Fixes
- Fixed logic of getting kernel version. (I5602a)
Test Uiautomator: v2.4.0-alpha01
June 26, 2024
androidx.test.uiautomator:uiautomator:2.4.0-alpha01 is released. Version 2.4.0-alpha01 contains these commits.
API Changes
- Deprecated
Configurator#getKeyInjectionDelayandsetKeyInjectionDelayas the parameter is unused now that text is always injected directly rather than by key presses. (I3bcc5).
Bug Fixes
- Updated the delay between
UiObject2motion events to account for dynamic refresh rates (i.e. Smooth Display) (I43f12). - Reduced flakiness from accessibility node staleness on certain UIs by periodically invalidating the accessibility cache (I3be25).
- Fixed
StaleObjectExceptions occurring when callingtoStringorhashCodeon a staleUiObject2. (I38ea1). - Improved
UiWatcherperformance by skipping unnecessarywaitForIdlecalls. (I8c65e). - Fixed javadoc inaccuracies, especially to clarify when each
Configuratorparameter is used. (Ie10b1, I71631).
wear protolayout: v1.2.0-alpha05
June 26, 2024
androidx.wear.protolayout:protolayout-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
New Features
- Add
hasTextmethod toMaterial.CompactChipto check whether the text content has been set. (I6e8fc)
API Changes
FontFamilyconst are moved to be inFontStyleinstead of its Builder class. (I06ced)- Update
FontSetting.weightandFontSetting.widthAPI to include Range annotations and change weight's parameter to be int. (Ia726c)
Bug Fixes
- Non-scalable texts in Material library now work correctly with Android 14's non-linear font scaling. (I6601e)
Wear Tiles: v1.4.0-alpha05
June 26, 2024
androidx.wear.tiles:tiles-*:1.4.0-alpha05 is released. Version 1.4.0-alpha05 contains these commits.