June 17, 2026

API Changes

  • HitResult.createAnchor was removed. Developers can create an anchor representing the HitResult if the trackable of the result is an Anchorable by supplying the hit position to the createAnchor function of the Anchorable. Ia851e
  • AnchorUnsupportedObject was removed. It is no longer thrown by a JXR ARCore runtime. Ia851e
  • androidx.xr.arcore.Anchor and androidx.xr.arcore.ArDevice now implement androidx.xr.arcore.Trackable. I57b65
  • Depth.left, Depth.right, and Depth.mono are now non-nullable I1fc5e
  • Face.getUserFace is now non-nullable I0eac1
  • RenderViewpoint.left, RenderViewpoint.right, RenderViewpoint.mono are now non-nullable Icf7fa
  • Hand.left and Hand.right are non non-nullable Icef37
  • Added QrCode API Ia0bbe

API Changes

  • Introduced permitTransformDuringDeferredTransition parameter to SharedContentConfig to control whether shared elements should visually transform with their parent container during the deferred phase of a DeferredTransition. I4b67b
  • Refactored Transition to a sealed class and improved DeferredTransition API documentation and safety. Iecb8f
  • Added inactiveElementColor to LookaheadAnimationVisualDebugging" into androidx-main
  • Added inactiveElementColor to LookaheadAnimationVisualDebugging I5454b b/501193322
  • Removed ExperimentalAnimatableApi annotation. I4e670 b/500030165

Bug Fixes

  • Fixed an issue in the LinkComposer that could cause composables to skip instead of recompose when invalidated during composition. Ie29fe

API Changes

  • Renames test function for triggering indirect pointer events I3ee35 b/509618414
  • Renamed TextObfuscationMode.Default to System. TextObfuscationMode.RevealLastTyped now acts as an absolute override and always reveals the last typed character. The default argument of BasicSecureTextField is updated to System. If26d3 b/425658491 b/453647378
  • Updated getSpanStyles and getParagraphStyles to take a TextRange instead of separate start/end indices. Relaxed bounds checking on style queries to no longer throw exceptions, and prevented crashes when querying properties of invalidated TrackedRanges. I62a9a b/514404697
  • Added Named Areas feature to Grid layout. Developers can now define semantic areas using GridConfigurationScope.area() and place items into them using the new Modifier.gridItem(area) overload, decoupling semantic intent from physical coordinates. Id9303 b/487503921
  • Added then operators and combination factory functions for FlexBoxConfig and FlexConfig to allow merging and overriding of layout configurations. Icfdd8 b/475491619
  • Added RevealState.drag(), SwipeToRevealDragScope, and exposed custom flingBehavior in SwipeToReveal to enable programmatic control over swipe gestures, offsets, and settling animations. Ibfe56 b/484185090

Bug Fixes

  • Fixed an issue where the text selection toolbar might fail to update its position or items. Ib2566

External Contribution

  • In SelectionContainer, allow selection (via the mouse) to start in empty areas between Text selectables. I93f69 b/502151445
  • Expose AndroidClipboard interface for testing to provide a way to mock clipboard implementation Ie4d72 b/512924975
  • Add backwards compatibility for TextAttribute variants of commitText() and setComposingText(). For SDK>=37, accessibility services will be able to announce whether or not a suggestion replacement text is selected. For SDK<37, will not affect spoken feedback (i.e. existing behavior). I90e3d b/439879822

API Changes

  • Added a public snapAnimationSpec getter to TopAppBarDefaults to expose the default snap animation spec. Ic7b37 b/519193808
  • Add shapes to internal and private methods of TimePicker.kt API I9d09e b/441573791
  • Support shapes in AnimatedPane Ie7c60 b/470517507
  • Fix contrast of AM/PM toggle buttons for TimePicker Ifc0b7 b/339079853
  • Graduate Expressive FloatingToolbar APIs to non-experimental. I5a4d8 b/497887216
  • Remove deprecated transformOriginState from DropdownMenuPopupPositionProvider. I0d5b0 b/505481611
  • Updated pinnedScrollBehavior and enterAlwaysScrollBehavior to accept a ScrollableState, which automatically handles edge cases like reversed layouts and pre-scrolled content. Legacy overloads are deprecated. Migrate usages of isScrollingContentAtStart to the new overloads with scrollableState param. Promoted TopAppBarScrollBehavior and related APIs to stable. Ib83cf b/519193808
  • Updated pinnedScrollBehavior and enterAlwaysScrollBehavior to accept a ScrollableState, which automatically handles edge cases like reversed layouts and pre-scrolled content. Promoted TopAppBarScrollBehavior and related APIs to stable. Ieda4b b/405129274
  • Update DropdownMenuPositionProvider to remove MutableState from transformOrigin. Collapse MenuAnchorPosition from a sealed interface into a single class. Introduces MenuAnchorPositionScope that contains information that can be used to create custom x and y candidates. I21f2b b/505481611
  • Promote ButtonGroup APIs to stable. Remove deprecated experimental APIs that were introduced in a 1.5.0-alpha. Idaf96 b/497876828

Bug Fixes

  • Fixed a bug where ButtonGroup's compression animation did not correctly handle asymmetric button paddings or RTL layout directions, and could crash with IllegalArgumentException under certain display densities. I35074 b/516743181
  • Fix TimePicker text input mode error handling mechanism If4541 b/405054265

Bug Fixes

  • Fixed an issue where snapshot apply observers were not notified if a state object was created in one snapshot and then modified in a concurrent snapshot before the first one was applied. Ide27f b/451479063
  • Fixed a potential memory leak in how derivedStateOf() values are tracked in composition. Forward writes to objects read by a derived state caused the derivedStateOf() instance to be retained by the composition until the composition is disposed. If the derivedStateOf() is not remembered correctly this leak can be significant as each composition may create a new one. Ib5d87 b/516904513
  • Fixed an issue in the LinkComposer that could cause composables to skip instead of recompose when invalidated during composition. Ie29fe
  • Fixed an issue with the vararg overload of remember that would prevent the remembered value from being invalidated and cause an incorrect value to be returned from remember. This occurred when remember is recomposed with fewer keys that are the same as the previous keys minus elements from the end of the array. Affected code must be recompiled to receive this fix. I0736b

External Contribution

  • Added verbose tracing for DisposableEffect and SideEffect work in Compose runtime. Ie451f

API Changes

  • N/A (moving internal developer feature flag) Iaf2c4 b/368702588
  • N/A - Moved a feature flag. I24668 b/521811270
  • Added experimental feature flag ComposeUiFlags.isTrackpadPinchReinterpretationEnabled to re-interpret trackpad pinch gestures as mouse events with scale factors. Id3477 b/478053727
  • Renames test function for triggering indirect pointer events I3ee35 b/509618414
  • Add optimisation to the BasicText and BasicTextField where setting a line height for a text with softwrap=false is now calculating more optimally I2150a

Bug Fixes

  • Optimized scroll capture state propagation across subcompositions to prevent unnecessary UI recomposition. I05830
  • Enabled experimental feature flag ComposeUiFlags.isTrackpadPinchReinterpretationEnabled by default. I35ab8 b/478053727
  • Fixed an issue in vector drawable resource parsing where parent <clip-path> elements were ignored if they contained nested <group> elements. Id4ea9 b/474530439
  • Added support for standard JUnit 4 test retry rules in AndroidComposeTestRule by regenerating the internal test environment and coroutine scope between execution attempts. Iafaa7 b/235383900

External Contribution

  • Expose AndroidClipboard interface for testing to provide a way to mock clipboard implementation Ie4d72 b/512924975
  • Add backwards compatibility for TextAttribute variants of commitText() and setComposingText(). For SDK>=37, accessibility services will be able to announce whether or not a suggestion replacement text is selected. For SDK<37, will not affect spoken feedback (i.e. existing behavior). I90e3d b/439879822

New Features

The initial alpha release of AndroidX implementations of LocationButton that enable both view and compose based applications to easily request one-time precise location permission. For devices running Android 16 (API 36) or below, the library provides automatic backwards compatibility by defaulting to standard location permission prompts.

API Changes

  • Added LocationButton View as an entry point for View based applications.
  • Added LocationButton composable as an entrypoint for Compose based applications.
  • Added OnPermissionResultListener, OnErrorListener, and OnRequestPermissionsListener for callback handling.
  • Added TestLocationButtonProvider to allow apps to test flows relying on the secure LocationButton.

Major features of 1.0.0:

Bug Fixes

  • Moves libraries to use Java 11 target. This means produced bytecode will be Java 11 (class file version 55) and might require desugaring to use the library If4c2a b/457821470
  • Add ViewBoundsTracker class to continuously track the view bounds for setting sourceRectHint in PictureInPictureParamsCompat Id203a b/474454111
  • Add PictureInPictureParamsValidator class to validate the app provided PictureInPictureParamsCompat I89b4d b/470149490
  • Add the Pixel Dec release to the list of fixed build fingerprints in KI_398591036 I65f51 b/398591036
  • Add the Pixel Nov release to the list of fixed build fingerprints in KI_398591036 I60c10 b/398591036
  • Add the Pixel Oct release to the list of fixed build fingerprints in KI_398591036 I6438c b/398591036
  • Removed references to FingerprintManager class from FingerprintManagerCompat and updated all methods to return false or no-op. I0360b b/330524057
  • Fix the code links in documentation for KI_452390376 I9a554 b/454020407
  • Mark specifig pixel builds as fixed. I4c751 b/398591036
  • Add support for specifying a list of manually tested build fingerprints for a KnownIssue. Iea9f9 b/453691379

API Changes

  • Remove the ExperimentalAppActions annotation from stable extensions I25ab2 b/501448256

Bug Fixes

  • Fix video calls route to earpiece instead of speaker bug when using the backwards compat path on sdk=34+ I9f2bd b/519599698
  • Fixed an issue where incoming audio-only VoIP calls were incorrectly treated as video calls by the platform, causing them to route to the speakerphone instead of the earpiece I95902 b/517616475
  • Fixed a bug in Core-Telecom where an intentional user switch to speakerphone during call initialization would be incorrectly reverted to the earpiece. I9e251 b/478022476
  • Fixed an issue where redundant audio state updates in core-telecom could lead to main thread congestion and potential ANRs. Ibd794 b/491873537
  • Fix NPE in BlueoothProfileListener#onServiceConnected Idbd57 b/513341034
  • Fixed a test failure in CallSessionTest on Android 17 (SDK 37) by suppressing version-specific bug mitigation tests on unaffected platform versions. I970a7 b/502732317

API Changes

  • Fragment now implements the ContextAware interface and can be used to execute code when the fragment is attached. I38019 b/477255355

Bug Fixes

  • Fixed a crash in Fragment that was caused when the Activity is sent to the background during a predictive back gesture. I55734 b/389589678
  • UnsafeFragmentLifecycleObserverDetector no longer runs within composition. Ic4176 b/501504696
  • [From Fragment 1.8.9] Fixed an issue where cancelling a predictive back gesture that pops a hide operation will cause the subsequent gesture not to animate correctly when using animators. I0a400 b/384765586
  • [From Fragment 1.8.9] Fixed an error where a combination of setMaxLifecycle and popBackStack could fail to move the top fragment to RESUMED. I3448b b/406127576
  • [From Fragment 1.8.8] Fixed an issue where FragmentManager would crash while trying to save the state of Fragments that were added with setMaxLifecycle(Lifecycle.State.INITIALIZED). These fragments, since they never when through onCreate(), no longer have any state saved or onSaveInstanceState() called. I6e37a b/408163315
  • [From Fragment 1.8.7] Fixed an issue with FragmentManager no being in the proper state after pop and replace operations in the same frame that could cause a crash in conjunction with predictive back. I50ad1 b/380288461
  • [From Fragment 1.8.6] FragmentContainerView's setOnApplyWindowInsetsListener override now takes a null listener. I575f0 b/282790626
  • [From Fragment 1.8.5] Fixed an IllegalStateException triggered by saveBackStack only after a Predictive Back gesture was cancelled or interrupted. I3387d b/342419080
  • [From Fragment 1.8.4] Fixed an UninitializedPropertyAccessException in AndroidFragment when dynamically swapping out the Class your AndroidFragment instance is using. I12dea b/365578408
  • [From Fragment 1.8.4] Fixed an issue where quickly pressing system back or doing fast gesture back will cause Fragments to crash. Ibc038 b/364804225 b/364914301
  • [From Fragment 1.8.4] Fixed an issue in fragments where interrupting a predictive back gesture would send the fragment manager into an undefined state and even up showing the wrong fragment. If82e2 b/338624457
  • [From Fragment 1.8.3] AndroidFragment no longer crashes if it is added to composition while the containing activity/fragment's state is already saved. I985e9 b/356643968
  • [From Fragment 1.8.2] Triggering a system back while the FragmentManager has pending operations will no longer cause an out of bound exception. I9ba32 b/342316801
  • [From Fragment 1.8.2] AndroidFragment now properly handles cases where the parent fragment is put on the Fragment back stack, avoiding 'No view found for id' issues when popping back to that fragment. I94608 b/347706985
  • [From Fragment 1.8.2] Fragments added via the FragmentTransaction.add method that takes a ViewGroup now wait for onContainerAvailable before progressing to onStart(). This affects users of that API, such as AndroidFragment, which now waits for the AndroidFragment to re-enter composition before moving it through onStart(). I94608 b/347706985
  • [From Fragment 1.8.1] Fixed an issue where fragment without a container were immediately DESTROYED when starting a predictive back gesture. If6b83 b/345244539

External Contribution

  • Merge fragment-ktx into the fragment library. All Kotlin extensions are now part of the main fragment artifact. fragment-ktx is now an empty artifact for compatibility. Thank you Jake Wharton! Idabaa

New features

  • Added AssociateWithGlanceWearWidget that must be used on the GlanceWearWidgetService to provide which implementation of GlanceWearWidget it is associated to. Ifcabb b/514679763

    • For example:
     @AssociateWithGlanceWearWidget(MyGlanceWearWidget::class)
     class MyGlanceWearWidgetService : GlanceWearWidgetService() {
       override val widget = MyGlanceWearWidget()
     }
     ```
    
  • We have added image brush to WearWidgetBrush to support bitmap backgrounds in Wear Widgets. I9a228 b/513481558

  • We have introduced a @Composable helper function, WearWidgetPreview, to simplify the development of Glance Wear widgets by removing the boilerplate required for IDE previews.

API Changes

  • Renamed androidx.glance.wear.health.DataType to androidx.glance.wear.health.HealthData I4cb0b b/516746689
  • isHeartRateBpmAvailable is exposed to determine if heartRateBpm is available on the host. I5999d b/514641567
  • Exposed RemoteInt compare operators. I5fe3d b/513228889
  • Exposed captureRemoteDocument Flow API and a new captureSingleRemoteDocument overload (which takes RemoteCreationDisplayInfo) as public APIs. I87b0e b/513228889
  • We have added @CallSuper to GlanceWearWidgetService lifecycle methods

API Changes

  • Fix floating point precision issues leading to visual artifacts in finished strokes, affecting certain devices after OS upgrades

  • Add KMP-common API for storage module (going to/from ByteArray instead of Java InputStream/OutputStream).

  • Add a BrushBehavior.developerComment property to hold metadata explaining a custom brush family's design. This is intended to support Brush Designer UI.

  • Fix a bug in threading consistency checks in CanvasInProgressStrokesRenderHelperV33.

  • Fix some bugs in handling of MotionEvent optional fields (e.g. tilt, pressure).

  • Improve documentation for custom brush API.

  • Add new BrushPaint.ColorFunction types.

API Changes

  • Deprecated ResizePolicy and the old resizable modifier, replacing it with a new SubspaceModifier.resizable overload and SubspaceModifier.transformingResizable. I9e4bc
  • Updated SpatialGltfModel APIs: Added support for loading models from resources via SpatialGltfModelSource.fromResource. Renamed speed to playbackSpeed in SpatialGltfModelAnimation and added a resume() method. SpatialGltfModelStatus.Loaded and Loading are now objects. I523de
  • Marked rotateToLookAtUser as an experimental API. I86c16
  • Moved and renamed protected variable targetCurrentPose to local variable currentTargetPoseMeter. Ia557c
  • Update SpatialPanel and SpatialExternalSurface kdocs to include where the object is rendered within its layout size I72104
  • Encapsulated SpatialGltfModel loading logic within SpatialGltfModelState and clarified failure behavior. Ibe98b
  • Clarified depth in SubspaceModifer.size kdocs I0f84f

API Changes

  • Added overloads for addVertexData, setIndexData, and addSubset to CustomMesh.BuilderFromMeshData and CustomMesh.BuilderFromMeshBuffer. These overloads allow developers to pass raw data and parameters directly (e.g., ByteBuffer, offset, size, topology, indexOffset, indexCount) without needing to wrap them in intermediary objects like ByteBufferRegion or MeshSubset. I84d5c
  • Scene.requestFullSpaceMode() and Scene.requestHomeSpaceMode() have been renamed to requestFullSpace() and requestHomeSpace(), respectively. Other methods and documentation referring to "Home Space Mode" and "Full Space Mode" have been similarly updated. I45751
  • Provides public test API PanelEntityTester and MainPanelEntityTester I961e4
  • Adding pointSourceParams property to SoundEffectPoolComponent I4a750
  • Provides public test API MovableComponentTester I0c972
  • Provides public test API PointerCaptureComponentTester Ic0d4f
  • Provides public test API ActivityPanelEntityTester I837c4
  • Provides public test API ResizableComponentTester I0a3a4
  • Provides public test API BoundsComponentTester. Iefd53
  • Provides public test API SpatialMediaPlayerTester Ia3e09
  • Provides public test API SpatialEnvironmentTester Icf60f
  • Provides public test API GltfModelTester and SceneCoreTestRule.getGltfModelTester. I33fcb
  • Provides public test API InteractableComponentTester. Ia7096
  • Provides public test API SurfaceEntityTester. Ic0740
  • Provides public test API GltfModelEntityTester, TestGltfModelNode and TestGltfAnimation. I72c4d
  • Provides public test API SceneTester and SceneCoreTestRule.sceneTester. Ib4ec5
  • Provides public test API PerceptionSpaceTester and SceneCoreTestRule.perceptionSpaceTester. Icf739
  • Provides public test API MeshEntityTester. I63801
  • Provides public test API ImageBasedLightingAssetTester and SceneCoreTestRule.getTester overloads. I57ec4
  • Provides public test API TextureTester Ia865b
  • Provides public test API PositionalAudioComponentTester Icd96e
  • Provides public test API SpatialSoundPoolTester Ia3531
  • Provides public test API SoundEffectPoolTester If349a
  • Provides public test API ActivitySpaceTester and SceneCoreTestRule.activitySpaceTester. I2d5c2
  • Provides public test API SpatialWindowTester I41837
  • Provides public test API AnchorEntityTester I68404
  • Provides the public test API interface SceneCoreTestRule. Ic72d3
  • Added PixelDensity class and exposed it via Scene#virtualPixelDensity to provide a hardware-based pixel-per-meter ratio for accurate physical dimension mapping in ActivitySpace. I0e3ac
  • Added public APIs for creating and rendering Custom Meshes. I7ad2f
  • The VertexLayout API has been updated to use a list of VertexBufferLayouts, where each VertexBufferLayout describes the attributes within a single vertex buffer. This allows for more flexible vertex data arrangements, including interleaved attributes with custom strides and offsets. Ic426b
  • Provides MovableComponent.createTrackingMovable to transform an ARCore Trackable to a pose relative to Activity Space. I12249
  • The default value for the parent in Entity.create has been updated to null. Ic3145
  • Entity was updated to be a class instead of an interface and is now the base class for all Entity types. As part of this change BaseEntity was removed. I7fbc9
  • GltfModel, ExrImage, and ImageBasedLightingAsset now implement AutoCloseable to allow for idiomatic resource management using Kotlin's use block. I1ac79
  • Introduced the ImageBasedLightingAsset class to replace ExrImage for defining spatial environment lighting. ExrImage has been deprecated and removed from the public API. SpatialEnvironmentPreference has been updated to use ImageBasedLightingAsset. I6c92a
  • Renamed the skybox parameter in SpatialEnvironment to imageBasedLightingAsset to better reflect its purpose, and clarified that visual skybox textures should be included in the geometry parameter. I24d4a
  • Spatial entities now use a stable device density for pixel-to-meter calculations on Spatial API levels 1 and 2, ensuring consistent sizing regardless of system display density changes. I37051

Important changes since 2.10.0:

Scoped ViewModels in Compose - Introduction of ViewModelStoreProvider, rememberViewModelStoreProvider, and rememberViewModelStoreOwner to tie ViewModels to specific UI scopes (like Pager pages). These survive configuration changes and automatically clear when the Composable is removed from the hierarchy.

KMP Support - ViewModel-Compose and ViewModel-Navigation3 now support all Kotlin Multiplatform targets.

Navigation3 Integration - ViewModelStoreNavEntryDecorator now accepts a ViewModelStoreOwner to propagate CreationExtras and factories to nested ViewModels. You can also hoist providers using the new rememberViewModelStoreNavEntryDecorator overload to support multiple back stacks. removeViewModelStoreOnPop is deprecated.

Lifecycle Utilities - Added a reified ViewModelProvider.get<VM>(key) extension, a lambda-based Lifecycle.addObserver, and default factory extensions for ViewModelStoreOwner. ViewModel.onCleared is now annotated with @EmptySuper.

Other Changes - Compose UI 1.7.0+ is now required for LocalLifecycleOwner to remove reflection fallbacks. Updates to the Compose compileSdk require a minimum AGP version of 9.2.0.

Major features of 1.0.0:

lint-gradle ships the following checks to help Gradle plugin authors:

  • Eager configuration check to defer creating and configuring objects until they are needed
  • Project Isolation violations check
  • Likely bugs check for calling Provider.toString
  • Performance check that flags calls to APIs that are unexpectedly expensive
  • Overly broad configuration cache inputs check
  • Check to discourage usage of Property<File>
  • Internal Gradle, Android Gradle Plugin and Kotlin Gradle plugin API usage check
  • Call to withType without .configureEach check
  • Usage of GradleRunner.withPluginClasspath check

Bug Fixes

  • Fixed overlay animation issue where nested overlays such as ModalBottomSheet are re-aniamting unexpectedly when the overlays above it are popped. Ia2b9e b/502624496

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

API Changes

  • Rename RemoteBitmap to RemoteImageBitmap to improve naming consistency. I4fde1 b/513228889
  • Rename RemoteBitmapShader to RemoteImageBrush and expose to public API. I7adaf b/513228889
  • Expose RemoteInt compare operators. I5fe3d b/513228889
  • Exposed captureRemoteDocument Flow API and a new captureSingleRemoteDocument overload (which takes RemoteCreationDisplayInfo) as public APIs. I87b0e b/513228889
  • Rename comparison operators (eq, ne) on RemoteBoolean to isEqualTo, isNotEqualTo. Ia05b9 b/513228889
  • Expose RemoteEnum and RemoteStateLayout as public APIs I5c6ec
  • Exposed fontVariationSettings property in the RemotePaint interface as public API. Ic3c46 b/513228889
  • Remove RemoteInt and RemoteFloat toRemoteString methods. I62a6b b/513228889
  • Exposed RemoteTypeface API. Iadfdb b/502907551
  • Renamed existing ValueChange factory functions to lowercase valueChange. I812b9 b/513228889
  • Made PendingIntentAction safe for IDE previews by deferring PendingIntent access via a lambda and returning a no-op action in preview mode. I43b37 b/512403924

Bug Fixes

  • Introduce TypefaceResolver and DefaultTypefaceResolver internal abstractions to modularize font resolution. Ia1df7 b/513228889
  • Removed obsolete RemoteIntReference and RemoteStringList APIs, and added RemoteStringArray to support arrays of remote strings. I12931
  • Propagate LocalInspectionMode to Remote Compose capture phase I6a56b b/512403924

New Features

  • Added support for parameters with default values in data classes used in DAO query results. A property that represents a column and is part of a constructor with a default value will be considered optional and a column in the result won't be required for it. 34279a b/70762008 b/193531601

API Changes

  • Rename @TypeConverter to @ColumnTypeConverter to better distinguish the scope of the conversion and to have symmetry with @DaoReturnTypeConverter. I24420 b/438041176
  • Added an API for provided custom DAO return types @ProvidedDaoReturnTypeConveter. I2a8ad b/517485682
  • Added the PrimaryKey.algorihtm property to specify the primary key generating algorithm when PrimaryKey.autoGenerate is set to true. I57944 b/70053837

New Features

  • Added new APIs: getDownloadFaviconsEnabled and setDownloadFaviconsEnabled. These APIs will allow you to control whether Favicons will be downloaded automatically. If9224 b/510229667

API Changes

  • Update the prefetchUrlAsync API that accepts PrefetchResult as a callback type to report users if there is a duplicate prefetch request. Icc796 b/483041824
  • ExpectedNoVarySearchData is deprecated and updated to ExpectedNoVarySearchHint. ignoredQueryParameters and consideredQueryParameters are made immutable lists. I7bb8c b/491718321

Bug Fixes

  • Corrected RequiresFeature annotations on ProcessGlobalConfig to reference isStartupFeatureSupported instead of the incorrect isConfigFeatureSupported. I6370b

API Changes

  • Added support for battery state to ProjectedTestRule I6b28e
  • Added listening to battery state changes to the ProjectedDeviceController If8966
  • Added support for audio devices to ProjectedTestRule I5d1c9
  • Added support for audio devices to the ProjectedDeviceController I7681d

API Changes

  • Added test API for isProjectedServiceAvailable() I44ba1
  • Exposed DeviceTrackingMode.INERTIAL as a public experimental API under the new @ExperimentalInertialTrackingApi annotation. Ic3df3
  • Added Config.Builder. Apps can create custom configurations by calling setter functions on the builder object and then calling Builder.build. I13142
  • androidx.xr.runtime.FieldOfView has been removed. Apps should use androidx.xr.runtime.math.FieldOfView instead. I621ef
  • Session.create is now required to be ran on a @WorkerThread. I2169e
  • Added isProjectedServiceAvailable() to the XrDevice I507e9
  • Renaming DeviceTrackingMode.SPATIAL_LAST_KNOWN to DeviceTrackingMode.SPATIAL and DeviceTrackingMode.INERTIAL_LAST_KNOWN to DeviceTrackingMode.INERTIAL I96f8b
  • Vector3.angleBetween and Vector4.angleBetween now return degrees rather than radians. Ica8bc
  • Added QrCode API Ia0bbe