November 18, 2026

API Changes

  • The statestore-datastore artifact is had added support for the following platforms: desktop, linux, mac, ios, tvos, watchos, js, and wasmJs. In order to enable this, instead of using reflection, PersistToDataStore is now generic in the persisted value type and requires the key to provide the name it is stored under and its KSerializer. I4cd8e I03124 b/579492485

API Changes

  • AppState Transform has added support for SavedStateContainer that enables the use of rememberSaveable inside of the @Composable lambda. The ensures that all of the state inside the transform is not saved across configuration changes and process death. Ia66ea
  • AppState Transform now provides a RunnableTransformScope that provides a public run function to kick off the scope while the default TransformScope interface can continue to be used for launchTransform with the assumption that the scope is already running. Ia1f0d

Bug Fixes

  • Fixed unpersistAnchor() to throw AnchorInvalidUuidException instead of IllegalStateException when an unknown UUID is provided. Ib046b
  • Added validation to ensure imageBuffer is a direct ByteBuffer in SpatialAnnotationTrackingOptions. Ieb507
  • Set tracking state to STOPPED for stopped spatial annotations and correctly handled cleanup. Ib685a
  • Fixed anchor TrackingState updates within ArCoreTestRule. I766b9

Bug Fixes

  • Add support for toggling categories when enabling in-process tracing from benchmarks for a target process. PerfettoTraceRule now supports enabling optional categories for in-process tracing. These categories are used by the TraceDriver instance in the target process. I663ed b/565040771

  • Fixed thermal throttle logic to reset main thread deadlines after the cooldown sleep completes to avoid premature time limit errors. Ibb2f02

  • Swapped restricted API surface labels in metalava configuration to correctly align with atomic and non-atomic group definitions. I0c563c b/582384448

  • Updated PerfettoCapture to wait for target process exit using am force-stop to ensure process stability during benchmarks. If8a631

  • Buffered file streams in PerfettoOutput to reduce total write counts and prevent file system exhaustion and timeouts. I1c828c

  • Updated AndroidX test library dependencies and fixed javadoc warning configurations to maintain build stability. Ia7e3ff

  • Transitioned build environment to JDK 25 and added necessary workarounds for compatibility, including JSpecify annotation removals and native access flags. I88704c b/559834169 b/445484245

  • Ensured target packages are killed after in-process tracing is enabled when the process was not previously alive to maintain consistent cold-start tracing states. Icef99b b/568496084

Bug Fixes

  • Fixed an issue where a completed or disposed rememberAuthenticationLauncher or AuthenticationResultLauncher re-subscribed on ON_START and intercepted results from subsequent authentication requests. I49420 b/555875039
  • Fixed an issue where R8 stripped FingerprintManager.AuthenticationCallback methods on API < 28 when apps compiled with compileSdk = 37. I2c7e0 b/516212633

Important changes since 1.6.0:

API Changes

  • Transformation Mode Support: Added the TransformationMode property to TransformationInfo to support apps using the OpenGL pipeline in EMBEDDED mode.
  • Focus State Tracking: Added FocusState and FocusMeteringState constants to the generic viewfinder core. Note: These constants were primarily introduced to support the new tap-to-focus and gesture capabilities in the higher-level CameraXViewfinder API, but they are exposed in the core modules for developers building custom viewfinder integrations who wish to model camera focus states.

Bug Fixes - Transformations Mirroring: Fixed a critical bug in the mirroring logic within Transformations. This ensures that surface-to-viewfinder matrix calculations correctly mirror the preview when using front-facing cameras or inverted setups.

Important changes since 1.6.0:

1. Stabilized Camera2Interop (V2) & Kotlin DSL Builders

  • Camera2Interop V2 (Stable, No Opt-In Required): Redesigned Camera2Interop and removed the @ExperimentalCamera2Interop requirement on the new V2 APIs, providing type-safe, scope-specific configurator factory methods (Camera2Interop.forUseCase(), forImageCapture(), forSessionConfig(), and forCameraControl()) paired with setInterop() on Preview.Builder, ImageCapture.Builder, ImageAnalysis.Builder, VideoCapture.Builder, and SessionConfig.Builder, plus CameraControl.applyInteropAsync().
    • Added Kotlin DSL camera2Interop { ... } extension blocks for preview, imageCapture, imageAnalysis, videoCapture, and SessionConfig.Builder / sessionConfig, as well as CameraControl.applyCamera2Interop() (suspend) and CameraControl.applyCamera2InteropAsync().
    • Exposed granular interop scopes (UseCaseCamera2Interop, ImageCaptureCamera2Interop, SessionConfigCamera2Interop, and CameraControlCamera2Interop) providing structured access to OutputConfiguration settings (streamUseCase, mirrorMode, dynamicRangeProfile, physicalCameraId, sensorPixelModesUsed, surfaceGroupId, timestampBase), SessionConfiguration settings (sessionType, colorSpace, sessionParameter, sessionStateCallback), still capture options, and CameraCaptureSession / CameraDevice state callbacks.
    • Added helper methods and Kotlin extensions to retrieve Camera2 metadata and selectors directly: Camera2Interop.getCameraId(CameraInfo) (CameraInfo.cameraId), Camera2Interop.getCameraCharacteristics(CameraInfo) (CameraInfo.cameraCharacteristics), Camera2Interop.getCameraSelectorFromCameraId(String) (String.toCameraSelector()), and Camera2Interop.getCameraFilterFromCameraId(String).
    • Deprecated legacy Camera2Interop V1 classes (Camera2Interop.Extender, Camera2CameraControl, Camera2CameraInfo, and CaptureRequestOptions).
  • CameraX Kotlin DSL Builders: Added top-level Kotlin DSL factory functions for creating use cases and session configurations: preview { ... }, imageCapture { ... }, imageAnalysis { ... }, videoCapture(videoOutput) { ... }, sessionConfig(useCases) { ... }, highSpeedVideoSessionConfig(videoCapture) { ... }, and extensionSessionConfig(mode, extensionsManager) { ... }.

2. Compose Viewfinder Gesture, Screen Flash & Transformation Enhancements

  • Built-in Gestures, Screen Flash & Stream State in CameraXViewfinder: CameraXViewfinder in camera-compose now provides out-of-the-box support for pinch-to-zoom (isPinchToZoomEnabled, onZoomRatioChanged), tap-to-focus (isTapToFocusEnabled, onTapToFocus, autoCancelDurationMillis), screen flash (onScreenFlashReady), stream state monitoring (onStreamStateChanged with newly public Preview.STREAM_STATE_IDLE and Preview.STREAM_STATE_STREAMING), and surface release callbacks (onRelease).
  • FocusState & TransformationMode: Exposed FocusState (INACTIVE, STARTED, FOCUSED, NOT_FOCUSED, FAILED) in viewfinder-core to monitor tap-to-focus results, and added TransformationMode (DEFERRED, PRE_APPLIED) to TransformationInfo to ensure accurate viewfinder transformations in EMBEDDED mode when CameraX's OpenGL pipeline is active.

3. Video Capture & Audio Recording Enhancements

  • QHD (2K) Video Recording: Added Quality.QHD (2560×1440) and GroupableFeatures.QHD_RECORDING for 2K video capture and Feature Group queries.
  • Video & Audio Codec (MIME Type) Control: Introduced APIs for granular control over encoding formats:
    • Discover device-supported formats via experimental (@ExperimentalMimeTypeApi) Recorder.getSupportedVideoMimeTypes() and Recorder.getSupportedAudioMimeTypes().
    • Configure and inspect preferred formats via stable Recorder.Builder.setVideoMimeType(String), Recorder.Builder.setAudioMimeType(String), Recorder.getVideoMimeType(), and Recorder.getAudioMimeType().
    • Query codec-specific camera capabilities (such as supported qualities and dynamic ranges) via stable Recorder.getVideoCapabilities(CameraInfo, String).
  • Audio Channel Count & Bitrate Configuration: Added Recorder.Builder.setTargetAudioChannelCount(int) and Recorder.Builder.setTargetAudioEncodingBitRate(int) (along with Recorder.getTargetAudioChannelCount() and Recorder.getTargetAudioEncodingBitRate()) for explicit control over audio recording channels and bitrate.
  • Stabilized & Dynamic Mirror Mode: Stabilized Preview.Builder.setMirrorMode(int) (removing @ExperimentalMirrorMode) and added Preview.setMirrorMode(int), Preview.getMirrorMode(), and VideoCapture.setMirrorMode(int) to allow updating mirror mode dynamically.

4. Dynamic Concurrent Camera Composition & Visual Styling

  • Dynamic Composition Updates & Z-Order: Added ConcurrentCamera.setCompositionSettings(List<CompositionSettings>) to dynamically update Picture-in-Picture or split-screen layouts after binding to a lifecycle, and added CompositionSettings.Builder.setZOrder(int) and CompositionSettings.getZOrder() to control the rendering layer order of overlapping camera streams.
  • Frame Borders & Rounded Corners: Added setRoundedCornerRatio(float), setBorderWidthRatio(float), and setBorderColor(int) on CompositionSettings.Builder (along with getRoundedCornerRatio(), getBorderWidthRatio(), and getBorderColor() on CompositionSettings) to style concurrent camera frames with normalized rounded corners and colored borders.

5. GPU-Accelerated ImageAnalysis & Common Image Abstractions

  • PRIVATE Format & HardwareBuffer Access: Exposed ImageAnalysis.OUTPUT_IMAGE_FORMAT_PRIVATE, ImageAnalysis.getImageAnalysisCapabilities(CameraInfo).isOutputFormatSupported(int), and ImageProxy.getHardwareBuffer() as public APIs, enabling zero-copy GPU-based ImageAnalysis pipelines.
  • ImageWrapper & camera-common Abstractions: Introduced androidx.camera:camera-common and androidx.camera:camera-common-testing, providing common wrappers (ImageWrapper, ImagePlane with non-nullable ByteBuffer buffer, CameraCharacteristicsWrapper, CaptureRequestWrapper, CaptureResultWrapper) and test fakes (FakeImage, FakeCameraCharacteristics, etc.). ImageProxy and ImageProxy.PlaneProxy now implement ImageWrapper and ImagePlane.

6. Scene Detection, 3A Control, Physical Camera Binding & Auto-Rotation

  • Night Mode Indicator: Added CameraInfo.isNightModeIndicatorSupported(), CameraInfo.getNightModeIndicator(), and NightModeIndicator (UNKNOWN, NOT_RECOMMENDED, RECOMMENDED) to detect low-light scene conditions during standard capture sessions.
  • 3A Locking Mode in FocusMeteringAction: Added FocusMeteringAction.Builder.setLockingMode(int) and FocusMeteringAction.getLockingMode() to support locking AE/AWB (FLAG_AE, FLAG_AWB) or updating 3A metering regions without locking focus (FLAG_AF), allowing the camera to remain in continuous autofocus (CAF) mode while updating the focus area.
  • Physical Camera Selection & Binding: Added support for obtaining a CameraSelector for physical cameras from CameraInfo.getPhysicalCameraInfos() and binding UseCases directly to physical cameras. Querying CameraProvider.getCameraInfo() with a physical CameraSelector now returns the physical CameraInfo rather than the logical CameraInfo.
  • Automatic Sensor-Based Rotation (isAutoRotationEnabled): Added setAutoRotationEnabled(boolean) / isAutoRotationEnabled to SessionConfig.Builder, HighSpeedVideoSessionConfig.Builder, ExtensionSessionConfig.Builder, and CameraController to automatically update target output rotation from device sensors or disable the built-in rotation listener when needed.
  • Low Light Boost & Torch/Flash Interoperability: Low Light Boost and Torch now follow a "last setting wins" policy where enabling one automatically disables the other instead of rejecting the request. In addition, flash can now fire during ImageCapture while Low Light Boost is active.
  • Custom SessionConfig in CameraController: Exposed CameraController.setSessionConfig(SessionConfig, CameraSelector) to support binding custom SessionConfig instances with CameraController.
  • Extensions API Deprecation: Deprecated ExtensionsManager.getExtensionEnabledCameraSelector() in favor of ExtensionSessionConfig.

Important changes since 1.12.0:

  • Deferred Transitions Stable: Promoted deferred transition APIs out of experimental. This includes DeferredTransitionState, rememberDeferredTransition, DeferredAnimatedContent, DeferredAnimatedVisibility, and TransformScope. Ib6430 I7bb7e
  • CapturedAnimatedVisibility: Introduced CapturedAnimatedVisibility. Disposes child composition immediately when hidden, and animates exit transitions by rendering the last captured frame on a GraphicsLayer. I6c5b3
  • Graduated Stable APIs: Promoted createChildTransition, Transition.Crossfade, veilOut, and unveilIn to stable APIs. EnterTransition.with has been removed; use togetherWith instead. I38f66 Ied832 I9e3a3
  • Transition Configurations: Made EnterExitTransitionConfig public on EnterTransition and ExitTransition. External libraries can now inspect EnterTransition and ExitTransition configurations to build custom transition support. Idd5a4 b/330152398
  • DeferredTargetAnimation.value: Exposed the current animated value as a public property on DeferredTargetAnimation. Ie4f6e b/434659224
  • Seekable Transition Crash Fix: Fixed an issue in SeekableTransitionState where zero-duration or interrupted transitions could calculate NaN fractions and throw an IllegalArgumentException. I8f3a9 b/555294641

API Changes

  • Added ExperimentalAnimationCoreApi and ComposeAnimationCoreFlags.isSeekableTransitionStateStartAfterLayoutEnabled to guard starting SeekableTransitionState.animateTo after the target state has composed and completed layout. I034e3 b/553804644
  • Migrate Compose animation specs (FloatSpringSpec, FloatExponentialDecaySpec, KeyframesSpec, KeyframesWithSplineSpec, and SplineBasedFloatDecayAnimationSpec) to nanosecond precision, guarded by ComposeAnimationCoreFlags.isNanosecondAnimationSpecEnabled. Ib9545
  • Added SharedTransitionScope.DeferredTransitionBehavior (FollowContainer, Static, SeekToTarget), SharedContentConfig.deferredTransitionBehavior, and MutableContentTransform.sharedElementProgress to support seeking shared elements toward their target bounds during the deferred phase of a DeferredTransition. Deprecated permitTransformDuringDeferredTransition. I2fac2
  • Added InterruptionAwareAnimationSpec to allow pairing a FiniteAnimationSpec with a custom interruptionSpec (or itself) when a Transition, animate*AsState, or Animatable.animateTo animation is interrupted mid-flight. If85e8
  • Allow constructing MutableContentTransform from two MutableTransform instances via constructor. I4054e
  • Made SharedTransitionDefaults.EnterTransition, ExitTransition, and ResizeMode public. Added AnimatedContentDefaults with ContentTransform, SizeTransform, and SizeAnimationSpec. Id912e

Bug Fixes

  • Fixed an issue where SeekableTransitionState.animateTo skipped initial animation frames when the target content had an expensive first composition or layout pass. I383c6 b/553804644
  • compileSdk for Compose UI and the Compose libraries that build against it (Animation, Foundation, Material 3, UI Test, UI Tooling, UI ViewBinding and Navigation3 UI) updated to 37.2. This will require transitively updating compileSdk for all apps and libraries using them. I2859d
  • When a MutableContentTransform or MutableTransform is provided during a deferred transition phase, transform properties that are not manually set now default to their resting values instead of the transition's initial values. Ia79c4
  • Shared elements sought via MutableContentTransform.sharedElementProgress now transfer their progress velocity to the bounds animation upon handoff. I462c0
  • Modifier.sharedElement now renders the incoming target element (pendingTargetState) during the deferred phase of a DeferredTransition while keeping its bounds anchored to the outgoing state until the transition commits. If60c7
  • Fixed an issue where shared elements nested under Modifier.animateEnterExit lost MutableContentTransform placement transformations on handoff from a deferred transition phase. Icdcd7 b/572520922

API Changes

  • Removed ComposeFoundationFlags.isLinkMinimumTouchTargetSizeZeroEnabled. Ib9226 b/572883859
  • Added ComposeFoundationFlags.isLinkPerformanceOptimizationEnabled to control performance optimizations for LinkAnnotation in BasicText. The flag is off by default. I8ac26 b/572883859
  • Added new overloads of BasicText that accept a styleProvider (TextStyleScope.() -> Unit) lambda for dynamic styling, allowing dynamic style attributes to skip recomposition. I88e20
  • Removed ComposeFoundationFlags.isLinkMinimumTouchTargetSizeZeroEnabled. I046d5 b/572883859
  • Added ComposeFoundationFlags.isLinkPerformanceOptimizationEnabled to control performance optimizations for LinkAnnotation in BasicText. I64a0f b/572883859
  • Added an onTextChanged callback to TextFieldState and rememberTextFieldState. It is called with the new text after each change to the text. Iaabf5 b/552879150
  • Removed the feature flag ComposeFoundationFlags.isAbsorbNonGestureNestedScrollInPagerFixEnabled I0a387
  • Modifier.border uses a more efficient implementation for rendering generic shapes (such as polygon shapes) on API 28 and above. This causes minor antialiasing differences that may require updating screenshot tests. To temporarily disable this, use ComposeFoundationFlags.isBorderUsesGraphicsLayerForGenericShapesEnabled I3b917
  • Added rememberStyleResolver() that should be used instead of remembering a StyleResolver() instance directy to ensure that the same style resolver is used even if the style and styleState used are modified. This prevents animations from being cancel because style style lambda instance was replaced. I946b0
  • Added TextContextMenuKeys.LookUpKey to support the new 'Look Up' context menu item. I088ca
  • Added DrawAnnotation for custom drawing behind and over AnnotatedString text ranges. I928bf
  • Exposed crossAxisCellCount on LazyGridItemScope to provide the number of cross-axis cells (columns in vertical grids or rows in horizontal grids) to item content. I89f78 b/183187002
  • The styleable() modifier API has been replaced by the styleResolver modifier based API. All styleable() modifiers and associated types (such as Style and StyleScope) have been deprecated. I54677
  • Fixed an issue in BasicSecureTextField where multi-codepoint emojis in the input text were obfuscated or revealed as multiple characters instead of a single glyph. I91e44
  • Added multiTouchSwipeWithVelocity to TouchInjectionScope to allow testing multi-touch gestures with a specific end velocity. If0966
  • Adds BorderRenderer, an API that enables drawing borders identical to Modifier.border within any draw scope, such as within a DrawModifierNode. This enables advanced border rendering and efficient animations alongside other drawing operations / transformations. See the samples for more information. I2d259 b/548628030
  • Modifier.border now consistently uses the outline size when rendering borders. Use ComposeFoundationFlags.isBorderMatchesOutlineBoundsFixEnabled to temporarily disable this if it causes issues. I3e171
  • Removes experimental feature flag ComposeUiFlags.isTrackpadPanHoverFixEnabled. I3aa5b
  • Added ComposeFoundationFlags.isNewBorderImplementationEnabled - this flag will be used to disable the new border rendering implementation inside Modifier.border. If you run into issues and need to disable this flag, please file a bug. I98e90
  • Added isLazyLayoutItemAnimationEnterExitTransitionsEnabled compose flag. When enabled, lazy layout item animations use a state-based enter and exit transition model instead of boolean-based fade tracking. Ibde5d
  • Removed AndroidComposeFoundationFlags.isOverscrollPixelRoundingEnabled flag I0e3e0
  • Fixes an edge case bug with rendering certain rounded rectangle outlines in Modifier.border. ComposeFoundationFlags.isRoundedRectangleBorderRenderingFixEnabled can be used to disable this change if it causes issues. I19141

Bug Fixes

  • Improved composition and node overhead of LinkAnnotation in BasicText by consolidating per-link modifiers into a single TextLinkNode. I1e93b b/572883859
  • Improved composition performance of LinkAnnotation in BasicText by avoiding unnecessary coroutine and MutableInteractionSource allocations when stateful link styles are not used. Ib036d b/572883859
  • Fixed a bug where simultaneous stateful styles on multiple LinkAnnotations in BasicText overwrote each other, and improved styling performance from O(N^2) to O(N). I07a27 b/572883859
  • Improved drawing and hit-testing performance of single-line LinkAnnotations in BasicText by bypassing unnecessary path clipping. I70379 b/572883859
  • Improved measurement performance of single-line LinkAnnotations in BasicText by avoiding Path allocations. I9ec65 b/572883859
  • Fixed a crash in Robolectric tests when a text field shows its magnifier, e.g. after two quick clicks on it. I65095
  • Improved composition performance of LinkAnnotation in BasicText by avoiding unnecessary coroutine and MutableInteractionSource allocations when stateful link styles are not used. Ia784d b/572883859
  • Fixed a bug where simultaneous stateful styles on multiple LinkAnnotations in BasicText overwrote each other, and improved styling performance from O(N^2) to O(N). I4f28e b/572883859
  • Improved drawing and hit-testing performance of single-line LinkAnnotations in BasicText by bypassing unnecessary path clipping. Ib7f63 b/572883859
  • Improved measurement performance of single-line LinkAnnotations in BasicText by avoiding Path allocations. I4312c b/572883859
  • Fixed an issue where active but stationary trackpad gestures could cause unnecessary frame requests (high CPU usage). I1e879
  • Updated accessibility node text and text layout results to reflect active text translations (SemanticsProperties.TextSubstitution) when SemanticsProperties.IsShowingTextSubstitution is true. I006ef
  • Fixed an issue in LazyGrid where changing item spans dynamically via state could cause an IllegalStateException or item placement errors. I680b9 b/398125797
  • Fixed an issue where changing only isNonScrollCachingEnabled on a LazyLayoutCacheWindow had no effect because the windows were considered equal. I16d57
  • Fixed long screenshots that show content twice when a scrolling node sits inside pullRefresh or a nested scroll parent. I2500f
  • Fixed Modifier.animateItem() animating items off screen when a lazy layout with reverseLayout = true is resized. I68af6 b/548989579
  • GridTrackSize.Flex and GridTrackSize.MinMax now throw IllegalArgumentException when given a non-finite Fr weight. I70728
  • Modifier.border now supports rendering generic / polygon shapes with a runtime shader, when using the new border implementation. I128ca
  • Modifier.border now uses a new more performant implementation. You can disable this using ComposeFoundationFlags.isNewBorderImplementationEnabled. If you run into issues and need to disable this flag, please file a bug. I4c3b3

External Contribution

  • Fixed bring-into-view scroll animations that never finished when the BringIntoViewSpec target fell between pixels, such as when focusing a text field in a scrollable container on Android TV. Ida7b9 b/568935367
  • Fixed the text selection toolbar remaining visible when the selection no longer has a valid content area. I92563
  • Allow reversed (end < start) selection when made via a mouse gesture in a TextField(TextFieldState). Previously it would be automatically made "normal" (start < end). I42559
  • Fixed AndroidExternalSurface callbacks after reuse in reusable content. I8b56c b/554586999

API Changes

  • Added HorizontalSharedAxisNavigationTransitions and FadeThroughNavigationTransitions for Material 3 shared axis and fade through transitions, including predictive back. I0a37a I36fb9 I4b9e6 I62437
  • Marked SliderState and RangeSliderState as @Stable. I8fda7
  • Deprecated the TextField and OutlinedTextField overloads that take value/onValueChange, plus TextFieldDefaults.DecorationBox and OutlinedTextFieldDefaults.DecorationBox. Use the TextFieldState overloads and decorator APIs instead. Idb68b b/554049628

Bug Fixes

Slider and RangeSlider

  • Fixed a TalkBack freeze when a Slider updates automatically (for example, during video playback). I8fda7
  • Fixed precision loss when a discrete Slider or RangeSlider snaps to integer ticks. I0f2ac b/237634010
  • Fixed RangeSlider not updating on tap when its thumbs overlap. I8287e b/352467346
  • Fixed dragging a RangeSlider thumb scrolling the parent when the slider is inside a horizontally scrollable container. I855c0 b/415838608

Text fields

  • Focusing a TextField or OutlinedTextField no longer recomposes its container, and the outlined border no longer recomposes on every frame while it animates. Id915b
  • OutlinedTextFieldDefaults.tonalColors now uses a transparent container color. I79be4

Pickers

  • Fixed the TimePicker clock face selector not updating after you toggle AM/PM or the state changes. I99955 b/513496734
  • Fixed AM/PM text clipping at large font scales in TimePicker and TimeInput. I73bda
  • Fixed the DatePicker year dropdown icon ignoring navigationContentColor. I4eb6a b/489897727

Progress and loading indicators

  • LinearWavyProgressIndicator and CircularWavyProgressIndicator now show an indeterminate indicator while progress isn't a finite number (such as Float.NaN), then animate to determinate progress once it is. I4c631
  • LoadingIndicator now shares its shape morphs across instances, which speeds up composition. PullToRefreshDefaults.LoadingIndicator no longer composes when it's hidden at rest. Ic81df b/574346694
  • Fixed PullToRefreshDefaults.LoadingIndicator drawing an empty container on the first frame of a pull. Ia87cf
  • Fixed PullToRefreshBox hiding its indicator after onRefresh starts a refresh when you use a custom PullToRefreshState. I7537d

ScrollField

  • Reduced the gap between items to 16dp and lowered ScrollFieldDefaults.ScrollFieldHeight from 200dp to 120dp. I80382
  • Items no longer show a ripple or hover background, and the focus indicator no longer draws outside the rounded shape. I08e48 Ief60e

Other components

  • Fixed short ModalBottomSheets needing two back presses to close. With PartiallyExpanded enabled, the sheet now rests at half its content height (no more than half the screen). To remove that anchor in code, use enabledValues. This change is behind ComposeMaterial3Flags.isBottomSheetPartiallyExpandedDeterministicEnabled. I395d4 b/521534697
  • FloatingActionButtonMenu now composes its items the first time it expands, and expanding or collapsing does less layout work. I16131
  • Fixed a crash in ButtonGroup when it overflows at a fixed width (for example, Modifier.fillMaxWidth()). I5a448 b/572113567
  • ToggleButton now gets its pressed shape from ButtonSmallTokens.PressedContainerShape instead of a hardcoded value. Ia60dc b/531792521
  • Fixed DropdownMenuItem cutting off trailingContent when the text is long or the font is scaled up. Iae4c8
  • Fixed an extra recomposition the first time BottomAppBar, FloatingToolbar and other components compose while an accessibility service is on. Ic461a
  • Fixed inset focus rings not drawing the inner stroke on generic or path-based shapes. I6a430

Dependency Updates

  • material3 now depends on androidx.graphics:graphics-shapes:1.1.0. I52c5c b/574346694

  • material3 now depends on androidx.compose.foundation:foundation:1.14.0-alpha01. Id915b

Important changes since 1.4.0:

Library change announcements

  • New material3-ripple artifact and Inset Focus Rings: Added the dedicated androidx.compose.material3:material3-ripple artifact as a modern replacement for material-ripple I1b3a3.

This library adds support for rendering focus states using visual inset focus rings instead of opacity layers. Within material3, this integrates seamlessly via LocalRippleThemeConfiguration I0551a. Standalone design systems can also depend directly on androidx.compose.material3:material3-ripple.

Behavior Changes

  • Slider and RangeSlider stateful migration & source-breaking parameter change:

    • Stateless overloads of Slider and RangeSlider are deprecated in favor of stateful overloads taking SliderState and RangeSliderState If8995.
    • Source breaking change: onValueChange is now a required parameter, and its position in the parameter list has changed. Slider and RangeSlider now handle onValueChange and onValueChangeFinished directly in the composable layer rather than passing them through SliderState I959ac.
    • In RangeSliderState, activeRangeStart and activeRangeEnd have been renamed to startValue and endValue If8995.

    Migration Example:

    // Before (Stateless)
    var value by remember { mutableFloatStateOf(0.5f) }
    Slider(value = value, onValueChange = { value = it })
    
    // After (Stateful)
    val state = remember { SliderState(value = 0.5f) }
    Slider(state = state, onValueChange = { /* optional side effects */ })
    
  • SecureTextField Default Obfuscation Mode: Updated SecureTextField and OutlinedSecureTextField to default to TextObfuscationMode.System rather than TextObfuscationMode.RevealLastTyped I76c7e.

  • BottomSheet Deterministic Anchor Resolution: ModalBottomSheet and BottomSheetScaffold no longer automatically remove the PartiallyExpanded anchor based on layout height heuristics (Ia4167. Developers explicitly control anchors via rememberBottomSheetState. Sheets also now respect MaterialTheme.motionScheme during nested scrolling and dragging I5fe22.

  • Navigation Item High-Contrast Label Color: Horizontal NavigationItem labels (e.g. in WideNavigationRail) now calculate color via selectedTextColorStartIconPosition to match selectedIconColor under high-contrast themes I85855 b/490910896. To revert, set selectedTextColorStartIconPosition = MaterialTheme.colorScheme.secondary.

  • Checkbox Sizing & Alignment: Checkbox box size and indicator marks have been recalibrated to strictly align with the Material 3 specification I97baf b/457504316. Flag ComposeMaterial3Flags.isCheckboxStylingFixEnabled is provided to assist testing and rollout.

  • TopAppBarDefaults Scroll Behaviors: pinnedScrollBehavior and enterAlwaysScrollBehavior overloads now take ScrollableState (LazyListState, ScrollState) to resolve reversed layout directions and initially scrolled offsets Idef9d I9d5c2. Parameter isAtTop is renamed to isAtStart If7323.

  • Single Theme Composition Local: MaterialTheme was refactored internally to consolidate theme values into a single composition local (MaterialTheme.LocalMaterialTheme.current) Idee2e. Deprecated LocalMotionScheme in favor of MaterialTheme.motionScheme I4b61d.

New Material Design 3 Components

  • Expressive Buttons & Button Groups:
  • Expressive Text Fields:
  • Expressive Chips:
  • Expressive Menus & Submenus:
  • Expressive Time Pickers & Pickers:
    • VibrantTimePickerDialog: Expressive time picker dialog supporting both dial and uncontained scroll/input modes Iea5aa I2b3b6.
    • Scrollable TimePicker variant and ScrollField: Wheel/scroll picker variant for rapid numeric selection with full keyboard and screen reader accessibility I46f6b Iab612.
  • Sheets and Scrims:
    • Standalone static Sheet component (Experimental): Non-modal static surface for anchored bottom and side sheets I0ef95.
    • Standalone Scrim: Decoupled scrim composable for use across modal sheets, dialogs, and custom containers I29555.
  • Wavy Progress Indicators:
  • Loading Indicators (Experimental):
    • LoadingIndicator and ContainedLoadingIndicator: Expressive loading indicators that morph smoothly across a sequence of RoundedPolygon shapes in both determinate (progress) and indeterminate modes, customizable via LoadingIndicatorDefaults (and supported as a pull-to-refresh indicator via PullToRefreshDefaults.LoadingIndicator).
  • Material Shapes (Experimental):
    • MaterialShapes: Provides 35 predefined, normalized Material Design 3 shapes as RoundedPolygons (including Circle, Square, Slanted, Arch, Oval, Pill, Sunny, Cookie4Sided–Cookie12Sided, Clover4Leaf, Clover8Leaf, Burst, SoftBurst, Flower, Puffy, and Heart), along with toShape and toPath extensions to convert RoundedPolygon and Morph instances into Compose Shape and Path objects.
  • Toolbars & List Items:
    • FloatingToolbar and HorizontalFloatingToolbar: Expressive floating toolbars with built-in overflow handling I5a4d8 I6a6f8.
    • Expressive and Segmented ListItem: Interactive and non-interactive list item variants with rounded container segmenting I54057 I2836a.
    • Added support for verticalAlignment in interactive ListItem, allowing custom alignment of content Id69ec6.
    • Added InteractiveListItem documentation and performed renames of internal components to ListItem for improved developer ergonomics Ib70923.
  • Enabled customizing list items vertical alignment via InteractiveListItemDefaults.verticalAlignment() Id69ec6.
  • Search Variants:

Enhancements to existing Material Design 3 components

  • Accessibility & Keyboard Navigation: Overhauled keyboard navigation and focus traversal across DatePickers (grid, year selector), TimePickers (dial numbers, AM/PM buttons), Sliders, Scaffolds, and NavigationDrawers Ibba27 I77194.
  • Theming & Styling: Graduated the Expressive theming (MaterialTheme.expressiveLightColorScheme, MaterialTheme.materialExpressTheme) (I40eab, bringing expressive design tokens, shapes, and color configurations across components.
  • Typography: Added constructor overloads to Typography that accept a defaultFontFamily, propagating the font family to all unset styles in the type scale (I2e305,
  • Text: Added Text composable overloads taking a ColorProducer lambda to animate or update text color during the draw phase without triggering recomposition (I9ff25,
  • Carousels:
    • Added multi-aspect carousel support via the Modifier.carouselParallaxScrollEffect and LazyGrid integration I46b17 I2b109.
    • Renamed maxItemWidth to preferredItemWidth in HorizontalCenteredHeroCarousel Ie7883.
    • Added CarouselDefaults.ItemSpacing and CarouselDefaults.ContentPadding I2f36a.
  • Tooltips:
    • Added custom caret shape configuration and expanded TooltipPositionProvider to anchor tooltips above, below, left, or right Ie513c.
    • Tooltips are now clamped to window boundaries to prevent viewport clipping I874b6.

Stable APIs

All components and APIs listed under New Material Design 3 Components are stable in 1.5.0, except those listed under Remaining experimental APIs below.

The following previously experimental APIs are also now stable:

  • BottomAppBar and associated methods I42c61
  • TopAppBarScrollBehavior and top app bar variants (TopAppBar, MediumFlexibleTopAppBar, LargeTopAppBar, TwoRowsTopAppBar) Ieb2d1 Iea5aa
  • SearchBarState and slot-based SearchBar composables Ia3793
  • Core Slider and RangeSlider APIs I5efb3
  • Multi-browse and uncontained Carousel APIs I7a558
  • LocalRippleThemeConfiguration and RippleThemeConfiguration Ide5d0
  • BasicAlertDialog If157c

Remaining experimental APIs

These APIs are new in 1.5.0 but remain experimental and may change in future releases:

  • Loading indicators: LoadingIndicator, ContainedLoadingIndicator, LoadingIndicatorDefaults, and PullToRefreshDefaults.LoadingIndicator
  • Material shapes: MaterialShapes and the toShape / toPath extensions
  • AppBarWithSearch and AppBarWithSearchColors
  • Carousel parallax / multi-aspect support: Modifier.carouselParallaxScrollEffect
  • Standalone static BottomSheet

Performance improvements

  • DatePicker month navigation now resolves in a single frame by evaluating navigation availability directly from the displayed month index I08db7.
  • Reduced recompositions when updating text colors using the new ColorProducer overload on Text I9ff25.
  • Optimized BasicTextField minimum dimension layout calculations I70ade.

API Changes

  • Migrated RemoteBasicImage and RemoteBasicText to use Remote* types (RemoteContentScale, RemoteTextOverflow, etc.) instead of Compose UI types.

Important changes since 1.12.0:

ComputedState API

We've introduced a new computedStateOf { } API that can be used as an alternative to derivedStateOf.

Like DerivedState, ComputedState is an implementation of State whose value is backed by a calculation that may read other states. The value will invalidate when the result of the calculation changes, not when one of the referenced states changes.

The primary difference between ComputedState and DerivedState is that DerivedState caches the result of its calculation and ComputedState executes the calculation on-demand each time the value is read. For many calculations, this caching is more expensive than computing the value on-demand. Therefore, we recommend using ComputedState instead of DerivedState when your calculation doesn't benefit from caching. Good candidates for calculations that don't benefit from caching are ones that don't rely on object identity of its result, don't allocate large objects, don't read many states, aren't read many times in a single frame, and don't perform a complex algorithm.

As a general rule of thumb, we recommend using ComputedState instead of DerivedState for most usages and if it's unclear whether caching would be beneficial.

Updates to the Experimental SlotTable

The LinkComposer remains opt-in as of Compose 1.13, and includes fixes for several issues reported since Compose 1.12. We continue to recommend testing your app against the new implementation of the SlotTable and reporting any issues you run into.

Note that in runtime version 1.13.0-alpha01, the proguard syntax for enabling the LinkComposer in minified builds has changed. See the feature flag documentation and previous release notes for more information.

API Changes

  • Parent snapshots are now advanced when a nested snapshot is taken. When snapshot writes are made to the same state object in both snapshots, the parent snapshot's writes will now appear to be after writes in the child, and will appear in the final snapshot when applied. This behavior can be disabled via the flag ComposeRuntimeFlags.advanceParentSnapshotsWhenTakingNestedSnapshot. I30263 b/573222121
  • Added the Snapshot.readOnly { } API I5feef
  • MutableVector and mutableVectorOf are deprecated. Use androidx.collection.MutableObjectList and mutableObjectListOf instead. If0dd8
  • Removed the watchosArm32 target, which Kotlin 2.5 no longer supports. Ic048d

Bug Fixes

  • Fixed SnapshotStateObserver still notifying a cleared scope when its first observation nested an observation of the same scope. Ie7789
  • Fixed an issue in the GapComposer and LinkComposer that could cause a crash when nodes are modified around the end of an inlined node's group boundary I173fe b/569219194
  • Fixed an issue where a CompositionLocal could be read incorrectly if placed after a MovableContent instance that is removed from composition. I8100a b/574059467
  • Fixed an issue in the LinkTable that could recompose content out of order when keyed items are inserted and removed in the same frame I4acc7
  • Updated androidx.tracing:tracing-wire dependency to 2.0.5. I70e9f
  • Documented that scheduleFrameEndCallback throws CancellationException when the Recomposer shuts down. Iae38a b/568852322
  • Fixed an issue where disposing a parent MutableSnapshot while a nested snapshot remained active could prematurely unpin state records and cause subsequent reads of modified states to throw an IllegalStateException. If2887 b/573733481
  • Fixed a race condition in derivedStateOf where concurrent state updates could cause reading a derived state to throw a spurious IllegalStateException. I3861b b/574107950
  • Fixed a memory leak in LinkComposer where skipped conditional invalidations and invalidated scopes removed by ancestor recomposition were retained in the composer's invalidations map. Idffd0
  • Fixed a bug where applying a NestedMutableSnapshot with merged state records could leak an open snapshot ID and read unmerged state in the parent snapshot. I544a7 b/570652672
  • Fixed a bug in SnapshotIdSet.andNot where sets sharing a belowBound array retained cleared snapshot IDs. Ie881e b/570534659

External Contribution

  • Fixed an issue where a state change applied while a PausedComposition was composing its initial content on another thread was not reflected when the composition was applied. I52618

API Changes

  • Fixed an issue where AndroidView (and AndroidFragment) jittered and oscillated during nested scrolling when a parent Compose container (such as Scaffold with a collapsing TopAppBar, ModalBottomSheet, or dynamic padding/offset) moved or resized the hosted View. This fix is gated by AndroidComposeUiFlags.isNestedScrollInteropMeasureAndLayoutEnabled. I57434
  • Added new overloads of BasicText that accept a styleProvider (TextStyleScope.() -> Unit) lambda for dynamic styling, allowing dynamic style attributes to skip recomposition. I88e20
  • Added Modifier.illuminate, IlluminationScope, and Modifier.lightAnchor to apply lighting effects to composables and anchor light positions to layout coordinates. If829a
  • Adds Light (DirectionalLight, SpotLight and PointLight), SurfaceMaterial, SurfaceGeometrySpec. I8fd41
  • Added DrawAnnotation for custom drawing behind and over AnnotatedString text ranges. I928bf
  • Added computedMediaQuery API, which offers better performance over derivedMediaQuery for calculations that don't benefit from caching. derivedMediaQuery is now deprecated. Idacbf
  • Added LayoutModifierNode.invalidateRulers() to force Ruler values provided by a node to be recalculated when they depend on non-snapshot state. Ia02a8 b/422509162
  • The styleable() modifier API has been replaced by the styleResolver modifier based API. All styleable() modifiers and associated types (such as Style and StyleScope) have been deprecated. I54677
  • MutableVector and mutableVectorOf are deprecated. Use androidx.collection.MutableObjectList and mutableObjectListOf instead. If0dd8
  • Added TextLayoutResult.getBoundingBoxesForRange and TextLayoutResult.fillPathForRange to query coalesced per-line bounding boxes and merged rounded highlight paths for a character range. Ic134a b/329052205

  • Fixed an issue where AndroidView (and AndroidFragment) dropped nested scroll and fling deltas when the root hosted View was a container ViewGroup (such as FrameLayout, FragmentContainerView, or CoordinatorLayout) with isNestedScrollingEnabled == false wrapping a nested scrolling child (such as RecyclerView). To disable View-to-Compose nested scrolling, call ViewCompat.setNestedScrollingEnabled(view, false) on the nested scrolling child View itself. This fix is gated by AndroidComposeUiFlags.isNestedScrollInteropViewHolderFixEnabled. I74782

  • Add missing pixel 10, 9a and 11 pro fold devices If7aa5

  • Added multiTouchSwipeWithVelocity to TouchInjectionScope to allow testing multi-touch gestures with a specific end velocity. If0966

  • Material 3 TextField and OutlinedTextField overloads that accept value, onValueChange parameters, along with TextFieldDefaults.DecorationBox and OutlinedTextFieldDefaults.DecorationBox, are deprecated in favor of the TextFieldState overloads and decorator APIs. Idb68b b/554049628

Feature Flag removals
  • Removed AndroidComposeUiFlags.isAccessibilityPerformanceEnabled. I2a70e b/529420099
  • Removed ComposeUiFlags.isMinimalistLocalsEnabled. Ibc870 b/523295932
  • Removed the feature flag ComposeUiFlags.isClippedTouchBoundsOcclusionFixEnabled Id9e0a
  • Removed the temporary feature flag AndroidComposeUiFlags.isDelayedWindowInsetsRulersEnabled. I722b7
  • Removed ComposeUiFlags.isTrackpadPinchReinterpretationEnabled. I39fef
  • Removed ComposeUiTestFlags and the temporary ComposeUiTestFlags.isMainThreadTestSynchronizationEnabledForDeviceTests flag. Main-thread synchronization in Compose device tests is now permanently enabled. I765e9
  • Removed the feature flag AndroidComposeUiFlags.isPropagateHideFromAccessibilityToMergingChildrenEnabled Ief6fa
  • Removes experimental feature flag ComposeUiFlags.isTrackpadPanHoverFixEnabled. I3aa5b
  • Removed the feature flag AndroidComposeUiFlags.isTraversalGroupSortingEnabled I18b92

Bug Fixes

  • Map HintText semantics to ViewStructure.setHint in Autofill. If6bcc
  • Fixed a crash in Robolectric tests when a text field shows its magnifier, e.g. after two quick clicks on it. I65095
  • Fixed an unnecessary remeasurement when reading an alignment line during measurement and placing the child with a non-zero offset. I363ab b/435377724
  • Updated accessibility node text and text layout results to reflect active text translations (SemanticsProperties.TextSubstitution) when SemanticsProperties.IsShowingTextSubstitution is true. I006ef
  • Fixed screen reader focus resets in LazyRow, LazyColumn, and LazyGrid by setting pixel scrollDeltaX and scrollDeltaY on TYPE_VIEW_SCROLLED events. I463bc b/330744631
  • Fixed a long screenshot crash on Android 12 when a captured frame is read before it presents. I0f9ec
  • Fixed an issue where indirect pointer events and cancellations were not dispatched to multiple delegated IndirectPointerInputModifierNodes or to IndirectPointerInputModifierNodes chained after a focus target in the same modifier chain. I0f15a
  • Updated SemanticsProperties.PaneTitle exception message and paneTitle KDoc to clarify that a pane cannot be a descendant of a clickable or semantics-merging node. I250f2 b/575553356

External Contribution

  • onVisibilityChanged and onFirstVisible no longer report content as visible while it is outside of the window, when its ComposeView isn't at the window's origin, such as in a RecyclerView. Ibb2b6 b/577830524
  • Allow reversed (end < start) selection when made via a mouse gesture in a TextField(TextFieldState). Previously it would be automatically made "normal" (start < end). I42559

API Changes

  • Added ViewCompat.getSupplementalDescription and ViewCompat.setSupplementalDescription to specify supplemental descriptions for View instances that complement existing text or content descriptions, and to work around a platform issue on API 36 and 37 where View.setSupplementalDescription was not propagated to AccessibilityNodeInfo. Iae481
  • Added CallAttributesCompat.contactUri and CallAttributesCompat.isGroupCall to allow specifying a Contacts Provider or VoIP contact directory URI and indicating whether a call is a group call. Iddc59
  • Added preview AccessibilityNodeInfoCompat.PublicationInfoCompat for describing digital publication elements, such as chapters, footnotes, and glossary entries, to accessibility services. I39c87
  • Added preview MATH_TAG_ANNOTATION, MATH_TAG_ANNOTATION_XML, MATH_TAG_ERROR, MATH_TAG_PHANTOM, MATH_TAG_SEMANTICS, and MATH_TAG_SPACE constants to AccessibilityNodeInfoCompat.MathInfoCompat. Idcbb8
  • Remove NotificationCompat.ProjectedExtender#resetActions(). Ief3fc
  • Add FontRequest.Builder and fontProviderSystemCerts attribute to font-family XML to verify system font providers. I2630b
  • Added flush, notifyViewAppeared, and notifyViewDisappeared methods to ContentCaptureSessionCompat in androidx.core:core. I50526
  • ContentPipCallback methods are renamed to onInit, onPrepare, onAttach and onFinish; onFinish now takes a FinishReason. Added onError(Throwable), which is called instead of onFinish when entering picture-in-picture fails. I14b44
  • Rename NotificationCompat.ProjectedExtender#hasActions() to shouldUseExtenderActions() and add resetActions() to reset projected actions back to the default unset state. Ic2baf
  • Add NotificationCompat.ProjectedExtender#hasActions() to distinguish between unset projected actions and explicitly cleared actions. Ic47a8
  • Added action management methods (addAction, addActions, clearActions, getActions) to NotificationCompat.ProjectedExtender to support notification actions on projected devices. Ia28c7
  • Added reified extension methods on Bundle for the BundleCompat methods supporting Parcelable and Serializable. Ib5bbf b/506684521
  • Added isPortrait(Context, int) and isLandscape(Context, int) helper methods to ScreenOrientation. Ieb543
  • Renamed ScreenOrientationCompat to ScreenOrientation. Ibfd04
  • Added ScreenOrientationCompat to resolve 4-way screen orientation constants from rotation angles. I1b29e
  • Add disablePipOnAppSwitch to ContentPipExt Ie5bad
  • Added any, all, and none predicate extension functions to SparseArray, SparseBooleanArray, SparseIntArray, and SparseLongArray. I99a75
  • Added getOrPut extension functions to SparseArray, SparseBooleanArray, SparseIntArray, and SparseLongArray. I0bc45
  • Added sparseArrayOf, sparseBooleanArrayOf, sparseIntArrayOf, and sparseLongArrayOf builder functions. I23d5e
  • Introduced a fallback PiP solution in androidx.core.pip to maintain Picture-in-Picture functionality during navigation gestures (like quick switch) where native PiP may be suppressed. If289a
  • BasicPictureInPicture and VideoPlaybackPictureInPicture classes now require an Executor in their constructors. A new commit() method has been introduced and must be called to apply parameter changes. Ib9150
  • Added preview getOffsetType() and Builder APIs to AccessibilityNodeInfoCompat.SelectionPositionCompat to support multi-node selection boundaries. Iddacd
  • Introduced @PreviewAccessibilityApi opt-in annotation for pre-release accessibility features. I80cbf
  • Add new APIs to get and set math info Ib5ad3

Bug Fixes

  • compileSdk for Compose UI and the Compose libraries that build against it (Animation, Foundation, Material 3, UI Test, UI Tooling, UI ViewBinding and Navigation3 UI) updated to 37.2. This will require transitively updating compileSdk for all apps and libraries using them. I2859d
  • Fixed an issue on legacy (non-transactional) calls where availableEndpoints could remain empty when Telecom delays or withholds onCallAudioStateChanged. Ib46b0
  • Restored the FingerprintManagerCompat implementation that was made a no-op in core 1.18.0. That change caused androidx.biometric 1.1.0 and other callers to report no fingerprint hardware and fail fingerprint authentication on API 29 and lower. isHardwareDetected(), hasEnrolledFingerprints() and authenticate() now delegate to the platform FingerprintManager again. Id8c84 b/543076354
  • AccessibilityNodeInfoCompat.MathInfoCompat set with AccessibilityNodeInfoCompat.setStructuredDataInfo is now available to accessibility services through AccessibilityNodeInfoCompat.getStructuredDataInfo below API 37, where it's stored in the node's extras. If7e95
  • Normalized DisconnectCause.UNKNOWN to DisconnectCause.LOCAL and handled platform call aborts with DisconnectCause.CANCELED in onDisconnect so that platform-initiated disconnects report consistent causes across API levels. I3049f
  • Hardening the ContentPipExt fallback PiP solution. Id276b
  • Fixed an issue where video calls on a Bluetooth headset could unexpectedly switch to speakerphone during transient audio route updates. Ie435a
  • Bump core-telecom to 1.1.0-rc01. Iba053
  • Added @Rotation IntDef to restrict rotation values in ScreenOrientation. I03bf0
  • Fixed an issue where video calls started with a preferred audio endpoint (such as the phone earpiece) would erroneously revert to the device speaker shortly after connecting. I38ea6
  • Fixed an issue where video calls would incorrectly route audio to the device speaker instead of a connected wired headset on call start. I575a8
  • Fixed an issue where manipulating WindowInsetsCompat could sometimes cause an IllegalArgumentException during screen rotation on Android 11 devices. I68aaf b/284078031
  • Allow VoIP apps to disconnect with DisconnectCause.ERROR starting in SDK 38, with automatic remapping to LOCAL on older platform versions. I5a58c
  • Bump core-telecom to 1.1.0-beta01. I5b514
  • Callback onFinishContentPip if enterPip fails I04b77
  • Fixed an issue where CallsManager#addCall could delay CallControlScope entry by up to 2 seconds while waiting for starting audio endpoint resolution and Bluetooth stabilization. Ia1e89
  • Fixed a race condition where invoking CallsManager#addCall or CallsManager#addCallWithExtensions while another call setup is in progress could lead to deadlocks or silent failures in the OS TransactionManager. Overlapping call setups are now immediately rejected with CallException(ERROR_CALL_NOT_PERMITTED_AT_PRESENT_TIME). If0ac8
  • Fix video calls route to earpiece instead of speaker bug when using the backwards compat path on sdk=34+ I9f2bd
  • 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
  • Catch exception in setPictureInPictureParams Ibfeb2
  • Fixed a bug in Core-Telecom where an intentional user switch to speakerphone during call initialization would be incorrectly reverted to the earpiece. I9e251
  • Fixed an issue where redundant audio state updates in core-telecom could lead to main thread congestion and potential ANRs. Ibd794
  • Fix NPE in BlueoothProfileListener#onServiceConnected Idbd57

External Contribution

  • Added ObjectsCompat.requireNonNullElse and ObjectsCompat.requireNonNullElseGet, backporting java.util.Objects API 30 methods down to minSdk 23. I6e564
  • Ensure Exif IFD tags are written in ascending order by tag ID.
  • Make the date formatters inside ExifInterface thread-safe.
  • Stop adding an incorrect NUL terminator to Exif tags of type UNDEFINED.

API Changes

  • Added GlanceAdaptiveWidgetManager.setConfigurationResult to glance-adaptive-appwidget. Id3751
  • Added GlanceAdaptiveWidgetManager to glance-adaptive as an entry point for managing Glance Adaptive widgets. I9d4f2
  • Added GlanceSurface, AppWidgetSurface, WidgetInstanceInfo, and GlanceAdaptiveTemplate interface to glance-adaptive. I8c3e1

Additional changes

  • Updated the default squircle widget preview container specs I4bef6:
    • Height updated to 64dp (small) and 124dp (large)
    • Corner Radius updated to 32dp
    • Safe inner padding updated to 10dp
  • Added Lint check to ensure Wear widget configuration activities include the required PROVIDER_CONFIG category in their <intent-filter>. Id30a6

API Changes

  • Add Ink InProgressShapesView method overloads for unfinished strokes from a specific device I9c945
  • Support multiple input devices simultaneously in Ink authoring module I41ee5
  • Add linux-aarch64 JVM support I752e5 I1216b

Bug Fixes

  • Clamp stroke shape durations to be non-negative and monotonic I752e5 b/552666754
  • Change CanvasInProgressStrokesRenderHelperV33 requested frame rate to 720F. I752e5
  • Update ink-authoring and ink-authoring-compose dependency on input-motionprediction Ib84ef

API Changes

  • Added createSharedSandboxAsync, createDedicatedSandboxAsync, and isShared methods to JavaScriptSandbox. These APIs allow apps and libraries to create multiple concurrent JavaScriptSandboxes, using either a shared process for resource conservation or a dedicated process for increased stability and security. I3fc6a

API Changes

  • Remove deprecated Orbiter APIs, use the Orbiter API accepting an OrbiterPosition instead. Ib5043

Bug Fixes

  • Restore original scale when SubspaceModifier.scale is removed I55b74
  • Reset a composable with the movable and anchorable modifiers when updating or removing the modifier Iaee5b
  • Fixed a bug where scale modifier was not being applied properly to a SpatialModel I130b2
  • Fixed an issue where the system movable was not being reset when updated or removed. I2cb89
  • Restore original alpha when SubspaceModifier.alpha is removed Id4902
  • Update resizable minimumSize default to a 150.dp width/height, as it could be difficult to re-enlarge panels if they apparoach a zero size (old default). I183a6
  • Fixes resizable behavior when maintainAspectRatio = true, and a minimumSize and/or maximumSize are set. The resizable will now hit its size cap once a min/max on either axis has been hit, rather than breaking aspect ratio to hit the min/max of both axis. I89793
  • Add constraints to clamp SpatialPanel and other panel-like Composables to a safe rendering size. The default max size for the resizable modifier is updated to this size. This max is dynamically calculated, but is substantially larger than the recommended content box size. Larger resizable sizes can still be explicitly specified for layout groups and SpatialExternalSurface but clamping will still apply for any SpatialPanel children they may have. If408a
  • Fixed an issue where isSystemMoveOngoing remained true when a MovableComponent was disabled mid-drag, preventing subsequent layout pose updates. Reset isSystemMoveOngoing, previousPose, and previousScale in disableComponent(). I090f25

New Features

  • Added support for resizable geometry interactions to GltfEntity and MeshEntity components. Id57fa
  • Added support for dynamically updating the looping state of GltfAnimation during playback. Ib0dd7

API Changes

  • Added PointSourceParams.Builder with directivity, spread angle, and DistanceAttenuation models for 3D spatial audio point sources. Ib3737
  • The GltfAnimation.setLoop() API is no longer marked as experimental as it can now toggle the looping behavior while the animation is playing. I6da98 I67be6

Bug Fixes

  • ResizableComponent can now be attached to a GltfModelEntity to let the user scale the model. I5c3e4
  • AnchorSpace now transitions to AnchorSpace.State.ERROR when anchor token export or binding fails. I91169
  • Synchronized PanelEntity resizing by using transaction callbacks to eliminate visual flickering during scaling. I8f803
  • Fixed corner radius clamping issue when resizing quad SurfaceEntity shapes by ensuring values remain within bounds. I74283

Bug Fixes

  • The currentStateFlow property of LifecycleRegistry now returns the same instance with each invocation, rather than creating a new instance each time. I1ae01 b/579057749

API Changes

  • Migrate LocalLifecycleOwner to use compositionLocalWithHostDefaultOf and LifecycleOwnerHostDefaultKey detaching it from being directly retrieved as part of the view tree outside of Android. I7c265

Bug Fixes

  • From Lifecycle 2.11.1: The currentStateFlow property of LifecycleRegistry now returns the same instance with each invocation, rather than creating a new instance each time. I1ae01 b/579057749

API Changes

  • Renamed OrbiterAlignment to OrbiterPosition and added support for configuring independent horizontal and vertical edge alignments on Orbiter corner alignment subclasses. Deprecated OrbiterEdgeOffsetType in favor of EdgeAlignment. Ib2fbc
  • Prefix Material XR components with Spatial I0e645
  • Remove EnableXrComponentOverrides I09652
  • Remove Component Override APIs for NavigationSuiteScaffold Ie6340
  • Remove Component Override APIs for ThreePaneScaffold I9ceb5
  • Remove AnimatedSpatialVisibility and associated usages I1dffa
  • Deprecated FloatingToolbarScrollBehavior.floatingScrollBehavior extension function in favor of val floatingScrollBehaviorModifier: Modifier property. Ifbbec
  • Update Material to use new Orbiter API and OrbiterEdgeOffsetType API Ifa085
  • Remove ComponentOverride APIs I3784b
  • Introduced a new Orbiter API variant using SpatialAlignment, DpVolumeOffset, and OrbiterOffsetType for true 3D spatial placement using continuous layout biases. The previous OrbiterAnchorPoint-based variant has been deprecated Ibdcb5
  • Make Animation/Transition Apis experimental I07d98
  • Update resizable modifier to use a ResizePolicy instead of two modifiers I7fb0f
  • Added movable overload with movePolicy param and deprecate transformingMovable and movable Ic88c1
  • Deprecated ResizePolicy and the old resizable modifier, replacing it with a new SubspaceModifier.resizable overload and SubspaceModifier.transformingResizable. I9e4bc

Bug Fixes

  • Updated Compose dependencies in Material 3 to 1.13.0-alpha03. I6f41b
  • compileSdk for Compose libraries updated to 37.1. This will require transitively updating compileSdk for all apps and libraries using Compose. I05b0f

Important changes since 1.8.0:

New Features and API Changes

  • Minimum SDK Bump: The default minimum SDK requirement is now 24.
  • Device Suggestions: Introduced the setDeviceSuggestions API, allowing you to provide device suggestions for dynamic routes.
  • Media Transfer Status: Introduced the isMediaTransferEnabled method in MediaRouter to allow checking the media transfer status programmatically.
  • Routing Controller API: Added an API to fetch the routing controller ID directly from a selected route.
  • Selection Triggers: Added an onSelectedRoute overload that explicitly indicates the selection trigger.
  • Simplified Media Transfer: Enabling media transfer no longer requires a dedicated manifest tag.

Bug Fixes and Improvements

  • UI Polish: Converted MediaRouteExpandCollapseButton and various other UI assets to use vector drawables instead of PNGs for better scaling and performance.
  • Accessibility: Added the button accessibility role to items in MediaRouteChooserDialog so screen readers properly announce route entries as buttons.
  • Security & Crash Prevention: Fixed a potential crash (NullPointerException and ClassCastException) caused by receiving malformed parcels in MediaRouteDescriptor.
  • Screen-off Scanning: Prevented third-party apps from inappropriately requesting screen-off scanning via MediaRouteDiscoveryRequest.
  • Routing Reliability: Fixed several bugs that could cause incorrect route selection or inconsistent default route states when providers change or media transfer is toggled.

New Features

Dynamic feature modules, a.k.a. Play Feature Delivery, is now integrated to Navigation 3 via androidx.navigation3:navigation3-dynamic-features library.

  • DynamicFeatureNavEntryDecorator takes in a SplitInstallManager to install a dynamic feature module upon first navigation to the module. To use, call rememberDynamicFeatureNavEntryDecorator and pass into the NavDisplay. Then pass in DynamicFeatureNavEntryDecorator.entryProvider as the entryProvider, and invoke dynamicFeatureModule() inside the provider to register the module.Idfc15 b/520494172

     val dynamicFeatureDecorator =
        rememberDynamicFeatureNavEntryDecorator<NavKey>(
            splitInstallManager = rememberSplitInstallManager(),
            defaultLoadingContent = { LoadingIndicator() }
        )
    
     NavDisplay(
        ...
        entryDecorators =
            listOf(
                rememberSaveableStateHolderNavEntryDecorator(),
                dynamicFeatureDecorator,
            ),
        entryProvider =
            dynamicFeatureDecorator.entryProvider {
                entry<HomeKey> {
                    ...
                }
                dynamicFeatureModule(
                    initialKey = PremiumKey,
                    moduleName = "premium",
                    entryProviderClassName = "com.example.premium.PremiumModuleEntryProvider",
                    loadingContent = { state ->
                        when (state.status()) {
                            SplitInstallSessionStatus.FAILED -> Text("Failure")
                            SplitInstallSessionStatus.REQUIRES_USER_CONFIRMATION -> {
                                // Call SplitInstallManager::startConfirmationDialogForResult
                            }
                            else -> Text("Loading premium feature...") 
                        }
                    },
                )
            },
    )
    
  • DynamicFeatureModuleEntryProvider provides NavEntries of the dynamic feature module after the module has been installed. In the module, extend the DynamicFeatureModuleEntryProvider class to create an EntryProvider that will be resolved at runtime via Java reflect. The provider can be registered with NavDisplay by passing its fully qualified name into the dynamicFeatureModule invocation.Idfc15 b/520494172

    // Defined in the `:premium` dynamic feature module. 
    // Resolved in the `:main` app module by reflection in runtime when
    // the installation of the dynamic feature module is completed.
    class PremiumModuleEntryProvider : DynamicFeatureModuleEntryProvider<NavKey> {
        override fun EntryProviderScope<NavKey>.buildEntries() {
            entry<PremiumKey> {
                Text("PremiumScreen")
            }
            entry<PremiumSubKey> {
                Text("SubScreen")
            }
        }
    }
    
  • The initial NavKey that is used for navigating to the module can be defined in the main module or a common module. NavKeys for additional sub-screens inside the dynamic feature module can be defined within the module. Idfc15 b/520494172

    // Initial nav key for the `:premium` dynamic feature module. 
    // Defined in the `:main` app module, but can also be accessed from 
    // the dynamic feature module.
    @Serializable data object PremiumKey : NavKey
    
    // An internal sub nav key for the `:premium` dynamic feature module. 
    // Defined in the `:premium` app module, cannot be accessed by other modules.
    @Serializable internal data object PremiumSubKey : NavKey
    

API Changes

  • Made EntryProviderScope open and EntryProviderScope.build() public to allow extending the entry provider DSL scope. I6a66d b/520494172
  • Added SharedTransitionScope.DeferredTransitionBehavior (FollowContainer, Static, SeekToTarget), SharedContentConfig.deferredTransitionBehavior, and MutableContentTransform.sharedElementProgress to support seeking shared elements toward their target bounds during the deferred phase of a DeferredTransition. Deprecated permitTransformDuringDeferredTransition. I2fac2
  • Removed the watchosArm32 target, which Kotlin 2.5 no longer supports. Ic048d

Bug Fixes

  • Fixed ConcurrentModificationException from calling NavBackStack.toList() on a background thread while mutating the back stack on the Main thread. NavBackStack now has a custom toList() that delegates to the internal SnapshotStateList's thread-safe toList(). Id9bb7 b/576097101

API Changes

  • Added ItemSnapshotList extensions for Lazy foundations. You can now call ItemSnapshotList#itemKey and ItemSnapshotList#itemContentType to auto generate itemKey and contentType for Lazy foundation. I73455 b/560754841

External Contribution

  • Thank you Kamal for adding the ItemSnapshotList extensions.

New Features

  • Enabled Kotlin Multiplatform (jvmAndAndroidMain) support in :compose:remote:remote-creation-compose, decoupling core creation APIs from Android and Compose UI types so remote documents can be authored and tested on JVM targets as well as Android.

API Changes

  • Promoted RemoteContentScale, RemoteTextOverflow, RemoteCompositingStrategy, RemotePathFillType, RemotePaintingStyle, RemoteStrokeCap, RemoteStrokeJoin, RemoteBlendMode, RemoteLayoutDirection, RemoteFontVariation.Settings, and Remote text styling types to public API, and decoupled RemotePaint, RemoteShape, RemoteStateScope, RemoteTextStyle, RemoteCreationDisplayInfo, RemoteImageVector.Builder, RemotePainter, RemoteRenderEffect, RemoteBlurEffect, and RemoteFontFamily from Compose UI and Android types.
  • Decoupled RemoteImageBitmap from Compose UI ImageBitmap. I1dfb9
  • Decoupled RemoteTextUnit from Compose UI TextUnit. Id9ba1
  • Extracted core remote state AST expressions into :compose:remote:remote-creation-expression. I41115
  • Extracted Compose Runtime composables and Android formatters from RemoteState, removed deprecated rememberMutableRemote* composables, and exposed RemoteEnum.enumEntries. I76417
  • Exposed RemoteDrawScope drawing (drawImage, drawText), transformation (rotate, translate, scale, withTransform, RemoteDrawTransform), and clipping (clipRect, clipOutline, RemoteDrawTransform.clipOutline) APIs. I2c823
  • Replaced RemoteTextMeasurer.measure and RemoteTextLayoutResult with measureSingleLine (RemoteSingleLineTextBounds), measureFontMetrics (RemoteFontMetrics), measurePaintBounds (RemotePaintBounds), and measureMonospaceWidth. I9022f
  • Replaced public RemoteState and MutableRemoteState constructors and Companion.invoke factories with top-level factory functions (RemoteFloat, MutableRemoteFloat, RemoteInt, MutableRemoteInt, RemoteLong, MutableRemoteLong, RemoteBoolean, MutableRemoteBoolean, RemoteString, MutableRemoteString, RemoteColor, RemoteDp, RemoteTextUnit, RemoteEnum, MutableRemoteEnum, and RemoteImageBitmap). Iff2f6
  • Added public RemoteState.Domain(namespace: String?) constructor, RemoteState.Domain.None, and Domain.prefixed(name: String) to support custom and unprefixed named-state namespaces alongside RemoteState.Domain.User and RemoteState.Domain.System. Ibef77
  • Exposed positionInParent and positionInRoot (RemoteOffset) on RemoteComponent, and moved RemoteOffset to :compose:remote:remote-creation-expression. I67998
  • Promoted RemoteTileMode and linear gradient shaders to public API. I1464b
  • Promoted RemoteRole to public API and updated RemoteModifier.clickable and RemoteSemanticsPropertyReceiver.role to use RemoteRole instead of androidx.compose.ui.semantics.Role. Iace42
  • Added RemoteFontVariation.weight, width, slant, opticalSizing, and grade factory functions. Ib8198
  • Added RemoteAction.None for representing a no-op RemoteAction. I18ce6
  • Added RemoteComponent in :compose:remote:remote-creation-expression along with @Composable remoteComponent() and RemoteStateScope.remoteComponent() in :compose:remote:remote-creation-compose for dynamic component measurements, and replaced RemoteFloatContext lambda overloads (createNamedRemoteFloatExpression, MutableRemoteFloat, and rememberNamedRemoteFloat) with RemoteFloat-accepting overloads. Icb1c5
  • Marked remote-creation-compose composables and remote slot lambdas with @RemoteComposable, added @Immutable and @Stable annotations to remote value, shape, alignment, arrangement, and style types, and added @RemoteLayoutScopeMarker to RemoteRowScope and RemoteColumnScope. I2d4f0
  • Restricted internal writer and core declarations (RemotePath, RemoteDocument, RemoteWriterEvents.storePendingIntent) from the public Remote Compose API surface and exposed ExperimentalRemoteCreationComposeApi publicly. I459cb
  • Renamed public types in remote-creation-compose (RemoteCapturedDocument, RemoteWriterEvents, RemoteGraphicsLayerScope, RemoteRenderEffect, RemoteBlurEffect, RemoteSemanticsProperties, RemoteSemanticsPropertyKey, RemoteSemanticsPropertyReceiver) to include the Remote prefix. Ia2573
  • Renamed pendingIntentAction to rememberPendingIntentAction (with dynamic String extras), the @Composable createCreationDisplayInfo overload to rememberRemoteCreationDisplayInfo, RemoteEasing.Cubic/Spline to cubic/spline, valueChange to valueChangeAction, createProfile to Profile, RemoteColor tween to lerp, and the action parameter of RemoteModifier.clickable to onClick; added hostAction(id, metadata) and the RemoteBoolean overload of hostAction. I16acd

Bug Fixes

  • Long press, double click and touch cancel handlers now receive coordinates adjusted for preceding padding modifiers, matching click and touch down/up/drag. I1fe01

API Changes

  • Support @DaoReturnTypeConverters on individual DAO functions and @Query getter properties. Ieff22 b/578894940
  • Removed the watchosArm32 target, which Kotlin 2.5 no longer supports. Ic048d

Bug Fixes

  • Fixed an issue where collection query parameters with a custom @ColumnTypeConverter were expanded into multiple parameters instead of converted as a single value inside COALESCE expressions. I58968
  • @Dao-scoped @DaoReturnTypeConverters now take priority over @Database-scoped converters. I30cb9 b/578894940
  • Fixed an issue in KSP where non-constant annotation arguments (such as @ColumnInfo.defaultValue) were silently ignored, which exported incomplete schemas and caused misleading auto-migration errors. I50746 b/558464759
  • Fixed an issue where using Kotlin value classes with @MapColumn in multimap queries could emit false equals()/hashCode() warnings or fail to map the specified column. I91d6b b/535696696
  • Support an optional Map<String, Any?> parameter in read @DaoReturnTypeConverter functions to access DAO query arguments. I05586 b/492164283

Bug Fixes

  • Updated XrCapabilities KDoc with supported device types, runtimes, and required permissions. Id5e0b Id9d8d
  • Fixed a synchronization primitive ordering issue in tests that was causing deadlocks. Id14a6a

API Changes

  • Migrate LocalSavedStateRegistryOwner to use compositionLocalWithHostDefaultOf and SavedStateRegistryOwnerHostDefaultKey detaching it from being directly retrieved as part of the view tree outside of Android. I6768f

Bug Fixes

  • Perfetto changed the underlying protos being used from the CallStack type to InlineCallStack. For more information refer to the changelog. I22453

  • Add support for toggling categories when enabling in-process tracing from benchmarks for a target process. PerfettoTraceRule now supports enabling optional categories for in-process tracing. These categories are used by the TraceDriver instance in the target process. I663ed b/565040771

Bug Fixes

  • Fixed an issue where Modifier.oneHandedGesture called onGestureAvailable again whenever the caller recomposed, resulting in repeated gesture indicator hints. The indicator hint is now only shown on the initial composition. I0b514

API Changes

  • Added DurationPicker, a new component for Wear Compose Material 3 which allows users to select a duration (as opposed to the existing TimePicker which should be used only to select a time). Also added a PickerGroupScope.PickerGroupItem overload with a gradientColor parameter. TimePickerType.MinutesSeconds has been deprecated, and DurationPicker should be used with DurationPickerType.MinutesSeconds instead. I4bc8c
  • Renamed Modifier.curveToEdge to Modifier.drawCurvedToEdge and added DrawCurvedToEdgeDefaults for recommended sweep angles. Ic2e07
  • Added AlertDialogDefaults.EdgeButton and AlertDialogDefaults.ConfirmButton overloads with a new gestureVisibilityThreshold parameter, used to configure how much of the button must be visible before the associated one-handed gesture is enabled. Setting gestureVisibilityThreshold to zero turns the gesture off on that button. I39d87
  • Rotary and fling snapping of TransformingLazyColumn now step through tall items in several snaps instead of skipping to their center in a single snap. By default, an item taller than the band around the center of a round screen in which it is fully visible is split into equal segments, each with its own snap point. The new Modifier.snapSegmentThreshold in TransformingLazyColumnItemScope customizes how an item is split, or keeps it whole if the threshold >= measuredHeight. With a snap offset, a slow release now snaps the item nearest to the snap line rather than to the center, and a fling faster than 400dp/s always moves on to the next snap point in its direction. Rotary input before a snap scrolls the list linearly, and turning against a running snap cancels it. Ic5e66
  • Added a scrollFraction parameter to OneHandedGestureDefaults.scrollDown() to configure how far each gesture scrolls as a fraction of the viewport height. I2973d

Bug Fixes

  • compileSdk for Compose UI and all Compose libraries that build against it (including Wear Compose libraries) have been updated to 37.2. This will require transitively updating compileSdk for all apps and libraries using them. I2859d
  • Custom accessibility actions added via Modifier.semantics on SplitCheckboxButton, SplitSwitchButton, and SplitRadioButton (for example when used with SwipeToReveal) are now propagated to the focusable primary clickable container Row, so that TalkBack announces available actions. Ibfebe
  • Fixed a crash in ButtonGroup when expansionWidth exceeds a neighbor's width, or when either spacing or content padding exceeds the group's available width. Id3bdf
  • Wear Compose Material 3 Dialog now supports predictive back gestures from API 36 onwards, providing haptic feedback at the dismiss threshold and matching Navigation 3 exit transitions. Id4c7c
  • Fixed a memory leak where the last revealed SwipeToReveal item kept its removed screen in memory. Ied8b5
  • Fixed an issue where ButtonGroupScope modifiers (weight, minWidth, animateWidth) never compared equal, causing unnecessary node updates and remeasurement on recomposition. I5e95d
  • Fixed an issue where Modifier.oneHandedGesture called onGestureAvailable again whenever the caller recomposed, resulting in repeated gesture indicator hints. The indicator hint is now only shown on the initial composition. I0b514
  • Ensure onSwipePrimaryAction is triggered on full swipe in SwipeToReveal Ia01ba
  • Fixed an issue where circular screen paddings, transformation specs, and component dimensions in Wear Compose Material 3 shrunk when the Wear OS Global Status Bar reduced Configuration.screenHeightDp. Wear Compose Material3 now uses the screenWidthDp (rather than screenHeightDp) as the screen size, which does not shrink. I34567
  • Improved AlertDialog performance by avoiding double composition when content fits on the screen. Note that AlertDialog slots (icon, title, and text) are now measured with unbounded maximum height when content fits on the screen (matching the scrollable case), so Modifier.fillMaxSize() and Modifier.fillMaxHeight() applied inside those slots will no longer expand vertically. I8963d
  • Fixed a one-frame flash of the system status bar when AppScaffold enters composition. Ic0e83
  • Fixed an IllegalStateException crash in SwipeToReveal when subcomposed inside a LookaheadScope (such as inside a TransformingLazyColumn). I12b5b

API Changes

  • Exposed RemoteIconToggleButton, RemoteIconToggleButtonDefaults, RemoteIconToggleButtonColors, RemoteIconToggleButtonShapes, RemoteTextToggleButton, RemoteTextToggleButtonDefaults, RemoteTextToggleButtonColors, and RemoteTextToggleButtonShapes as public APIs in Wear Material 3 Remote Compose. Ib93ab
  • Replaced the shape parameter on RemoteIconButton and RemoteTextButton with shapes (RemoteIconButtonShapes and RemoteTextButtonShapes) and added animatedShapes() defaults to animate button corners on press, matching Wear Compose Material3. I6fa6b
  • Added a backgroundColor parameter to RemoteTimeText, defaulting to RemoteTimeTextDefaults.backgroundColor, which draws an arc behind the text like Wear Compose Material 3 TimeText. I165f1
  • Added @IntRange(from = 0) to RemotePageIndicatorState.pageCount and rememberRemotePageIndicatorState. I420f2
  • Added RemoteTextButtonDefaults.filledTonalTextButtonColors() for filled tonal text buttons. Ie43cd
  • Add press width animation support (expansionWidth and RemoteButtonGroupScope.animateWidth()) to RemoteButtonGroup in Wear Remote Compose Material 3. Ie2909
  • Updated RemoteShape overrides to use RemoteLayoutDirection.

Bug Fixes

  • Fixed RemoteCircularProgressIndicator so full-circle indicators (startAngle == endAngle) close the gap seamlessly at progress = 1f, and sub-gap indicator and track sweeps scale smoothly down to 0 without leaving stray round endcap dots at progress = 0f or 1f. I8158e
  • Fixed RemoteIconButton overriding custom size modifiers. Ibf940
  • Coerce negative sweepAngle and strokeWidth values to 0 in Remote Compose progress indicators and document clockwise arc direction. I1243b

API Changes

  • Added experimental configureIsolatedSites and canConfigureIsolatedSites methods on Profile, which can be used to separate more trusted or first-party sites into a separate renderer process from the default renderer used for all other sites. This can be used to establish an additional security boundary. I3ba24

Bug Fixes

  • Prioritized active and most recent VirtualDevice objects in ProjectedContext.getProjectedDeviceId() to prevent selecting stale device entries. I6ca071
  • Caught IllegalArgumentException in ProjectedContext.createProjectedDeviceContext() and wrapped it in an IllegalStateException to better handle scenarios where the projected device is no longer valid. I4e451b