May 19, 2026

API Changes

  • Deprecating GeospatialMode.VPS_AND_GPS in favor of GeospatialMode.SPATIAL and introducing a new lower-power tracking mode, GeospatialMode.INERTIAL, which uses only IMU and GPS. I1e6cd
  • Custom anchor exception classes: AnchorInvalidUuidException, AnchorNotAuthorizedException, AnchorUnsupportedLocationException, AnchorRuntimeFailureException, and AnchorUnsupportedObjectException are now RuntimeException instances, not intended to be checked. I9356e
  • Added ArCoreTestRule API, including TestArDevice, TestAugmentableObject, TestDepthMap, TestEye, TestFace, TestGeospatial, TestHand, TestPlane, TestRenderViewpoint, & TestTrackable I0ad3c
  • Removes AnchorLoadInvalidUuid, AnchorCreateUnsupportedObject, AnchorCreateUnsupportedLocation, and AnchorCreateNotAuthorized. All of these errors are now exceptions in the runtime. Removes AnchorCreateIllegalState. This has been replaced with AnchorCreateTrackingUnavailable in most cases. Adds AnchorException and derived classes AnchorInvalidUuidException, AnchorNotAuthorizedException, AnchorUnsupportedLocationException, AnchorRuntimeFailureException, and AnchorUnsupportedObjectException. I4c4dd

External Contribution

  • Added AugmentedImage API for custom marker tracking I0cf09
  • Spotlight Section: Showcases featured content collections or editorial recommendations by pairing a prominent hero image with adjacent condensed items.
  • Condensed Items: Displays compact visual components that restrict text to one line, allowing more content to fit on the screen without overwhelming the driver.
  • Chips: Provides compact, interactive elements used to filter content or trigger quick actions, supporting customizable shapes, borders, and colors.
  • Minimized Control Panel: Implements a persistent, responsive, and condensed version of the Now Playing View (NPV) that automatically appears during active playback.
  • Banners: Showcases special app experiences, new features, or important messages with distinct visual prominence through customizable background fills and corner radii.
  • Section Header: Defines interactive titles, overlines, brand icons, and trailing action buttons for individual content groups within the sectioned item template.
  • Expanded Header Layout: Upgrades standard headers within the sectioned item template to support rich layouts, such as background images that collapse on scroll and secondary actions.

Version 1.9.0-alpha01 contains these commits.

API Changes

  • Added Banner and BannerSection which allows Banners to be added to SectionedItemTemplate. Id5dd2 b/505494611
  • Added NavigationManager.setVoiceAssistantCapabilities to allow navigation apps to send their voice assistant capabilities and consent status to the host. I34c93 b/489625791 b/486967456
  • Added NavigationVoiceAssistantCapabilities API for navigation apps to declare supported voice actions, disruptions, and voice assistant consent status. I79d3e b/489625791 b/486967456
  • Introduce CarAppApiLevel 9 I87656 b/501233317
  • Add an API to set the Shape of a Chip or ChipSection via ChipStyle I1fcfc b/505086379
  • Added new CondensedItem and CondensedSection APIs to support high-density layouts in SectionedItemTemplate. Iabaa8 b/499350859
  • Added experimental support for subtitles in Header and a new Background model. I66b5b

API Changes

  • DeferredTargetAnimation is no longer experimental, please remove opt-in into androidx-main
  • Added mutableTransform parameter to AnimatedVisibility and AnimatedContent to support direct manual property manipulation (e.g., for predictive back gestures) during a deferred transition phase. I236e8
  • DeferredTargetAnimation is no longer experimental, please remove opt-in. I1e4ae b/500030165
  • New enum to support triggers in ui-tooling I6e198 b/478807872

API Changes

  • In the experimental Style API, added support for creating custom style types that can have custom style scopes. This allows subsetting the properties settable by a style (such as removing the graphics layer or text properties entirely) as well as allowing the scope to be extended independently of other styles (such as only supporting the playing { } syntax in a MediaPlayer composable). This change breaks binary and source compatibility. The primary change that breaks source compatibility is that helper functions in the StyleScope have moved to be extension functions (e.g. fun contentProperty(all: Dp) is now an extension function). Either importing the required extension functions or by importing all symbols from androidx.compose.foundation.styles should be all that is required get code that calls these methods to compile correctly. I1ef27 b/493676648.
  • ScrollIndicatorState implementations now correctly return the scroll offset from the visual start for reversed layouts, ensuring correct visual presentation of indicators. Ia3fae b/503604996
  • Added flag isClearNestedScrollCoroutineScopeFixEnabled to control the fix. Ibd394 b/505343254

External Contribution

  • Enabled auto-scrolling when dragging text selection beyond the viewport in SelectionContainer. Ibcb08 b/424433794

API Changes

  • Removed shouldUsePrecisionPointerComponentSizing function I882c3 b/498698039
  • Fixed an issue where the tooltip caret would appear on the wrong side when the tooltip flipped due to screen edges. Idc314 b/479224210
  • Introduced rememberBottomSheetState as the unified API for BottomSheet state. Deprecated rememberModalBottomSheetState and rememberStandardBottomSheetState in favor of the new unified API. I2724e b/500005697
  • Remove deprecated experimental WideNavigationRail APIs Iaadd6 b/497891040
  • Graduate SplitButton APIs to non-experimental. I4d395 b/497876691
  • Deprecate the DropdownMenuItem APIs with checked and selected params that have supportingText as a trailing lambda. Moved supportingText to be a parameter right after trailingIcon. Icaf79 b/503047115

Bug Fixes

  • Update Navigation Drawer predictive back handler to allow going back while drawer is opening instead of only when fully opened I714ae b/418556231

Bug Fixes

  • Resolved several issues in the LinkTable where diagnostic stack traces would be unpopulated or missing information I3918c
  • Fixed an issue in an internal data type that could cause an exception in rare cases with movable content. Ic478f b/507724717
  • Fixed an issue in the LinkComposer's skipping behavior that resulted in inconsistent behavior compared to the GapComposer, unexpected recalculation of default arguments, and test timeouts. I783dc

API Changes

  • Added a new credentialRequest Semantics property and a CredentialRequestData helper on API 34+ to allow Jetpack Compose text fields to integrate with Android's Credential Manager via the Autofill framework. Ida2bf b/488446455
  • Added a ParagraphIntrinsics factory function that takes the softWrap argument among others. Internally, we could use it as a signal that the text is rendered as a single line and perform certain optimisations. I66ca4 b/485495112
  • Added support for automatic interaction sounds (clicks and focus navigation) to Compose components, with a new SoundEffectOnInteraction Composable to allow opt-out. Note that as a consequence of this change semantics click listeners must now be called from the main thread, which may effect a small number of test cases. I78f65
  • Stabilized Font factory function taking variationSettings. I183f2
  • Stabilized ResourceFont loadingStrategy property and copy method. I40d84
  • Stabilized InterceptPlatformTextInput and PlatformTextInputInterceptor APIs. Id2784
  • To improve platform separation, registerIdlingResource and unregisterIdlingResource have been moved to extension functions; you may need to update your imports. I21d3d b/471148519
  • Introduced runWithoutImplicitWait to ComposeTestRule and ComposeUiTest to improve test performance during state inspection. This API allows to execute a block of code with implicit synchronization disabled, avoiding the overhead of repeated synchronizations for each node query. This results in significantly faster test execution, especially for tests that manually step through frames and sample multiple properties, such as in animation testing. Ie00e9 b/490270394
  • The @PreviewWrapper annotation can now be applied to MultiPreview annotation classes, allowing developers to create reusable, pre-wrapped preview configurations. I8ae66 b/511170361
  • Introduces MeshGradientPainter for rendering mesh gradients.Modifier.meshGradient has been removed, use MeshGradientPainter with Modifier.paint instead. MeshGradientRenderer is now internal. I2d170 b/508110246
  • Rulers can now be provided individually by supplying a lambda that responds whether the Ruler can be provided, along with separate lambda that provides the Ruler's value. The isRulerProvided lambda isn't observed and should be optimistic in whether a value can be provided. The rulerProvider lambda is observed so that if any value changes, it will update the ruler value and all readers of the ruler. Ie9089
  • In the experimental Style API, added support for creating custom style types that can have custom style scopes. This allows subsetting the properties settable by a style (such as removing the graphics layer or text properties entirely) as well as allowing the scope to be extended independently of other styles (such as only supporting the playing { } syntax in a MediaPlayer composable). This change breaks binary and source compatibility. The primary change that breaks source compatibility is that helper functions in the StyleScope have moved to be extension functions (e.g. fun contentProperty(all: Dp) is now an extension function). Either importing the required extension functions or by importing all symbols from androidx.compose.foundation.styles should be all that is required get code that calls these methods to compile correctly. I1ef27 b/493676648
  • Adds updatePointerBy() with default argument for the pointer id. I99f30 b/502001776
  • DeferredTargetAnimation is no longer experimental, please remove opt-in." into androidx-main
  • Added flag isClearNestedScrollCoroutineScopeFixEnabled to control the fix. Ibd394 b/505343254
  • DeferredTargetAnimation is no longer experimental, please remove opt-in. I1e4ae b/500030165
  • New enum to support triggers in ui-tooling I6e198 b/478807872
  • The ComposeViewContext is allowed to be created without the reference View being attached. It still requires that the reference View is attached prior to calling setContent(). Id0952

Bug Fixes

  • Fixes focusRestorer not properly restoring focus when multiple save calls occur for the same layout I10277 b/505371994
  • A previous performance improvement had the side-effect of disallowing unattached ComposeViews from being measured. This change now allows it without reintroducing the performance problem. I9b2c5 b/508650647
  • Composition is now recreated on ComposeViewContext change to support faster access to the ComposeViewContext. I3b3a8 b/487364963
  • Allow Compose to set non-sRGB colors on paint and shader on Android, preserving wide color gamut by correctly mapping Compose color spaces to platform equivalents. Color spaces not supported for platform rendering operations (e.g., CIE XYZ, CIE Lab, OkLab) or not available on the current API level will safely fallback to the Srgb color space. I3efb5 b/388511109

External Contribution

  • androidx.compose.ui.platform.NativeClipboard typealias is deprecated, use android.content.ClipboardManager directly instead Ibc611
  • Replace Clipboard.nativeClipboard property to Clipboard.nativeClipboardManager extension to avoid exposing platform type into commonMain sourceset via typealias Ibc611

API Changes

  • Bumps api and remote compose versions by 1 for glance Ia4ea3
  • Add snap scrolling support when remote compose is used I0ca9d

Bug Fixes

  • Updated Compose compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required when using Compose. Id45cd b/413674743
  • Add default Wear Widget background when WearWidgetBrush is empty or not specified. I8300b
  • Add wear widget background painter api. Id883e b/449785790

API Changes

  • Expose glance.wear.health.DataType APIs in Wear Widget. These APIs can be used by developers to access system health data.

Bug Fixes

  • Fixed a crash loop happening in the alpha09 version on Wear 7 emulator or devices running 1.6 renderer by not allowing empty font axis to be send to the Player for Glance Wear Widget.

API Changes

  • Added an optional enabled parameter to Modifier.surface which applies a visual overlay when the surface is disabled. I8b781
  • Introduced reverseLayout in GlimmerPagerLayoutInfo I73818 b/481669559
  • Rename animateShape to animatedShape in ToggleButtonDefaults and IconToggleButtonDefaults I15f00
  • Renamed List-related components to use the GlimmerLazyList prefix. If0737 b/425919254 b/483126735
  • Initial implementation of voice indicator for Glimmer I446c7 b/481998624
  • Remove focusable and clickable overloads for 'surface' modifier. Now it's a single modifier that is responsible only for visual effects. Manually add 'focusable' / 'clickable' / other modifiers to create interactive surfaces - see the samples for more information. I12dbe

API Changes

  • Make programmatic Ink brush customization API public I8e2e1
  • Split BrushPaint.TextureLayer into more specific subclasses I8848a

API Changes

  • Introduced transformingMovable for default system-handled 3D movement and introduced a new overload for movable to handle custom movement behaviors. I50960
  • SpatialGltfModel.fromData() was removed. I4d083
  • Added a new modifier node interface, SubspaceMeasuredSizeAwareModifierNode, which provides an onRemeasured callback after the measure pass. SubspaceLayoutAwareModifierNode now extends this new interface. The onSizeChanged modifier has been updated to use onRemeasured, ensuring the callback is triggered right after measurement, not after placement. Iafbae
  • Updated InteractionPolicy to an Interface I0ff30
  • Updated Compose compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required when using Compose. Id45cd
  • Updated Size kdocs Iefa9a

API Changes

  • Entity.dispose() is now removed as public API. Instead of calling dispose() on Entity instances, apps can make instances cleanable by setting the parent to null and by clearing any strong references to those instances. I396c9
  • SoundEffectPool's set/clearOnLoadCompleteListener methods have been deleted. Use add/removeLoadCompleteListener instead. Iae78d
  • Scene's set/clearSpatialVisibilityChangedListener was replaced with add/removeSpatialVisibilityChangedListener. I67dff
  • All SceneCore add/removeOnFooListener methods have been renamed add/removeFooListener, removing On from the name. Ibe50b
  • AnchorEntity.setOnOriginChangedListener and AnchorEntity.setOnStateChangedListener methods have been replaced with add/removeFooListener methods, to support multiple simultaneous Listeners. I13749
  • Renamed AnchorEntity.State.TIMEDOUT to State.TIMED_OUT. Id2b8d
  • The Component API has been refactored for improved safety and extensibility. Component is now an abstract class. The onAttach() and onDetach() methods are now protected to prevent direct calls. Please use Entity.addComponent() and Entity.removeComponent() to manage component lifecycles. Id04e8
  • SceneCore's PlaneSemanticType PlaneOrientation constants have been migrated from Ints to custom types. Their ANY constants will be removed, clients should explicitly enumerate all desired constants instead, or use the new .ALL immutable Set constants. The AnchorEntity factory method now accepts a Set of these types, instead of a single value. Ib1033
  • Added support for skeletal animation (skinning) to the experimental Custom Mesh API. Developers can now animate custom meshes by specifying a boneCount when creating a MeshEntity and updating the animation in real-time using MeshEntity.setBoneTransforms(). Id8ba2 b/496692490
  • Introduced the experimental CustomMesh API. Developers can now programmatically create and render 3D geometry in their scenes using CustomMesh, MeshBuffer, and MeshEntity. I94617
  • Removed androidx.xr.scenecore.SpatializerConstants.SourceType.SOURCE_TYPE_SOUND_FIELD. Use SourceType.SOUND_FIELD instead. Ia68b9
  • Adding spatial audio components: PositionalAudioComponent, SoundEffectPoolComponent and SoundFieldAudioComponent Ieda89
  • AnchorEntity.getAnchor was replaced with AnchorEntity.anchor and will now return an Anchor when the AnchorEntity was created from an ARCore Anchor I5c7c8
  • The default value for the parent parameter in the ActivityPanelEntity, GltfModelEntity, GroupEntity, PanelEntity, and SurfaceEntity factory methods has been changed from ActivitySpace to null. To attach an entity to the scene graph and render it visible, developers must now explicitly set its parent during instantiation or via Entity.parent = ... Ie7cc1

Bug Fixes

  • SceneCore now automatically reclaims Entity instances when they become phantom reachable, removing the need for developers to explicitly invoke dispose() to free resources. To ensure an [Entity] instance is properly reclaimed, developers should:
    • Detach it from the scene graph by setting its parent to null.
    • Relinquish all strong references to the instance in their code.
    • Note on Special Entity Types: For entities that cannot be parented (such as AnchorEntity), developers must maintain a strong reference while the instance is in use. If all references are released, these instances will become phantom reachable and will be automatically reclaimed. I83fe4
  • Narrowed Proguard keep rules for all SceneCore libraries. I98447

Known Issues

  • Attaching a PositionalAudioComponent to an Entity with an inactive ExoPlayer instance will cause a crash. Do not call setPointSourceParams or attach/detach the spatial audio components while ExoPlayer is stopped. This will be fixed in the next release.

API Changes

  • Add setSelectedPositionToUnalignedChild and setSelectedPositionToAlignedChild to change selected position without triggering scrolling. If53ab b/499067714
  • Provides setFocusScrollStrategy(FOCUS_SCROLL_ALIGNED_AND_SNAP) to support snapping in touch mode. I55fbc
  • Support SpanSizeLookup with the ability to occupy all spans and padding area. I7f87c
  • Expose getNumColumns() and getNumRows() Icd8c0 b/138276997

Bug Fixes

API Changes

  • Add a rememberViewModelStoreNavEntryDecorator overload that accepts a ViewModelStoreProvider. This allows developers to hoist the provider above the decorator's composition scope, enabling use cases such as supporting multiple back stacks where the same entry exists in both but requires separate state. Ibbbfe b/503420425
  • Prevent premature clearance of shared ViewModels when a sibling provider is removed from the composition. Ib321a

Bug Fixes

  • Require Compose UI 1.7.0+ to use LocalLifecycleOwner. This removes internal reflection fallbacks, improving performance but enforcing a strict dependency upgrade for clients. I48e65
  • Prevent symbol duplication with older JetBrains fork versions when upgrading to Compose Multiplatform 1.11.0. Iccd64
  • Fix an issue where ViewModels were incorrectly cleared during recomposition when using rememberViewModelStoreProvider with unstable default parameters. The provider now only recreates when the parent owner or the explicit key changes. Ibe296 b/501792448

API Changes

  • Changed Orbiter to use either an OrbiterAnchorPoint + VolumeOffset or an OrbiterPoseProvider instead of position, offset, offsetType, alignment, and elevation. Also removed the shouldRenderInNonSpatial parameter. If the developer does not want the orbiter to render in non-spatial they should wrap the orbiter in an if statement and check the SpatialCapabilities. I9fbb3
  • Added movable modifiers. These modifiers currently work for SpatialPanels and SpatialExternalSurface. They will be supported in the future for SpatialGltfModel and eventually all SubspaceComposables. I9a3cd

Bug Fixes

  • Bumped NavigationEvent dependency to 1.1.1 which removed the no-op NavigationEventHandler when in inspection mode to enable Predictive Back in Android Studio Previews.

New Features

Navigation 3 now supports deep links with DeepLinkRequest and DeepLinkMatcher:

  • DeepLinkRequest a requested deep link containing a DeepLinkUri and an optional mimeType or action(Android only). Along with the new class are companion functions to create an instance with either a uri, a mimeType, or an action. The android platform also has a helper to build a request from an Intent. Iaaac9 b/470282247

    val uriOnlyRequest = DeepLinkRequest.fromUriString("https://sampledeeplink.com/home")
    val uriAndMimeRequest = DeepLinkRequest.fromUriString(
      "https://sampledeeplink.com/user/profile?id=123",
      "image/png"
    )
    
  • DeepLinkMatcher represents a deep link that can be matched with a DeepLinkRequest. Each matcher instance is associated with the navigation key that supports this deep link. A navigation key can be associated with multiple matchers. Calling DeepLinkMatcher.match will return a MatchResult that contains the associated navigation key if match succeeds. There are two default DeepLinkMatcher implementations: UriDeepLinkMatcher for matching deep links based on Uri, and StaticKeyDeepLinkMatcher for matching deep links with only DeepLinkMatcher.Filter that match by a Boolean. I3798e b/470282247

  • UriDeepLinkMatcher an opinionated implementation of DeepLinkMatcher that handles deep link by matching DeepLinkUri to a Serializable navigation key. It supports deep link arguments of Primitive types or Collection of primitives such as Lists, Arrays, and Sets. I1520b b/470282247

    @Serializable
    data class UserKey(val id: Int): NavKey
    
    // declare a deep link supported by UserKey
    val userMatcher = UriDeepLinkMatcher(
      uriPattern = "www.sampledeeplink.com/user?userId={id}",
      serializer = serializer<UserKey>()
    )
    
    // handle a requested deep link with fallback key
    val key = userMatcher.match(deepLinkRequest)?.key ?: HomeKey
    
  • Added DeepLinkUri which is a kotlin-multiplatform version of android.net.Uri Id4725 b/470282247

Api Changes

  • Bumped to compileSdk 37 to match Compose's compileSdk

Bug Fixes

  • Fixed AnimatedBottomSheetSample's IllegalArgumentException when displaying multiple overlays. The sample SceneStrategy will now correctly calculate the last non-OverlayScene and display it under all the overlay scenes. If2281 b/506733412
  • Bumped NavigationEvent dependency to 1.1.1 which removes the no-op NavigationEventHandler when in inspection mode to enable Predictive Back in Android Studio Previews. I487fd

API Changes

  • Updates @Relation and @Junction such that parentColumns and entityColumns properties are an array of column names to be used as keys for solving relationships, in turn supporting composite relationship keys. I92196 b/64247765

Important changes since 1.4.0:

  • Enable generic serialization for SavedState objects, allowing them to be encoded and decoded using standard formats like CBOR or JSON across all platforms. Iafda4 b/425919375
  • Add putKotlinSerializable and getKotlinSerializable extension functions to SavedStateWriter and SavedStateReader to allow directly storing and retrieving Kotlin Serializable objects using keys, streamlining the integration with SavedState APIs. (Iba02e)
  • Add factory functions for LifecycleOwner, ViewModelStoreOwner, and SavedStateRegistryOwner to reduce boilerplate when composing custom owner components. I9682c
  • Enable saving and restoring SnapshotStateSet (created via mutableStateSetOf()) with rememberSerializable. You can now use SnapshotStateSet in rememberSerializable without requiring a custom saver. I9a4ed b/449498367

API Changes

  • Add the ability to discover and override instances of TraceDriver to be used process wide. I3f715
  • Rename Tracer.recordException to Tracer.recordExceptionAndThrow. I4411f b/503092450

API Changes

  • Add non-composable Modifier.oneHandedGesture() if developer wants to provide the key manually. I191e1 b/504712626
  • Remove gesture indicators from OneHandedGestureDefaults and add color support to one-handed gestures I7934f b/505009712 b/504712626
  • Added explicit handling for one-handed dismiss gestures in AlertDialog. Id71e8 b/509675781
  • DeferredTargetAnimation is no longer experimental, please remove opt-in. I1e4ae b/500030165

Bug Fixes

  • Fix concurrency issue when triggering one-handed gestures I7b95f b/512086558
  • Fixed that one-handed gesture indicators are mirrored based on wrist orientation rather than LayoutDirection. I6db5d b/512003346
  • Fix border drawing on TLC items I0c3c1 b/510772213
  • Added inline image previews for samples in Kdoc for SurfaceTransformation.kt, SwitchButton.kt and TextButton.kt. These images will now render in the documentation for Wear Compose Material 3 DAC pages, providing developers with immediate visual context for each button variant and example. Ib53ae b/484905061
  • Added inline image previews for all samples in Kdoc of Button.kt. These images will now render directly in the documentation on the Wear Compose Material 3 DAC pages, providing developers with immediate visual context for each button variant and example. Ie2fb5 b/484905061
  • Added inline image previews for samples in KDoc within Card.kt, IconButton.kt, LevelIndicator.kt, and ListHeader.kt. These images will now render in the documentation for Wear Compose Material 3 DAC pages. I371bc b/484905061
  • Added inline image previews for samples in KDoc for Picker, SegmentedCircularProgressIndicator, Slider, and Stepper. These images will now render in the documentation for Wear Compose Material 3 DAC pages, providing developers with immediate visual context for these components and examples. I6c6ef b/484905061
  • Added inline image previews for samples in KDoc for CheckboxButton, SplitCheckboxButton, CircularProgressIndicator, ConfirmationDialog, SuccessConfirmationDialog, FailureConfirmationDialog, and curvedText. These images will now render in the documentation for Wear Compose Material 3 DAC pages, providing developers with immediate visual context for these components and examples. Ie4662 b/484905061
  • Fix AlertDialogScreenshotTest test I9be58 b/508678506
  • Added inline image previews for samples in KDoc for NonClickableCard, OpenOnPhoneDialog, VerticalPageIndicator, VerticalPagerScaffold, and RadioButton. These images will now render in the documentation for Wear Compose Material 3 DAC pages, providing developers with immediate visual context for these components and examples. I2aa2d b/484905061

API Changes

  • Added startRemoteActivityAttemptUnlock and startPhoneActivityWithUnlock to RemoteActivityHelper, allowing Wear OS applications to start an activity on the connected phone after unlocking the phone, subject to user enrolling in feature and platform capability. startRemoteActivityAttemptUnlock can fall back to existing startRemoteActivity when feature not available. Ic23ae b/468374830

API Changes

  • Added WebViewCompat#navigate, an enhanced version of WebView#loadUrl. Like loadUrl, this method will load the specified url in the WebView, but offers the following additional capabilities:
    • Allows replacing the current page in the navigation history.
    • Returns a Navigation object, allowing the developer to match between the navigate call and navigation callbacks.
    • Handles extra headers in a more consistent and understandable manner, including saving and restoring them when using save state. Iedefd b/408128748
  • Deprecated SpeculativeLoadingParameters. Apps should migrate to the more specific PrerenderParameters or PrefetchParameters for controlling speculative loading features. (I8afed)
  • Added new methods to Profile to manage prerendering behavior: Profile#getMaxPrerenders() to get the current limit and Profile#clearMaxPrerenders() to reset it to the default. I696ed
  • Removed the experimental Profile#setOriginMatchedHeader and associated methods. The APIs have been superseded by Profile#addCustomHeader, which was released as a stable API in 1.15.0. Ia7f5c b/485235632

API Changes

  • Added ProjectedTestRule to support unit testing. I69db5

Known Issues

  • Erroneously bumped compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required for this release. It will be reduced to 36 in the next release. Id45cd

API Changes

  • Deprecating GeospatialMode.VPS_AND_GPS in favor of GeospatialMode.SPATIAL and introducing a new lower-power tracking mode, GeospatialMode.INERTIAL, which uses only IMU and GPS. I1e6cd
  • Removes deprecation tag on androidx.xr.runtime.FieldOfView. Makes androidx.xr.runtime.math.FieldOfView a type aliaas of androidx.xr.runtime.FieldOfView in preparation for the latter's removal in the next release. Clients must migrate to the androidx.xr.runtime.math version wherever they are using the androidx.xr.runtime version. I6ce15
  • Added the PreviewProjectedApi annotation Ic49f6
  • Removed AugmentedObjectCategory.allSupported I08656
  • Adding APIs in XrDevice for determining device support for hand tracking, eye tracking, depth estimation, geospatial, and rendering. I00696
  • Session.getNativeData has been replaced with XrDevice.getNativeInstanceData and Session.getNativeSessionData. Ieb077
  • Annotated DeviceTrackingMode.INERTIAL_LAST_KNOWN with @PreviewSpatialApi. I99868
  • Added XrDeviceTestRule for its use in unit tests. I87584
  • Adding CATEGORY_XR_PROJECTED_LAUNCHER, this constant is used in the Manifest file to indicate the activity should be discovered as a launcher by the system. Ia3069

External Contribution

  • Add AugmentedImageMode to the Config API I0cf09