Activity: v1.12.0-beta01
October 22, 2025
androidx.activity:activity:1.12.0-beta01, androidx.activity:activity-compose:1.12.0-beta01, and androidx.activity:activity-ktx:1.12.0-beta01 are released. Version 1.12.0-beta01 contains these commits.
API Changes
- Introduce the experimental
ActivityFlagsAPI for managing runtime behavior changes and migrations. The first flag enables stable ordering forOnBackPressedCallback, making back navigation more predictable across lifecycle changes. Developers can opt out by settingActivityFlags.isOnBackPressedLifecycleOrderMaintained = false. (I06bdf, Id08bb, I439aa, b/422730945, b/450533622)
Dependency Update
- Update lifecycle dependencies to 2.9.4 (Ic9fb2)
Annotation-Experimental: v1.6.0-alpha01
October 22, 2025
androidx.annotation:annotation-experimental:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.
API Changes
- The
OptInannotation now supports theElementType.PARAMETERtarget.
Camera: v1.6.0-alpha01
October 22, 2025
androidx.camera:camera-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.
New Features
- CameraX has migrated to a unified, high-performance camera stack, which is also used by the Pixel camera app. Known as
CameraPipe, this new stack is a collaboration between the CameraX and Pixel Camera teams. It ensures that all improvements are shared, benefiting both CameraX users and the Pixel camera app.
API Changes
- Added new APIs for dynamic camera add/removal detection. See the
CameraPresenceListenerAPI for more details. (I41ead, b/427182232, b/419441394)
Bug Fixes
- The feature group API now provides consistent results when
PREVIEW_STABILIZATIONis used withVideoCapture. This corrects a bug that caused inconsistent results when aPreviewuse case was not also active. (Ifed82, b/449913903) - Fixed an issue where unsupported preferred features were incorrectly made available. Features are now correctly filtered when their required use cases are not met. (I38db8, b/449532342)
- Fixed glitchy video result on Samsung Galaxy S6. (I612d9, b/235127608)
- Fixed an issue where
CameraInfo#isFeatureGroupSupportedcould incorrectly return true forPREVIEW_STABILIZATIONif theSessionConfigin the query was already configured with other features. (I2c355c, b/437816469)
Camera Feature Combination Query: v1.6.0-alpha01
October 22, 2025
androidx.camera.featurecombinationquery:featurecombinationquery:1.6.0-alpha01 and androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.6.0-alpha01 are released. Version 1.6.0-alpha01 contains these commits.
camera viewfinder: v1.6.0-alpha01
October 22, 2025
androidx.camera.viewfinder:viewfinder-compose:1.6.0-alpha01, androidx.camera.viewfinder:viewfinder-core:1.6.0-alpha01, and androidx.camera.viewfinder:viewfinder-view:1.6.0-alpha01 are released. Version 1.6.0-alpha01 contains these commits.
API Changes
- Exposed the default viewfinder
ImplementationModevia the newViewfinderDefaults.implementationModepublic API. This is now used as the default for bothViewfinderViewand theViewfindercomposable. (Ic3f52)
Compose Animation: v1.9.4
October 22, 2025
androidx.compose.animation:animation-*:1.9.4 is released. Version 1.9.4 contains these commits.
Compose Animation: v1.10.0-beta01
October 22, 2025
androidx.compose.animation:animation-*:1.10.0-beta01 is released. Version 1.10.0-beta01 contains these commits.
API Changes
- The
SharedContentConfigfactory method that takes a lambda indicating whether the shared element should be enabled has been removed.lookheadScopeCoordinatesAPI has been updated with aLookaheadScopebeing the receiver scope, with source coordinates being the parameter. (Id1fc2, b/452416806) BoundsTransforminterface has been updated to be consistent withSizeTransform. (Ia46f2, b/343696350)- Deprecated
ScaleToBoundsAPI has been removed. Please usescaleToBoundsinstead. (I17296)
Compose Foundation: v1.9.4
October 22, 2025
androidx.compose.foundation:foundation-*:1.9.4 is released. Version 1.9.4 contains these commits.
Compose Foundation: v1.10.0-beta01
October 22, 2025
androidx.compose.foundation:foundation-*:1.10.0-beta01 is released. Version 1.10.0-beta01 contains these commits.
API Changes
- Updates all indirect touch APIs to use the name indirect pointer APIs to match pointer input APIs. (I238ce, b/451607214)
- Annotated
PagerState.currentPageOffsetFractionwith@FrequentlyChangingValue. (Idfaab)
Bug Fixes
- Fixes marquee behavior for RTL layout directions. (Ib8be3)
Compose Material: v1.9.4
October 22, 2025
androidx.compose.material:material-*:1.9.4 is released. Version 1.9.4 contains these commits.
Compose Material: v1.10.0-beta01
October 22, 2025
androidx.compose.material:material-*:1.10.0-beta01 is released. Version 1.10.0-beta01 contains these commits.
Compose Material3: v1.5.0-alpha07
October 22, 2025
androidx.compose.material3:material3-*:1.5.0-alpha07 is released. Version 1.5.0-alpha07 contains these commits.
API Changes
- Enhanced
SearchBar.InputFieldwith akeyboardOptionsparameter, allowing for optimized text input by specifying keyboard options andlineLimitsparameter allowing to specify text wrapping scrolling (Id08a4, b/416991049)
Bug Fixes
- Fixed a bug in Slider where press interactions were not emitted on touch down. This change ensures that a
PressInteraction.Pressis emitted immediately onawaitFirstDown, providing instant visual feedback. (If9e25, b/308501482) - Fixed an issue with the
Tooltipcaret not changing directions when scrolling. TheTooltipBoxnow triggers a recomposition whenever the tooltip popup switches sides, ensuring the caret's direction is updated correctly. (I5ad1e, b/438875827)
Compose Material3 Adaptive: v1.2.0
October 22, 2025
androidx.compose.material3.adaptive:adaptive-*:1.2.0 is released. Version 1.2.0 contains these commits.
Important changes since 1.1.0:
- Introduce
PaneScaffoldScope.preferredHeightmodifier for devs to provide pane preferred heights that will be applied with new adapt strategies we are going to introduce. (I957dd) - Add saveable state holder to
PaneScaffoldScope(Id9299) - Introduce reflow strategy for adaptation (I75c6a)
- Introduce levitate strategy for adaptation (I1ba7c)
- Make
currentWindowAdaptiveInfo()function support large and extra-large window width size classes (I92e97) - Support custom dragging behavior with pane expansion state (If5c61)
Compose Material3 Adaptive: v1.3.0-alpha02
October 22, 2025
androidx.compose.material3.adaptive:adaptive-*:1.3.0-alpha02 is released. Version 1.3.0-alpha02 contains these commits.
API Changes
- Material adaptive scene strategies now allow passing custom pane adapt strategies (Iae61d, b/437981298)
- Graduate pane scaffold horizontal order APIs to stable (I23ab3)
- Introduce
DragToResizeStateto Levitate strategy (I717bd) - Deprecate window size APIs (I6749e, b/424442112)
Compose Runtime: v1.9.4
October 22, 2025
androidx.compose.runtime:runtime-*:1.9.4 is released. Version 1.9.4 contains these commits.
Compose Runtime: v1.10.0-beta01
October 22, 2025
androidx.compose.runtime:runtime-*:1.10.0-beta01 is released. Version 1.10.0-beta01 contains these commits.
API Changes
RetainedValuesStore.getExitedValueOrDefaultis renamed toRetainedValuesStore.getExitedValueOrElse(If9653, b/452340613)isKeepingExitedValueshas been renamed toisRetainingExitedValues(I660bf, b/437095756)RetainScopehas been renamed toRetainedValuesStore.RetainScopeHolderhas been renamed toRetainedValuesStoreRegistry.RetainScopeHolder.RetainScopeProviderhas been renamed toRetainedValuesStoreRegistry.ProvideChildRetainedValuesStore. (Idf23a, b/437095756)
Bug Fixes
- Delayed initialization of
SavedStateinSaveableStateRegistryuntil the first usage. (Ic0a93)
Compose UI: v1.9.4
October 22, 2025
androidx.compose.ui:ui-*:1.9.4 is released. Version 1.9.4 contains these commits.
Bug Fixes
- Fixed an issue where inline text content was disappearing if it was on the last line of a multi-line ellipsized text even though the inline content wasn’t in the ellipsized region. (I76aaf, b/441829208)
- Fixed an issue where
onLayoutRectChangedmodifier callbacks were not always being called whendebounceMillisis not zero. (72aba47, b/445324854)
Compose UI: v1.10.0-beta01
October 22, 2025
androidx.compose.ui:ui-*:1.10.0-beta01 is released. Version 1.10.0-beta01 contains these commits.
API Changes
- Adds an optimization for focus change dispatching. This can be disabled with
isOptimizedFocusEventDispatchEnabled = false(I919fb, b/449228515) - Updates all indirect touch APIs to use the name indirect pointer APIs to match pointer input APIs. (I238ce, b/451607214)
TextDirection,TextAlign,Hyphens,FontSynthesisvalueOffunctions now throwIllegalArgumentExceptionwhen they receive an unknown value. (I07c67)- Update
CompositionDataTree.makeTreeto pass default values instead of wrapper function. (Id64a6, b/445229688) - The test rule APIs
createComposeRule,createAndroidComposeRuleandcreateEmptyComposeRulewhich accept theeffectContextparameter are stable and the parameter defaults toEmptyCoroutineContext. (If400c, b/450540702) UnplacedStateAwareModifierNodewas renamed toUnplacedAwareModifierNode(I6a551, b/449719932)- Undo the Content Capture Optimization (Ic000b, b/442364065)
- Added
ComposeUiFlags.isRectManagerOffsetUsageFromLayoutCoordinatesEnabledfeature flag. It enabled performance optimization where coordinates requests likeLayoutCoordinates.positionInRoot()are using the cached offsets we already have inRectManager, instead of traversing the whole tree on each call. (Ieaadc)
Bug Fixes
PlaceholderSpannow correctly uses non-linear font scaling for sizing (Id2ead, b/324462728)- Use
ViewCompatto perform haptic feedback constants supported at the platform level, relying on its fallback support for newer constants. (Ib5a00)
credentials: v1.6.0-beta03
October 22, 2025
androidx.credentials:credentials:1.6.0-beta03 and androidx.credentials:credentials-play-services-auth:1.6.0-beta03 are released. Version 1.6.0-beta03 contains these commits.
New Features
- Minor internal data serialization changes
DataStore: v1.2.0-beta01
October 22, 2025
androidx.datastore:datastore-*:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.
API Changes
- Make
CorruptionHandlerpublic. (I9ac35, b/452406457) - Use
androidx.core.util.FunctioninGuavaDataStore. (I71eae, b/448563999) - Add an overload for
GuavaDataStore.fromthat takes in an Executor instead of aCoroutineContext. (I989fa, b/448563183)
Bug Fixes
- Fix
java.lang.UnsatisfiedLinkErrorwhen usingDataStorein an app which is optimized with R8, but which is not usinggetDefaultProguardFile('android-proguard-optimize.txt'). (I27d0d, b/434696293) - Fix issue where
GuavaDataStoreoperations could incorrectly run on the calling thread (e.g., the main thread) instead of the specified IO dispatcher. (Ic91ea,b/441801112)
Games-Activity: v4.4.0-alpha01
October 22, 2025
androidx.games:games-activity:4.4.0-alpha01 is released. Version 4.4.0-alpha01 contains these commits.
Bug Fixes
- Improved ANR protection in
native_app_glue. - Migrated from deprecated
ALooper_pollAlltoALooper_pollOnce.
Graphics: v1.1.0
October 22, 2025
androidx.graphics:graphics-*:1.1.0 is released. Version 1.1.0 contains these commits.
Heifwriter: v1.2.0-alpha01
October 22, 2025
androidx.heifwriter:heifwriter:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- A new
EncoderPreferenceclass has been implemented. This enhancement enablesHeifWriterto consider encoder preferences, such as hardware or software encoding and enforcement of Constant Quantization (CQ), during the encoder selection process. If a suitable encoder cannot be found based on the specified preferences, an exception will be raised.
API Changes
- Added
EncoderPreferenceclass. I81efd
ink: v1.0.0-beta01
October 22, 2025
androidx.ink:ink-*:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
Bug Fixes
- Bug fixes in preparation for beta01 release (I9900e)
- Reduce rendering artifacts in strokes due to too many modeled inputs too close to each other.
- Fix a rare crash in input modeling.
Lifecycle: v2.10.0-beta01
October 22, 2025
androidx.lifecycle:lifecycle-*:2.10.0-beta01 is released. Version 2.10.0-beta01 contains these commits.
API Changes
ViewModelStoreNavEntryDecoratorDefaulthas been renamed toViewModelStoreNavEntryDecoratorDefaults, with an 's'. (I6d27b, b/444447434)
Bug Fixes
rememberLifecycleOwnerno longer crashes if the owner receives anLifecycle.Event.ON_DESTROYevent before moving toLifeycle.State.CREATED. (I6f98e, b/444594991)
Media3: v1.9.0-alpha01
October 22, 2025
androidx.media3:media3-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.
- Common Library:
- Update
minSdkto23in line with other AndroidX libraries. - Add
PlayerTransferState, which facilitates transferring the playback state acrossPlayerinstances. - Add
void mute()andvoid unmute()methods to Player that preserve and consequently restore Player's volume before and after setting it to zero. - Publish utility classes
WakeLockManager,WifiLockManager,AudioFocusManager,AudioBecomingNoisyManagerandStuckPlayerDetectorpreviously used byExoPlayerinternally to allow reuse for other players (#1893). - Fix
ForwardingPlayerlistener handling when the underlying delegate player uses reference equality for comparing listener instances (#2675). - Add a
Player.listenTosuspending extension function in themedia3-common-ktxlibrary that specifies the particularPlayer.Eventsthat should be acted upon. - Fix a crash in
BasePlayer.getBufferedPercentageresulting from integer overflow when the reported buffered position is implausibly much larger than the reported duration (#2750).
- Update
- ExoPlayer:
- Add a stuck player detection that triggers a
StuckPlayerExceptionplayer error if the player seems stuck. This happens in the following cases, where each default timeout can be configured inExoPlayer.Builderif required:- After 10 minutes of
STATE_BUFFERINGwhile trying to play and no buffering progress. - After 10 seconds of
STATE_READYwhile trying to play and no playback progress. - After 1 minute of
STATE_READYbeyond the declared duration without reaching the end of the item. - After 10 minutes with a playback suppression reason while trying to play.
- After 10 minutes of
- Enable wake lock handling by default to fix issues with buffering during background playback. This is equivalent to setting
ExoPlayer.Builder.setWakeModetoC.WAKE_MODE_LOCAL. - Add listening logic to automatically update the virtual device ID when a change is reported to the
Contextoriginally passed toExoPlayer.Builder. - Add
ExoPlayer.setVirtualDeviceIdto manually update the virtual device ID obtained from theContextpassed toExoPlayer.Builder. - Ensure renderers don't consume data from the next playlist item more than 10 seconds before the end of the current item.
- Add
setSeekBackIncrementMs,setSeekForwardIncrementMsandsetMaxSeekToPreviousPositionMstoExoPlayerto update these settings after construction (#2736). - Add pre-caching functionality in
DefaultPreloadManager. Apps now can returnDefaultPreloadManager.PreloadStatus.specifiedRangeCached(startPositionMs, durationMs)orDefaultPreloadManager.PreloadStatus.specifiedRangeCached(durationMs)viaTargetPreloadStatusControl.getTargetPreloadStatus(T rankingData)to indicate that a media item needs to be pre-cached. - Use pre-caching functionality of
DefaultPreloadManagerin shortform demo app. - Add
DefaultLoadControl.Buildersetters for local playback and adjust default values ofDefaultLoadControlto work well with a wide range of local files. - Fix bug where setting an empty playlist can leave the player in
STATE_READYorSTATE_BUFFERING. - Enhance the preload manager APIs:
- Add
addMediaItems(List<MediaItem>, List<T>)andaddMediaSources(List<MediaSource>, List<T>)that add the media items or media sources in batch, and automatically callinvalidate()afterwards. - Add
removeMediaItems((List<MediaItem>)andremoveMediaSources(List<MediaSource>)that remove the media items or media sources in batch, and make sure that preload manager does not start to preload or continue preloading any of them after removal. - Allow
DefaultPreloadManager.setCurrentPlayingIndex(int)to invalidate itself automatically. Apps don't need to callinvalidate()explicitly anymore after updating the current playing index.
- Add
- Add capability to skip keyframe reset for forward seeks within the same group of pictures while in scrubbing mode.
- Add
DefaultLoadControl.Builder.setPlayerTargetBufferBytes(String, int)for apps to set a value of target buffer bytes for a player with the specifiedplayerName. TheDefaultLoadControlcan now make decisions of each player separately based on its own allocated bytes and target buffer bytes. - Add
SkipInfoto theAdPlaybackState.AdGroupto carry skip information for each ad in the ad group. - Fix bug where calling
removeMediaItems(List)during playing a post-roll created a crash (#2746). - Fix some stuttering in playlist playback where frames were mistakenly always set as the last sample and rendered.
- Enable retry path if player fails to generate audio session ID (#2382, #2678).
- Add support to control the total buffer bytes for the sources in
DefaultPreloadManagerto avoid total buffer bytes for preloading from growing arbitrarily. To use the default control logic, Apps can set the target buffer bytes for preloading viaDefaultLoadControl.Builder.setPlayerTargetBufferBytes(String, int)for aplayerNameofPlayerId.Preload.name("preload"), and inject the createdDefaultLoadControlviaDefaultPreloadManager.Builder.setLoadControl(LoadControl).
- Add a stuck player detection that triggers a
- CompositionPlayer:
- Publish
CompositionPlayerunder a new@ExperimentalApiannotation to indicate it is available for experimentation, but is still under development. Some APIs are likely to change significantly in future releases, and there are known issues and limitations with some use-cases (some undocumented). - Add support for
COMMAND_SET_AUDIO_ATTRIBUTESand audio focus handling inCompositionPlayer. - Add support for speed changing in secondary sequences in
CompositionPlayer.
- Publish
- Transformer:
- Use
InAppMp4Muxeras default muxer. - Add
EditedMediaItem.Builder#setSpeed()and deprecateEffects#createExperimentalSpeedChangingEffects(). - Replace
forceAudioTrackandforceVideoTrackwithtrackTypesinEditedMediaItemSequence.
- Use
- Track Selection:
- Add
TrackSelectionParameters.selectTextByDefaultto prefer the selection of any text track without specifying other more specific preferences. - Add
preferredVideoLabels,preferredAudioLabelsandpreferredTextLabelsinTrackSelectionParametersto specify a preference for tracks with a specific label, for example those read from HLS NAME tags (#1666).
- Add
- Extractors:
- FLAC: Tighten header detection to reduce the chance of finding spurious headers in the encoded FLAC data, resulting in decoding errors (#558).
- MP3: Allow gaps between (and before) ID3 tags at the beginning of MP3 files (#811, #5718).
- MP4: Disambiguate between
audio/mpeg(MP3),audio/mpeg-L1andaudio/mpeg-L2MIME types by peeking the layer value of the first sample before emitting a track format from the extractor (#2683). - MP4: Improve sniffing efficiency of very large files by assuming a
stblbox larger than 1MB implies the file must be non-fragmented (#2650). - Matroska: Add support for DTS-HD detection (#6225).
- Fix an issue in
MatroskaExtractorwhere seeking could be inaccurate for files with multiple tracks. Cue points are now correctly associated with their respective tracks, leading to more precise seeking. - MP4: Add support for
©mvn(movement name) and©mvi(movement index) metadata, these are now emitted asTextInformationFrameobjects inFormat.metadatawith IDs ofMVNMandMVINrespectively (#2754). - MPEG-TS: Fix
IllegalArgumentExceptionfromReorderingBufferQueuecaused by PES packets with no timestamp (#2764). - MP4: Ignore tracks with missing
stsdbox (instead of failing to parse the whole file). - Add support for extracting HEIC Motion Photos. The
HeifExtractorcan now parse HEIC files containing embedded video and audio tracks. - MP3: Change
FLAG_ENABLE_INDEX_SEEKINGto prefer seeking information from metadata headers (like Xing and VBRI) when available, falling back to index-based seeking if no other seeking information is present. This improves performance for files with seeking metadata (#2839).
- Inspector:
- Introduced a new
:media3-inspectormodule to serve as the dedicated home for media inspection utilities. This module now houses a newandroidx.media3.inspector.MetadataRetriever, which will provide a unified API for both metadata and frame extraction. The existingandroidx.media3.exoplayer.MetadataRetrieveris now deprecated in favor of this new version. - Introduced
androidx.media3.inspector.FrameExtractor, a new public API for frame extraction. ThisAutoCloseableclass provides a way to extract frames with support for HDR video, video effects, and custom decoder selection. It should be created via itsBuilderfor a specificMediaItem. - FrameExtractor: Add
getThumbnail()to extract a representative thumbnail frame from a media file without requiring a specific timestamp.
- Introduced a new
- Audio:
- Make
AudioProcessorinstances aware of seeking. - Allow injecting the new
AudioOutputProviderinterface intoDefaultAudioSink.Builderto support custom audio output paths. The default isAudioTrackAudioOutputProvider. - Handle seeks in
GainProcessor. - Utilize AC-4 decoder profile and level capabilities in track format support assessment (#2580).
- Avoid potential delays caused by handling routing change callbacks at the beginning of playback (#2646).
- Allow codec reuse for EAC3, EAC3-JOC and AC-4 formats (#1346).
- Add support for float PCM samples in
Sonic. - Add support for 16 bit PCM samples in
ToFloatPcmAudioProcessor.
- Make
- Video:
- Disable codec reuse for Dolby-Vision content with different profiles.
- Text:
- Fix parsing of CEA-6/708 subtitles in Dolby Vision content (#2775).
- Image:
- Fix ScrubbingMode issue where player gets stuck while scrubbing a DASH thumbnail track (#2815).
- DRM:
- Change the return type of
MediaDrmCallbackmethods frombyte[]to a newMediaDrmCallback.Responsetype, to allow returning extra optional information. This is a source breaking change, but breakages can be easily resolved by wrapping the previousbyte[]return value withnew Responsebefore returning. - Add key request info like URL and latency to
AnalyticsListener.onDrmKeysLoaded(#1001). - Move provisioning request data from a URL parameter to the POST body.
- Change the return type of
- Muxers:
- Add
MediaMuxerCompat, a drop-in replacement for frameworkMediaMuxer. - Add
MuxerUtil.createMotionPhotoFromJpegImageAndBmffVideo()to allow Motion Photo creation. - Add
WebmMuxerto allow muxing ofOPUS,VORBIS,VP8andVP9media streams into awebmfile format.
- Add
- IMA extension:
- Removal of custom proguard rules, so that apps can use those released in IMA android archive instead.
- Add
ImaServerSideAdInsertionUriBuilder.setNetworkCode, a new API for setting the Google Ad Manager network code for the IMA SDK to handle ads identifiers as specified in Google Ad Manager settings. Network codes are optional but recommended for Full service stream requests. To find the network code, see this article. - Bump IMA dependency to 3.37.0 which requires enabling core library desugaring. This must also be enabled by dependent apps too. See IMA's config notes.
- Support IMA DAI custom UI options in SSAI URI builder. Custom UI options for server side ad insertion include "Skippable" and "About This Ad" rendering support. The feature is currently available for selected publishers behind an allow list. This change also upgrades the IMA SDK version to 3.38.0 (release notes) to access the custom UI options API.
- Session:
- Add new parameter to
MediaSession.Callback.onPlaybackResumptionto indicate if the call happens to gather information only or to start playback (#1764). - Update
MediaSession.ControllerInfo.isTrustedto also declare controllers from the own app as trusted (#2542). - Add
MediaSessionService.triggerNotificationUpdateto manually trigger a notification update (#1833). - Add
ProgressListenerto custom command methods. - Change the default value for
MediaLibrarySession.Builder.setLibraryErrorReplicationModeto non fatal. - Add a
Contextparameter toMediaButtonReceiver.onForegroundServiceStartNotAllowedException(#2625). - Read the volume control ID from the platform
PlaybackInfoinstead of fetching it via binder. This ensures that playback type and volume control ID are read atomically and do match to each other. - Fix bug where
ACTION_UPkey events were filtered out before passing them to the callback for custom handling. This brings parity with what media1 did and the platform does (#2637). - Fix bug where
getCurrentTimeline()was called byPlayerWrappereven when the command isn't available (#2665). - Fix bug where a message was left in the message queue of the main looper which caused a memory leak after the service terminated (#2692).
- When connected to a legacy session app with a
MediaBrowser, custom commands are sent to the session only if the custom action is advertised as a custom action inPlaybackStateCompatof the legacy session. All other custom actions are sent to the service. - Implemented
onAudioSessionIdChangedto notify media controllers when an audio session ID is set by the session (#244). - Fix bug where
KEYCODE_HEADSETHOOKdid not start the player upon and media key eventIntentarriving inonStartCommand(). This is fixed by handling 'KEYCODE_HEADSETHOOK' just likeKEYCODE_MEDIA_PLAY_PAUSE(#2816). - Fix a bug where Surface size was not communicated between the session and the controller, resulting in the failure to apply video effects in demo-session. If you are using a controller, this might be a breaking change if your player cannot handle a
setVideoSurfaceHoldercall. - Fix propagation of non-
StringCharSequencemetadata values like span-styled strings (#2853).
- Add new parameter to
- UI:
- Add
ProgressStateWithTickIntervalclass and the correspondingrememberProgressStateWithTickIntervalComposable tomedia3-ui-composemodule. This state holder is used indemo-composeto display the current position and duration in text form. - Add
MuteButtonStatetoui-composethat handles muting of thePlayervolume. This state holder is used indemo-composeto display mute/unmute toggle button. - Add
ProgressStateWithTickCountclasses and the correspondingrememberProgressStateWithTickCountComposable tomedia3-ui-composemodule. This state holder is used indemo-composeto display progress as a horizontal read-only progress bar. - Add
ContentFrameComposable tomedia3-ui-composewhich combinesPlayerSurfacemanagement with aspect ratio resizing and covering with a shutter. - Work around a known API 34 platform bug causing stretched/cropped videos when using
SurfaceViewinside a ComposeAndroidViewand hence affectingContentFrameandPlayerSurfaceComposables withSURFACE_TYPE_SURFACE_VIEW(#1237, #2811). - Create a new
media3-ui-compose-material3module and add Material3-themed Composables (PlayPauseButton, NextButton, PreviousButton, SeekBackButton, SeekForwardButton, RepeatButton, ShuffleButton, MuteButton) to it. - Add support for placing a media route button in the
PlayerView.
- Add
- HLS extension:
- Parse HLS interstitial skip attributes.
- Map skip control attributes from the HLS playlist and the asset list document into the
AdPlaybackStatefor public access. - Fix bug where the start time of the playlist was dropped when the EXT-X-PROGRAM-START-DATE tag defining the start time was removed from a playlist (#2760).
- Use binary search to find the segment index of a given position in the playlist (#2826.
- DASH extension:
- Fix
UnsupportedOperationExceptionwhen playing DASH streams with a non-hierarchicaldata:URI manifest (#2688). - Reset
LiveConfigurationto the value provided by theMediaItemof theDashMediaSourcewhen released and when the media item is updated by the user (#2606). - Avoid crashes caused by invalid manifest updates that were not reported as player errors (#2805).
- Fix
- RTSP extension:
- Handle error of missing RTP packets when processing fragmented NAL units for H264 and H265 (#2613).
- Decoder extensions (FFmpeg, VP9, AV1, etc.):
- AV1 Extension: The AV1 software decoder now uses the high-performance
dav1dlibrary, replacing the previouslibgav1implementation for improved decoding speed.
- AV1 Extension: The AV1 software decoder now uses the high-performance
- Cast extension:
- Add
CastPlayer.Builder, which enablesCastPlayerto do both local and Cast playback. To keep the oldCastPlayerbehavior of supporting only Cast playback, you can useRemoteCastPlayer. The pre-existingCastPlayerconstructors keep their old behavior, but are deprecated in favour of using theCastPlayerorRemoteCastPlayerbuilders instead. - Stop enforcing a non-null mime type in
DefaultMediaItemConverter. - Use
MediaItem.mediaMetadata.mediaTypeto infer the Cast MEDIA_TYPE to use inDefaultCastOptionsProvider#toMediaQueueItem, when available. - Enable remote to local transfers in
DefaultCastOptionsProvider. - Add support for Cast in the Session demo.
- Add support for displaying a media route button on a Composable UI.
- Add support for displaying a media route button on an action bar menu.
- Add support for displaying a media route button as a View UI.
- Add
- Test Utilities:
- Add maximum time diff for the auto-advancing behavior of
FakeClock. It defaults to 1 second, but is configurable viaFakeClock.Builder. - Add maximum time diff between messages for
RobolectricUtil.runMainLooperUntil(andrunLooperUntil). It defaults to 1 second, but is configurable via new overloads of these methods. - Move
CapturingRenderersFactoryfromtest-utilstotest-utils-robolectric.
- Add maximum time diff for the auto-advancing behavior of
- Remove deprecated symbols:
- Remove deprecated
DefaultPreloadManagerconstructor. UseDefaultPreloadManager.Builderinstead. - Removed deprecated
EditedMediaItemSequenceconstructors. UseEditedMediaItemSequence.Builderinstead.
- Remove deprecated
navigation3: v1.0.0-beta01
October 22, 2025
androidx.navigation3:navigation3-*:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
API Changes
SceneStrategyScopenow only has a no argument public constructor, suitable for testing yourSceneStrategyand the returnedScenein isolation. For more complex use cases, please userememberSceneState(). (I8440c, b/451679047)
Bug Fixes
- Fixed infinite loop when chaining
SceneStrategywiththen. (Iba3f0, b/450323470) - Fixed screen flicker when swapping the
backStackpassed toNavDisplayand using animations. (Ief7b5, b/450967248)
pdf: v1.0.0-alpha11
October 22, 2025
androidx.pdf:pdf-*:1.0.0-alpha11 is released. Version 1.0.0-alpha11 contains these commits.
New Features
- Enabling Smart Menu Items on pdf content selection.
- Enabling hyperlink selection and GoTo link selection in pdf.
- Exposing selection menu api
fromPdfViewandPdfViewerComposable, which allows developers to add selection menu items. - Adding page alignment api in PdfView and PdfViewer Composable which allows developers to choose the page alignment when the content height < viewport height.
API Changes
- Made
contentDescnullable and removed default value. (I86f8c, b/441973880) - Expose
PdfSelectionMenuKeysfor Link Selection Menu Items (Ic9b05, b/447079082) - Add
PageAlignmentAPI toPdfViewandPdfViewerinto androidx-main - Change angle-related API to use degrees and include unit in names, be clear about units in Angle conversion utilities and support both degrees and radians, change
StockBrushesAPI to take stock brush version as a factory function parameter and expose self-overlap behavior control for highlighter brushes, renameMutableAffineTransform.populateFromTranslatetopopulateFromTranslation, removeInProgressStrokesView.setRenderFactory/getRenderFactory. (Id9eab, b/436656418) - Add
PageAlignmentAPI toPdfViewandPdfViewer(I9c9a5, b/438065228) - Expose Selection Menu API from
PdfViewerComposable (Id9b0f, b/407663999) - Make
PdfViewaViewGroup. No support for arbitrary children. (Ib51d8, b/410008792) - Expose
HyperLinkSelectionandGoToLinkSelectionfromPdfView(I378c4, b/441280002) - Refactor
PdfPageContentto support generic selections (I28f16, b/437845185) - Expose Selection Menu API from
PdfView(Idd547, b/407663737) - Move selection-related classes to a dedicated package (I953cb, b/436157691)
- Introduce experimental
onPdfViewCreatedfor PdfView access inPdfViewerFragment. (I86715, b/422620454) - Adds
FileDescriptorAPI toPdfLoader(I60b8d)
Bug Fixes
- Improve input modeling to make strokes more accurately reflect input (I93097)
External Contribution
- Expose
PdfSelectionMenuKeysfor Link Selection Menu Items - Expose Selection Menu API from
PdfViewerComposable - Expose Selection Menu API from
PdfView
Room: v2.8.3
October 22, 2025
androidx.room:room-*:2.8.3 is released. Version 2.8.3 contains these commits.
Bug Fixes
- Fix a performance issue with the Room SQLite Wrapper that was causing excessive JNI calls and significant performance degradation when iterating over a Cursor.
Savedstate: v1.4.0-rc01
October 22, 2025
androidx.savedstate:savedstate-*:1.4.0-rc01 is released with no changes since 1.4.0-beta01. Version 1.4.0-rc01 contains these commits.
Wear Compose: v1.6.0-alpha04
October 22, 2025
androidx.wear.compose:compose-*:1.6.0-alpha04 is released. Version 1.6.0-alpha04 contains these commits.
API Changes
- Implement
reverseLayoutforTransformingLazyColumn(I19f9e, b/352513793) - Added
ConfirmationDialogDefaults.VariantFailureIconfor use inFailureConfirmationDialog. This new generic error icon may be preferred in some cases, compared toConfirmationDialogDefaults.FailureIconwhich shows a broken connection to the phone. (Ifc851, b/443115305)
Bug Fixes
- Improved performance of Picker by refactoring the use of
LaunchedEffect. (I94519, b/418192973) - Fixed a bug in
SwipeDismissableNavHoston API36+, where pressing the back button during predictive back animation interrupted and restarted the animation. The implementation now usesSeakableTransitionState.animateToinstead of Animatable, which has a slight performance benefit. (I2241f, b/428156670) - Fixed a bug for accessibility announcement ordering in
AlertDialog, where the confirm button was announced as 'Button. Confirm' rather than the standard 'Confirm. Button'. (Ic2381, b/429378202) - Improve
TimePickernumber visibility on small screens. (I68386, b/447625365) - Removed Lazy Layout fork from Wear Compose Foundation - this means that
TransformingLazyColumnnow uses the Compose Foundation Lazy Layout implementation, including prefetching, and benefits from a performance improvement on frame timings in most cases. (Idd743, b/445911630)
Wear Compose: v1.5.4
October 22, 2025
androidx.wear.compose:compose-*:1.5.4 is released. Version 1.5.4 contains these commits.
Bug Fixes
- Improved performance of Picker by refactoring the use of
LaunchedEffect. (I94519, b/418192973) - Fixed a bug in
SwipeDismissableNavHoston API36+, where pressing the back button during predictive back animation interrupted and restarted the animation. The implementation now usesSeakableTransitionState.animateToinstead of Animatable, which has a slight performance benefit. (I2241f, b/428156670) - Fixed a bug for accessibility announcement ordering in
AlertDialog, where the confirm button was announced as 'Button. Confirm' rather than the standard 'Confirm. Button'. (Ic2381, b/429378202)
wear protolayout: v1.4.0-alpha02
October 22, 2025
androidx.wear.protolayout:protolayout-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
New Features
- Added new Platform event source (
isInAmbientMode) describing whether the device is in ambient mode or not (Ief832)
API Changes
- The
PendingIntentclickablenow accepts a fallback action (LoadAction/LaunchAction) to be used whenPendingIntentis not supported by theProtoLayoutRenderer. Fallback action will automatically be picked up and placed in the layout when the version of the Renderer is lower than the one supportingPendingIntent. (I6eee2, b/450259727) protoLayoutScopefield withinMaterialScopeis now madeNonNullfor easier usage whenMaterialScopeis created viamaterialScopeWithResources. In addition, there is ahasProtoLayoutScopefunction to check for the presence of it. (I1858f, b/450067019)
Wear Tiles: v1.6.0-alpha02
October 22, 2025
androidx.wear.tiles:tiles-*:1.6.0-alpha02 is released. Version 1.6.0-alpha02 contains these commits.
New Features
- Tile Previews is now updated to support automatic resource handling via
ProtoLayoutScope. If using image resources directly in the layout viamaterialScopeWithScopeorProtoLayoutScopedirectly, there is no longer need to specifyonTileResourcesRequestand resources specifically in theTilePreviewData, they will be collected automatically. (I58516)
Bug Fixes
ProtoLayoutScopecreated internally by theTileServicenow includes the ProtoLayout Renderer’sVersionInfo. (I6eee2, b/450259727)
WorkManager: v2.11.0
October 22, 2025
androidx.work:work-*:2.11.0 is released. Version 2.11.0 contains these commits.
Important changes since 2.10.0:
- The
minSdkhas been updated from API 21 to API 23. - The API
setRemoteSessionTimeoutMillisinWorkManager’s Configuration builder has been added to enable configuring the amount of time aRemoteWorkManagersession is alive from its last usage.
ARCore for Jetpack XR: v1.0.0-alpha07
October 22, 2025
androidx.xr.arcore:arcore-*:1.0.0-alpha07 is released. Version 1.0.0-alpha07 contains these commits.
Bug Fixes
:xr:arcore:arcore-openxradded as an implementation dependency to:xr:arcore:arcore(I47315, b/446999229)
Jetpack Compose for XR: v1.0.0-alpha08
October 22, 2025
androidx.xr.compose:compose:1.0.0-alpha08 and androidx.xr.compose:compose-testing:1.0.0-alpha08 are released. Version 1.0.0-alpha08 contains these commits.
API Changes
- Changed
ResizePolicyto acceptonResizeStart,onResizeUpdate, andonResizeEnd. (I7e21f)
Bug Fixes
- Prevent crash when destroying an Activity with a Subspace. (I595a1)
Material Design for XR: v1.0.0-alpha12
October 22, 2025
androidx.xr.compose.material3:material3:1.0.0-alpha12 is released. Version 1.0.0-alpha12 contains these commits.
New Features
- Added
SpaceModeToggleButtonfor switching betweenHomeSpaceandFullSpace(Ic6865)
Bug Fixes
- Improve XR Toolbars (Ied1f5)
xr projected: v1.0.0-alpha01
October 22, 2025
androidx.xr.projected:projected:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
- Adds Projected XR library (Ieedea7)
XR Runtime: v1.0.0-alpha07
October 22, 2025
androidx.xr.runtime:runtime-*:1.0.0-alpha07 is released. Version 1.0.0-alpha07 contains these commits.
API Changes
- Remove
SessionConfigureConfigureNotSupportedand replace it withUnsupportedOperationException. (I7680f)
Jetpack SceneCore: v1.0.0-alpha08
October 22, 2025
androidx.xr.scenecore:scenecore-*:1.0.0-alpha08 is released. Version 1.0.0-alpha08 contains these commits.
API Changes
- Renamed
ActivityPanelEntity.moveActivitytotransferActivity(I273c5, b/430332856)
Bug Fixes
:xr:scenecore:scenecore-spatial-renderingand:xr:scenecore:scenecore-spatial-coreadded as implementation dependency of:xr:scenecore:scenecore(I6ab65, b/447000520)- Exception is thrown if
session.sceneis accessed after session destruction. (I77e6f)