January 28, 2026

New Features

  • Introduces TiltGesture API, providing a reactive Flow for stable detection of device tilt (UP/DOWN) state with transition progress. Ic269f b/448152779
  • ARCore for Jetpack XR now uses the XR Runtime Logging mechanism. See androidx.xr.runtime.Log for more information. l52735 b/448697662

API Changes

  • Geospatial.createPoseFromGeospatialPose now works on OpenXR-enabled devices. l362c6

Bug Fixes

  • Add partial support for baseline profile generation for Kotlin multi-platform modules. Typically dependencies on profiles can be defined using the baselineProfile Gradle configuration in the dependencies block, but this doesn't currently work for KMP modules.

    kotlin {
      androidLibrary {
        namespace = "com.example.namespace"
        compileSdk = 36
      }
      sourceSets {
        androidMain.dependencies {
          // THIS DOES NOT WORK
          // baselineProfile(":yourProducerProject")
        }
      }
    }
    
  • Instead you should be defining your dependencies using the baselineProfile **extension. Ie19c4

    plugins {
        id("org.jetbrains.kotlin.multiplatform")
        id("com.android.kotlin.multiplatform.library")
        id("androidx.baselineprofile.consumer")
    }
    
    kotlin {
      androidLibrary {
        namespace = "com.example.namespace"
        compileSdk = 36
      }
      sourceSets {
        androidMain.dependencies {
          // ...
        }
      }
    }
    // Define dependencies
    // This works !
    baselineProfile {
      variants {
        androidMain {
          from(project(":yourProducerProject"))
        }
      }
    }
    

Bug Fixes

  • Updated the ExifInterface dependency to 1.4.2. This fixes an image capture failure that occurs on devices producing JPEGs with additional (and permitted) 0xFF bytes before a marker. I16df4

Bug Fixes

  • Fixed CameraExtensionsInfo current type issue in CameraX 1.6.0-alpha that the LiveData object can't receive the updated type data. I2c7a5
  • Updated the ExifInterface dependency to include a fix for parsing JPEGs with 0xFF padding, which resolves image capture failures on devices where the JPEG encoder adds fill bytes before markers. I0eb49

API Changes

  • Fixed a bug where AnchoredDraggableState's targetValue was incorrect in some scenarios with multiple anchors at the same offset. When settled at an anchor that had the same offset as another anchor, targetValue incorrectly returned the last of the anchors at this offset. It now returns the currentValue when settled at the currentValue's offset. I66a7a b/476365336
  • Introduced FlexBox, a configurable layout system that is a superset of Row, Column, FlowRow, and FlowColumn. It supports features like flex-grow, flex-shrink, custom wrapping, direction change and detailed alignment control via FlexBoxConfig and Modifier.flex. I44780
  • Introduced Grid, a new non-lazy 2D layout composable inspired by CSS Grid. This initial version allows defining explicit grid structures with various track sizes including Fixed, Percentage, Flex, and content-based options via the config block. The core layout logic supports explicit item placement within the grid using Modifier.gridItem(). All Grid related APIs are currently experimental and require opt-in with @OptIn(ExperimentalGridApi::class). We are actively seeking feedback on this new layout! I04907 b/462550392

API Changes

  • Added support for search bar animationSpecForContentExpand and animationSpecForContentCollapse. I033a5

Bug Fixes

  • Fixed an issue where the content of an expanded SearchBar did not use a theme-aware color I878e0 b/379441904
  • Fixed a bug where BottomSheetScaffold would invoke SheetState's confirmValueChange callback with incorrect values when passing a drag handle to BottomSheetScaffold. Please note that confirmValueChange should only be used to veto state changes. Use a snapshotFlow to observe state changes. Ice9ee b/465824174 b/477031833

API Changes.

  • We've rewritten the SlotTable, which is the internal data structure used by the Compose Runtime to track your composition hierarchy, determine the changes caused by a recomposition, and store remembered values. This rewrite is focused on improving recomposition performance and does so primarily by using substantially fewer memory copy operations than the gap buffer SlotTable. Certain changes to your composition hierarchy, like reordering a long list of items, can recompose over twice as fast compared to the former SlotTable. Most other operations are on the order of 10% faster to recompose under the new SlotTable implementation. The SlotTable implementation used by the runtime affects all Composable methods and requires no recompilation. Using the new SlotTable is an app-wide change, including for dependencies.
  • This SlotTable implementation is currently disabled by default and can be enabled by setting ComposeRuntimeFlags.isLinkBufferComposerEnabled to true.
  • In release builds with minification enabled, this value is assumed to be false in the default proguard-rules.pro file supplied with the runtime. To enable the new SlotTable in production, this assumption needs to be changed to true in the application's proguard-rules.pro file. See the documentation on ComposeRuntimeFlags.isLinkBufferComposerEnabled for more information. Ib741d b/268366116

New Features

  • Added compositionLocalWithHostDefaultOf which allows defining CompositionLocals that fallback to the hosting environment (e.g. Android View tags) for their default values. I15b81

Bug Fixes

  • Ensured that Snapshot.sendApplyNotifications calls cannot return until the necessary apply notifications have been sent. I95f20 b/418800424
  • Prevent source information stack traces downgrading to group keys in cases when source information is not present at runtime. If3712
  • Introduce ComposeToolingFlags. These flags are intended to be permanent (as opposed to ComposeRuntimeFlags) and are used for tooling features that have non-trivial impact on performance. I87863

External Contribution

  • New experimental RecomposerInfo#errorState API I0decc
  • Change AnnotationRetention of the FunctionKeyMeta annotation to 'BINARY' I53495

API Changes

  • Exposed the TestCoroutineScheduler to enable usage of runCurrent() and ensure access to the shared scheduler instance. Iea662 b/254115946
  • Add support for walking up nested scrolling in response to android.R.id.accessibilityActionShowOnScreen from Accessibility. Ib2723 b/431148846

Bug Fixes

  • Fixed conversion of custom Android RGB color space. Custom grayscale transforms were incorrectly converted between custom Compose and Android RGB color spaces.ebd45 b/377021410

New Features

  • Baseline profiles added to datastore. 3916245 b/469127532.
  • Implement WASM/JS support in DataStore via localStorage. This creates a distinct advantage over the existing sessionStorage implementation by enabling cross-tab event notifications and synchronization. I67246 b/441511612

New Features

  • Re-map FULLSCREEN to LARGE in Widget params ad78d95

Bug Fixes

  • Fixed usage of DataStore that would prevent multiple widget instances of being shown 474f3e4

API Changes

  • Renames PerceivedResolutionResult.InvalidCameraView to PerceivedResolutionResult.InvalidRenderViewpoint as the getPerceivedResolution APIs now rely on ARCore's RenderViewpoint API instead of CameraViewScenePose. This name better reflects the new implementation. I8c967 b/446989745 b/419311998
  • The PanelEntity/SurfaceEntity.getPerceivedResolution methods now take a RenderViewpoint provided by the developer as an argument. Before, the runtime arbitrarily chose the RenderViewpoint used in the perceived resolution calculation. I8c967 b/446989745 b/419311998
  • Removed SpatialUser, ScenePose.Head, and ScenePose.CameraView. The functionality of these APIs is covered by the ArDevice and RenderViewpoint APIs within ARCore for Jetpack XR. To obtain a ScenePose corresponding to the user's head or left or right eye, developers can use PerceptionSpace.getScenePoseFromPerceptionPose with the appropriate pose obtained using ARCore APIs. I2f69c b/446989745

Bug Fixes

  • Navigation SafeArgs no longer has configuration caching issues when being used with Google Services. I57cda b/458071608
  • Fixed the test SavedStateHandle constructor in navigation-testing not decoding List<String>. I26aac b/454180135

Bug Fixes

  • Fix crash when using NavigationEventHandler in Android Studio Previews. The handler now detects inspection mode and does nothing, allowing the Preview to render without a provided dispatcher. I370f2 b/454313986.

Important changes since 3.3.0:

  • Added more KMP targets to paging-common, paging-testing, and paging-compose. In total they all now support JVM(Android and Desktop), Native (Linux, iOS, watchOS, tvOS, macOS, MinGW), and Web (JavaScript, WasmJS)
  • paging-common, paging-testing, and paging-compose has removed support for macosX64, iosX64, watchosX64, and tvosX64 to align with Jetbrains deprecation of the macosX64 targets.
  • Added a new PagingState API closestItemAroundPosition to retrieve the loaded item that is closest to the target position and matches the input predicate. This can be used to generate item-based refresh keys where the ideal anchorable item is around but not at the exact target position.

New Features

  • Support for different shapes & RemoteColors in BorderModifier 0afd343
  • Add CombinedAction to support multiple actions on click events 10e16a2

API Changes

  • Migrated the APIs of RemoteColor and RemoteBitmap to use Compose types, rather than exposing Android types directly a9bfbb8
  • Introduce a RemoteDensity type, to allow determining whether to evaluate Density on the Player (when producing a document for a remote device), or to inline the expressions (to optimize document size when on the same device) 54352bb
  • RemoteState constantValueOrNull rename I6ad5c b/467050397

New Features

AndroidX Tracing 2.0 introduces a significant new API surface for low-overhead, in-process tracing, as a complement to the existing android.os.Tracing-based APIs in Tracing 1.0. The new APIs are available both on Android and host JVM, which enables host tools to emit low overhead traces for performance analysis, using the same standard Perfetto trace format.

Emitted traces are supported both by Android Studio and Perfetto, and can be recorded with an expanded feature set including tagging slices with metadata (such as function arguments!), and coroutine context trace propagation.

This initial alpha is only meant for in-process tracing workflows, and does not yet integrate with Android OS tracing or Studio Profiler System Tracing - these will be coming in a future alpha.

  /**
  * A [TraceSink] defines how traces are serialized.
  *
  * [androidx.tracing.wire.TraceSink] uses the `Perfetto` trace packet format.
  */
  fun createSink(): TraceSink {
      val outputDirectory = File(/* pathname = */ "/tmp/perfetto")
      // We are using the factory function defined in androidx.tracing.wire
      return TraceSink(
          sequenceId = 1,
          directory = outputDirectory
      )
  }

  /**
  * Creates a new instance of [androidx.tracing.TraceDriver].
  */
  fun createTraceDriver(): TraceDriver {
      // We are using a factory function from androidx.tracing.wire here.
      // `isEnabled` controls whether tracing is enabled for the application.
      val driver = TraceDriver(sink = createSink(), isEnabled = true)
      return driver
  }

  fun main() {
      val driver = createTraceDriver()
      driver.use {
          driver.tracer.trace(category = CATEGORY_MAIN, name = "basic") {
              Thread.sleep(100L)
          }
      }
  }

API Changes

  • Make Tracer a property of the TraceDriver. Iabd9b
  • Add support for manual context propagation. I899ff
  • Add the ability to add call stack information in a trace section. If6a1b
  • Introduce the new androidx.tracing APIs. I5102b
  • Allow instant events to contain metadata, and add counters to instants & counters. Ia2ed3
  • Reduce the surface area of the API annotated with @DelicateTracingApi. Nothing in the top level API should require the use of @DelicateTracingApi. I565e0
  • Simplify context propagation by unifying PropagationTokens. Iab839
  • Stabilize BlackHole APIs in androidx.benchmark. I2b67e b/451749438
  • Add the ability to annotate the trace section as a root span. Ic8365
  • Allow the developer to explicit about propagation tokens. I06bb1
  • Renamed MetadataHandleCloseable to EventMetadataCloseable, and MetadataHandle to EventMetadata. Also added an optional CoroutinePropagationToken argument to Tracer.traceCoroutine to allow the developer to explicitly specify the propagation token to use. I219f7 b/454147392
  • Introduced a new Tracer entry point which gives developers a lot more control on how to trace. I24a7b
  • Add the ability to control how context propagation happens in a SliceTrack. Ieb8fc
  • fillCount in PooledTracePacketArray is now correctly marked volatile. I75d2c
  • Mark MetadataEntry @DelicateTracingApi. I8c723
  • Add the ability for a TraceSink to be able to handle lost trace events (when the pool is exhausted). I3b374
  • Add the ability to conditionally emit trace events based on a predicate. I621b4
  • Add the ability to add categories to a trace event. I449c2
  • Mark TraceEvent, PooledTracePacketArray as DelicateTracingApi. Iaac6d
  • Make ProcessTrack.id, ThreadTrack.id, ThreadTrack.name, CounterTrack.name and CounterTrack.parent public. I81210
  • Renamed the SliceTrack.traceFlow() API to traceCoroutine(). I79ad0
  • Add the ability to add contextual information to slices via debug annotations in a Perfetto trace. Ic2b56
  • Make it possible to construct an instance of WireTraceSink with a File / OutputStream. Iecea0
  • Removing obsolete @RequiresApi(21) annotations Ic4792
  • There are no new changes between the beta01 and rc01.

API Changes

  • Rename PagerScaffoldDefaults.SnapPositionalThreshold to LowSnapPositionalThreshold and RotaryScrollableDefaults.SnapSensitivity to LowSnapSensitivity I157ee b/449949891
  • Removed modifier from SwipeDismissableSceneStrategy. Iff30f b/449949891

Bug Fixes

API Changes

  • We have added metadata keys for the major/minor Tiles schema version as an XML tag. I2cf66

Bug Fixes

  • We have fixed the issue with better resource handling by removing stateful ProtoLayoutScope from TileService and fixed the issue about keys for holding the resources data. I5dc0a b/474614772
  • Code for unbinding service when update is requested is run on the main thread for testing environments. 8fd7348

Bug Fixes

  • Fix network state constraint from passing while connectivity is blocked on Android 15 and above. I5abb7 b/465016918
  • Fixed network constraint tracking not considering blocked state for its initial value. I8a0a2 b/452081708
  • Fixed an issue with network request constraint passing while connectivity is blocked on Android 15 and above. I60f24 b/452081708

API Changes

  • ConfigMode.HeadTrackingMode is replaced with ConfigMode.DeviceTrackingMode. le273e b/467150206
  • Removed Quaternion's toNormalized, times(float), div(float) methods. These methods are redundant given that all Quaternions are normalized at construction time and given that the class is immutable. l558fc b/460210457

Bug Fixes

  • Added documentation to Session.create that illustrates how to avoid creating a session on the application’s main thread. le5554 b/463687170
  • Prevented applications from creating a BoundingBox with a NaN value. l58c14 b/464025895