Skip to content

2024-06-26

Choose a tag to compare

@github-actions github-actions released this 26 Jun 18:41
· 80 commits to main since this release

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 PhotoPicker features 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 linuxArm64 multiplatform 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, MapTemplate are 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 @ExperimentalCarApi tag to MediaPlaybackTemplate.Builder. (Ic1957)
  • Adds a new SectionedItemTemplate in experimental. (I5958a)
  • Introduce CarAppApiLevel 8 (I3fa22)
  • Adds MediaPlaybackTemplate for 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 instances in BaseCarAppActivity's onDestroy method 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 GraphicsLayer API. (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 DESTROYED when starting a predictive back gesture. Now they are held in the CREATED state 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)
  • SavedStateHandleFactory test 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 NavBackStackEntry that the user returns to never returns back to the RESUMED Lifecycle 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::seller is non-nullable. (I68044)
  • Add GetAdSelectionDataRequest::coordinatorOriginUri Experimental API. (I18c0b)
  • Added updateSignals API. (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 AbstractSandboxedUiAdapter and AbstractSandboxedUiAdapter.AbstractSession abstract classes that can be used by UI providers to avoid implementing the entire SandboxedUiAdapter or Session interfaces. It is recommended for UI providers to use these abstract classes.
  • Added registerObserverFactory logic that allows a SessionObserverFactory to be attached to a SandboxedUiAdapter. When a SessionObserverFactory is attached to an adapter, a SessionObserver will be created for each new UI session created for that adapter. The created SessionObserver will receive an onSessionOpened callback when the UI session is opened. When the UI presentation of the Session’s view changes, SessionObserver.onUiContainerChanged will be called. onUiContainerChanged is throttled and will be called at most every 200ms.
  • Added SandboxedSdkViewUiInfo which can be created from the Bundle sent in SessionObserver.onUiContainerChanged. This object represents the UI state of the SandboxedSdkView that is hosting the UI session. It contains height and width information, a Rect representing 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.onUiContainerChanged and SandboxedSdkViewUiInfo. (Ie98bc)
  • Add SessionObserver interface and registration logic. (I047dc)
  • Add AbstractSandboxedUiAdapter and AbstractSession. (I3617a)

Known Issues

  • When the UI provider is in the same process as the client application, SessionObserver.onUiContainerChanged is 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#getKeyInjectionDelay and setKeyInjectionDelay as the parameter is unused now that text is always injected directly rather than by key presses. (I3bcc5).

Bug Fixes

  • Updated the delay between UiObject2 motion 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 calling toString or hashCode on a stale UiObject2. (I38ea1).
  • Improved UiWatcher performance by skipping unnecessary waitForIdle calls. (I8c65e).
  • Fixed javadoc inaccuracies, especially to clarify when each Configurator parameter 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 hasText method to Material.CompactChip to check whether the text content has been set. (I6e8fc)

API Changes

  • FontFamily const are moved to be in FontStyle instead of its Builder class. (I06ced)
  • Update FontSetting.weight and FontSetting.width API 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.