Skip to content

Releases: mahozad/androidx-release-notes

2023-06-28

29 Jun 02:11

Choose a tag to compare

Compose Animation: v1.5.0-beta03

June 28, 2023

androidx.compose.animation:animation-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.

Compose Compiler: v1.4.8

June 28, 2023

androidx.compose.compiler:compiler:1.4.8, androidx.compose.compiler:compiler-daemon:1.4.8, and androidx.compose.compiler:compiler-hosted:1.4.8 are released. Version 1.4.8 contains these commits.

New Features

  • Target Kotlin compiler version is bumped to 1.8.22.

Bug Fixes

  • Improved error message for @Composable overrides. Now it correctly points out annotation mismatch.
  • Warn about redundant @Composable annotation on inline lambdas that should not be marked as composable. This feature will not be supported with K2 compiler.

Compose Foundation: v1.5.0-beta03

June 28, 2023

androidx.compose.foundation:foundation-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.

Compose Material: v1.5.0-beta03

June 28, 2023

androidx.compose.material:material-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.

Bug Fixes

  • BottomSheetState, ModalBottomSheetState and BottomDrawerState now expose a progress property indicating the progress between the current (settled) anchor and the closest anchor in the swipe direction. (I1b317, b/271169225, b/276375124, b/276776071, b/270066861)

Compose Runtime: v1.5.0-beta03

June 28, 2023

androidx.compose.runtime:runtime-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.

Bug Fixes

Compose UI: v1.5.0-beta03

June 28, 2023

androidx.compose.ui:ui-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.

Bug Fixes

  • Added FocusTargetModifierNode interface that can be used to create a custom FocusTarget. (Ifb1d6)
  • Fixed an issue with Dialog and Popup composables that could result in the child window not resizing as expected when usePlatformDefaultWidth=true. (I112ee)

Navigation: v2.7.0-beta02

June 28, 2023

androidx.navigation:navigation-*:2.7.0-beta02 is released. Version 2.7.0-beta02 contains these commits.

Bug Fixes

  • Navigation Compose now has the right z-order for custom transitions that use navigate with the popUpTo option.(/Ib1c3a, b/285153947)

2023-06-27

28 Jun 18:40

Choose a tag to compare

Runner 1.6.0: runner 1.6.0-alpha03

June 27, 2023

androidx.test:runner:1.6.0-alpha03 is released.

Bug fixes

  • Attempt to avoid outputting a test result summary which exceeds binder transaction limit.

2023-06-23

24 Jun 03:44

Choose a tag to compare

Activity: v1.8.0-alpha06

June 21, 2023

androidx.activity:activity:1.8.0-alpha06, androidx.activity:activity-compose:1.8.0-alpha06, and androidx.activity:activity-ktx:1.8.0-alpha06 are released. Version 1.8.0-alpha06 contains these commits.

New Features

  • The OnBackPressedDispatcher now correctly cancels any callbacks that are removed during a Predictive Back Gesture. (I3f90f)

Annotation-Experimental: v1.3.1

June 21, 2023

androidx.annotation:annotation-experimental:1.3.1 is released. Version 1.3.1 contains these commits.

Bug Fixes

  • Place annotation at the beginning of the modifier list when applying lint auto-fix. (b/251172715)
  • Use lint check to discourage use of androidx.annotation.RequiresOptIn in Kotlin sources (b/241097743)

Benchmark: v1.2.0-alpha16

June 21, 2023

androidx.benchmark:benchmark-*:1.2.0-alpha16 is released. Version 1.2.0-alpha16 contains these commits.

API Changes

  • BaselineProfileRule.collectBaselineProfile() API has been renamed to BaselineProfileRule.collect(). (I4b665)

Bug Fixes

  • Macrobenchmark support for androidx.benchmark.profiling.mode = MethodTracing. (I7ad37, b/285912360)
  • Microbenchmark profiling moved to a separate phase, so it occurs in sequence after measurement, instead of replacing it. MethodTracing trace sections are also now included in the captured Perfetto trace, if present. (I9f657, b/285014599)
  • Add count measurement to TraceSectionMetric with Mode.Sum. (Ic121a, b/264398606)

Browser: v1.6.0-beta01

June 21, 2023

androidx.browser:browser:1.6.0-beta01 is released with no changes since 1.6.0-alpha02. Version 1.6.0-beta01 contains these commits.

CameraX: v1.3.0-beta01

June 21, 2023

androidx.camera:camera-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

API Changes

  • Renamed the ResolutionSelector.Builder#setHighResolutionEnabledFlag(int) function name to setAllowedResolutionMode and renamed the ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ON constants to PREFER_CAPTURE_RATE_OVER_HIGHER_RESOLUTION/PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE. (If84e8)
  • Removed deprecated API ImageAnalysis.setTargetRotationDegrees(int), ImageCapture.setTargetRotationDegrees(int) and VideoCapture.setTargetRotationDegrees(int). (Id8e77)
  • The DynamicRange class respresent the dynamic range of images. This can be used to select High Dynamic Range formats as the output of VideoCapture through VideoCapture.Builder#setDynamicRange(). (Ib0377)
  • Added an isImageAnalysisSupported API to the ExtensionsManager which apps can determine if an ImageAnalysis use case can be bound along with Preview and ImageCapture when Extensions are enabled. (I1bc63)
  • The new VideoCapabilities class obtained from the Recorder can be used to query supported dynamic ranges and qualities for video recording on the device. QualitySelector's getSupportedQualities() and isQualitySupported() methods are being deprecated. Please use VideoCapabilities's getSupportedQualities() and isQualitySupported() methods instead. (I04014)
  • CameraController#setVideoCaptureTargetQuality() is renamed to setVideoCaptureQualitySelector and takes argument QualitySelector, which provides more flexibility for video quality setup. CameraController#getVideoCaptureTargetQuality() is changed to getVideoCaptureQualitySelector accordingly. (I520ed)
  • Removed the experimental annotation for video features. The video features are now stable. (I1a113)

Bug Fixes

  • Use torch as flash on Samsung SM-A320 models to improve the speed and the captured image quality in low light. (I6a022, b/286190938)
  • Add ImageFormat.JPEG format support for ImageProxy.toBitmap(). If the JPEG byte array cannot be decoded, an UnsupportedOperationException will be thrown. (I81958, b/282057603)

Compose Animation: v1.6.0-alpha01

June 21, 2023

androidx.compose.animation:animation-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.

New Features

  • Enable Modifier.animateContentSize and AnimatedVisibility to be fully integrated into the lookahead system by reporting the target size in the lookahead pass.

API Changes

  • New property in IntrinsincMeasureScope and its implementations (e.g. MeasureScope) to indicate whether the current measure pass is a lookahead pass. (I7a812)

Bug Fixes

  • Removed allocations from spring animations. (
Read more

2023-06-22

22 Jun 18:36

Choose a tag to compare

Activity: v1.8.0-alpha06

June 21, 2023

androidx.activity:activity:1.8.0-alpha06, androidx.activity:activity-compose:1.8.0-alpha06, and androidx.activity:activity-ktx:1.8.0-alpha06 are released. Version 1.8.0-alpha06 contains these commits.

New Features

  • The OnBackPressedDispatcher now correctly cancels any callbacks that are removed during a Predictive Back Gesture. (I3f90f)

Annotation-Experimental: v1.3.1

June 21, 2023

androidx.annotation:annotation-experimental:1.3.1 is released. Version 1.3.1 contains these commits.

Bug Fixes

  • Place annotation at the beginning of the modifier list when applying lint auto-fix. (b/251172715)
  • Use lint check to discourage use of androidx.annotation.RequiresOptIn in Kotlin sources (b/241097743)

Benchmark: v1.2.0-alpha16

June 21, 2023

androidx.benchmark:benchmark-*:1.2.0-alpha16 is released. Version 1.2.0-alpha16 contains these commits.

API Changes

  • BaselineProfileRule.collectBaselineProfile() API has been renamed to BaselineProfileRule.collect(). (I4b665)

Bug Fixes

  • Macrobenchmark support for androidx.benchmark.profiling.mode = MethodTracing. (I7ad37, b/285912360)
  • Microbenchmark profiling moved to a separate phase, so it occurs in sequence after measurement, instead of replacing it. MethodTracing trace sections are also now included in the captured Perfetto trace, if present. (I9f657, b/285014599)
  • Add count measurement to TraceSectionMetric with Mode.Sum. (Ic121a, b/264398606)

Browser: v1.6.0-beta01

June 21, 2023

androidx.browser:browser:1.6.0-beta01 is released with no changes since 1.6.0-alpha02. Version 1.6.0-beta01 contains these commits.

CameraX: v1.3.0-beta01

June 21, 2023

androidx.camera:camera-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

API Changes

  • Renamed the ResolutionSelector.Builder#setHighResolutionEnabledFlag(int) function name to setAllowedResolutionMode and renamed the ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ON constants to PREFER_CAPTURE_RATE_OVER_HIGHER_RESOLUTION/PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE. (If84e8)
  • Removed deprecated API ImageAnalysis.setTargetRotationDegrees(int), ImageCapture.setTargetRotationDegrees(int) and VideoCapture.setTargetRotationDegrees(int). (Id8e77)
  • The DynamicRange class respresent the dynamic range of images. This can be used to select High Dynamic Range formats as the output of VideoCapture through VideoCapture.Builder#setDynamicRange(). (Ib0377)
  • Added an isImageAnalysisSupported API to the ExtensionsManager which apps can determine if an ImageAnalysis use case can be bound along with Preview and ImageCapture when Extensions are enabled. (I1bc63)
  • The new VideoCapabilities class obtained from the Recorder can be used to query supported dynamic ranges and qualities for video recording on the device. QualitySelector's getSupportedQualities() and isQualitySupported() methods are being deprecated. Please use VideoCapabilities's getSupportedQualities() and isQualitySupported() methods instead. (I04014)
  • CameraController#setVideoCaptureTargetQuality() is renamed to setVideoCaptureQualitySelector and takes argument QualitySelector, which provides more flexibility for video quality setup. CameraController#getVideoCaptureTargetQuality() is changed to getVideoCaptureQualitySelector accordingly. (I520ed)
  • Removed the experimental annotation for video features. The video features are now stable. (I1a113)

Bug Fixes

  • Use torch as flash on Samsung SM-A320 models to improve the speed and the captured image quality in low light. (I6a022, b/286190938)
  • Add ImageFormat.JPEG format support for ImageProxy.toBitmap(). If the JPEG byte array cannot be decoded, an UnsupportedOperationException will be thrown. (I81958, b/282057603)

Compose Animation: v1.6.0-alpha01

June 21, 2023

androidx.compose.animation:animation-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.

New Features

  • Enable Modifier.animateContentSize and AnimatedVisibility to be fully integrated into the lookahead system by reporting the target size in the lookahead pass.

API Changes

  • New property in IntrinsincMeasureScope and its implementations (e.g. MeasureScope) to indicate whether the current measure pass is a lookahead pass. (I7a812)

Bug Fixes

  • Removed allocations from spring animations. (
Read more

2023-06-21

21 Jun 18:36

Choose a tag to compare

Activity: v1.8.0-alpha06

June 21, 2023

androidx.activity:activity:1.8.0-alpha06, androidx.activity:activity-compose:1.8.0-alpha06, and androidx.activity:activity-ktx:1.8.0-alpha06 are released. Version 1.8.0-alpha06 contains these commits.

New Features

  • The OnBackPressedDispatcher now correctly cancels any callbacks that are removed during a Predictive Back Gesture. (I3f90f)

Annotation-Experimental: v1.3.1

June 21, 2023

androidx.annotation:annotation-experimental:1.3.1 is released. Version 1.3.1 contains these commits.

Bug Fixes

  • Place annotation at the beginning of the modifier list when applying lint auto-fix. (b/251172715)
  • Use lint check to discourage use of androidx.annotation.RequiresOptIn in Kotlin sources (b/241097743)

Benchmark: v1.2.0-alpha16

June 21, 2023

androidx.benchmark:benchmark-*:1.2.0-alpha16 is released. Version 1.2.0-alpha16 contains these commits.

API Changes

  • BaselineProfileRule.collectBaselineProfile() API has been renamed to BaselineProfileRule.collect(). (I4b665)

Bug Fixes

  • Macrobenchmark support for androidx.benchmark.profiling.mode = MethodTracing. (I7ad37, b/285912360)
  • Microbenchmark profiling moved to a separate phase, so it occurs in sequence after measurement, instead of replacing it. MethodTracing trace sections are also now included in the captured Perfetto trace, if present. (I9f657, b/285014599)
  • Add count measurement to TraceSectionMetric with Mode.Sum. (Ic121a, b/264398606)

Browser: v1.6.0-beta01

June 21, 2023

androidx.browser:browser:1.6.0-beta01 is released with no changes since 1.6.0-alpha02. Version 1.6.0-beta01 contains these commits.

CameraX: v1.3.0-beta01

June 21, 2023

androidx.camera:camera-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

API Changes

  • Renamed the ResolutionSelector.Builder#setHighResolutionEnabledFlag(int) function name to setAllowedResolutionMode and renamed the ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ON constants to PREFER_CAPTURE_RATE_OVER_HIGHER_RESOLUTION/PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE. (If84e8)
  • Removed deprecated API ImageAnalysis.setTargetRotationDegrees(int), ImageCapture.setTargetRotationDegrees(int) and VideoCapture.setTargetRotationDegrees(int). (Id8e77)
  • The DynamicRange class respresent the dynamic range of images. This can be used to select High Dynamic Range formats as the output of VideoCapture through VideoCapture.Builder#setDynamicRange(). (Ib0377)
  • Added an isImageAnalysisSupported API to the ExtensionsManager which apps can determine if an ImageAnalysis use case can be bound along with Preview and ImageCapture when Extensions are enabled. (I1bc63)
  • The new VideoCapabilities class obtained from the Recorder can be used to query supported dynamic ranges and qualities for video recording on the device. QualitySelector's getSupportedQualities() and isQualitySupported() methods are being deprecated. Please use VideoCapabilities's getSupportedQualities() and isQualitySupported() methods instead. (I04014)
  • CameraController#setVideoCaptureTargetQuality() is renamed to setVideoCaptureQualitySelector and takes argument QualitySelector, which provides more flexibility for video quality setup. CameraController#getVideoCaptureTargetQuality() is changed to getVideoCaptureQualitySelector accordingly. (I520ed)
  • Removed the experimental annotation for video features. The video features are now stable. (I1a113)

Bug Fixes

  • Use torch as flash on Samsung SM-A320 models to improve the speed and the captured image quality in low light. (I6a022, b/286190938)
  • Add ImageFormat.JPEG format support for ImageProxy.toBitmap(). If the JPEG byte array cannot be decoded, an UnsupportedOperationException will be thrown. (I81958, b/282057603)

Compose Animation: v1.6.0-alpha01

June 21, 2023

androidx.compose.animation:animation-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.

New Features

  • Enable Modifier.animateContentSize and AnimatedVisibility to be fully integrated into the lookahead system by reporting the target size in the lookahead pass.

API Changes

  • New property in IntrinsincMeasureScope and its implementations (e.g. MeasureScope) to indicate whether the current measure pass is a lookahead pass. (I7a812)

Bug Fixes

  • Removed allocations from spring animations. (
Read more

2023-06-12

21 Jun 09:36

Choose a tag to compare

Media3: v1.1.0-rc01

June 21, 2023

androidx.media3:media3-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.

  • ExoPlayer:
    • Add support for including Common Media Client Data (CMCD) in the outgoing requests of adaptive streaming formats DASH, HLS, and SmoothStreaming. The following fields, br, bl, cid, rtp, and sid, have been incorporated (#8699). API structure and API methods:
      • CMCD logging is disabled by default, use MediaSource.Factory.setCmcdConfigurationFactory(CmcdConfiguration.Factory cmcdConfigurationFactory) to enable it.
      • All keys are enabled by default, override CmcdConfiguration.RequestConfig.isKeyAllowed(String key) to filter out which keys are logged.
      • Override CmcdConfiguration.RequestConfig.getCustomData() to enable custom key logging.
    • Add additional action to manifest of main demo to make it easier to start the demo app with a custom *.exolist.json file (#439).
  • Extractors:
    • FMP4: Fix issue where TimestampAdjuster initializes a wrong timestamp offset with metadata sample time from emsg atom (#356).
  • Session:
    • Add default implementation to MediaSession.Callback.onAddMediaItems to allow requested MediaItems to be passed onto Player if they have LocalConfiguration (e.g. URI) (#282).
    • Add "seek to previous" and "seek to next" command buttons on compact media notification view by default for Android 12 and below (#410).
  • DASH Extension:
    • Fix a bug where re-preparing a multi-period live Dash media source produced a IndexOutOfBoundsException (#10838).
  • HLS Extension:
    • Add HlsMediaSource.Factory.setTimestampAdjusterInitializationTimeoutMs(long) to set a timeout for the loading thread to wait for the TimestampAdjuster to initialize. If the initialization doesn't complete before the timeout, a PlaybackException is thrown to avoid the playback endless stalling. The timeout is set to zero by default (#323).
  • Remove deprecated symbols:
    • Remove deprecated MediaItem.PlaybackProperties, use MediaItem.LocalConfiguration instead. Deprecated field MediaItem.playbackProperties is now of type MediaItem.LocalConfiguration.

2023-06-07

07 Jun 18:37

Choose a tag to compare

Activity: v1.8.0-alpha05

June 7, 2023

androidx.activity:activity:1.8.0-alpha05, androidx.activity:activity-compose:1.8.0-alpha05, and androidx.activity:activity-ktx:1.8.0-alpha05 are released. This version is developed in an internal branch.

Note: This version will only compile against the Android 14 (Upside Down Cake) Beta 1 SDK or higher.

API Changes

  • Activity now provides a BackEventCompat class that serves as a backward compatible version of BackEvent that is decoupled from the framework BackEvent class.
  • Breaking change: The handleOnBackStarted and handleOnBackProgressed methods of OnBackPressedCallback now receive an androidx.activity.BackEventCompat instance rather than a framework android.window.BackEvent class. The equivalent @VisibleForTesting APIs on OnBackPressedDispatcher have also been updated.
  • The constructor for OnBackPressedDispatcher now takes an optional Consumer<Boolean> instance that allows the owners of the dispatcher to receive a callback whenever the number of enabled callbacks changes from zero to non-zero or vice versa.

Bug Fixes

Benchmark: v1.2.0-alpha15

June 7, 2023

androidx.benchmark:benchmark-*:1.2.0-alpha15 is released. Version 1.2.0-alpha15 contains these commits.

New Features

  • Added experimental MemoryUsageMetric for tracking memory usage of a target application. (I56453, b/133147125, b/281749311)
  • Add support for fully custom Perfetto configs with PerfettoTrace.record (If9d75, b/280460183)
  • Added property to skip baseline profile generation. Usage: ./gradlew assemble -Pandroidx.baselineprofile.skipgeneration. (I37fda, b/283447020)

API Changes

  • The collectBaselineProfile API always generates stable baseline profiles. The collectStableBaselineProfile API has been removed and collectBaselineProfile should be used instead. (I17262, b/281078707)
  • Changed BaselineProfileRule's filterPredicate arg to non-null, with a equivalent default value so that the default filter behavior is more clear in docs. (I3816e)

Bug Fixes

  • Disable IsolationActivity and Perfetto tracing in dryRunMode to significantly improve performance, as these were majority of runtime. (Ie4f7d)
  • Support for call stack sampling in Macrobenchmarks using instrumentation test arguments androidx.benchmark.profiling.mode=StackSampling and androidx.benchmark.profiling.sampleFrequency. (I1d13b, b/282188489)
  • Fixes crash when dropping shaders on Android U (API 34), as well as on emulators. (I031ca, b/274314544)

Browser: v1.6.0-alpha02

June 7, 2023

androidx.browser:browser:1.6.0-alpha02 is released. Version 1.6.0-alpha02 contains these commits.

API Changes

  • Removed CustomTabsSession#getGreatestScrollPercentage. (I6c5ba)
  • Added a new requestPostMessageChannel API which allows specifying the target origin. This means that users can be certain their messages are delivered only to the website they expect. (Id5b7f)

Bug Fixes

  • Updated EngagementSignalsCallback documentation. (Ie833c)

Compose Animation: v1.5.0-beta02

June 7, 2023

androidx.compose.animation:animation-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.

Compose Foundation: v1.5.0-beta02

June 7, 2023

androidx.compose.foundation:foundation-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.

Compose Material: v1.5.0-beta02

June 7, 2023

androidx.compose.material:material-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.

Compose Runtime: v1.5.0-beta02

June 7, 2023

androidx.compose.runtime:runtime-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.

Performance Improvements

  • Avoid calculating readableHash in DerivedState if snapshot wasn't modified. (307102)

Compose UI: v1.5.0-beta02

June 7, 2023

androidx.compose.ui:ui-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.

API Changes

  • Added asComposePaint API to enable consumption of an android.graphics.Paint instance to be used in Compose

Bug Fixes

  • Added asComposePaint API to replace toComposePaint as the returned object wraps the original android.graphics.Paint (I22b4c)

Core and Core-ktx: v1...

Read more

2023-05-30

07 Jun 09:36

Choose a tag to compare

Media3: v1.1.0-beta01

June 7, 2023

androidx.media3:media3-*:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.

  • Common Library:
    • Add Player.replaceMediaItem(s) as a shortcut to adding and removing items at the same position (#8046).
  • ExoPlayer:
    • Add FilteringMediaSource that allows to filter available track types from a MediaSource.
    • Add ExoPlayer.setVideoFrameProcessorFactory() for using Effect with a custom VideoFrameProcessor.Factory during video playback.
  • Extractors:
    • Ogg: Fix bug when seeking in files with a long duration (#391).
  • Audio:
    • Add direct playback support for DTS Express and DTS:X (#335).
  • Audio Offload:
    • Add AudioSink.getFormatOffloadSupport(Format) that retrieves level of offload support the sink can provide for the format through a DefaultAudioOffloadSupportProvider. It returns the new AudioOffloadSupport that contains isFormatSupported, isGaplessSupported, and isSpeedChangeSupported.
    • Add AudioSink.setOffloadMode() through which the offload configuration on the audio sink is configured. Default is AudioSink.OFFLOAD_MODE_DISABLED.
    • Offload can be enabled through setAudioOffloadPreference in TrackSelectionParameters. If the set preference is to enable, the device supports offload for the format, and the track selection is a single audio track, then audio offload will be enabled.
    • Remove parameter enableOffload from DefaultRenderersFactory.buildAudioSink method signature.
    • Remove method DefaultAudioSink.Builder.setOffloadMode.
    • Remove intdef value DefaultAudioSink.OffloadMode.OFFLOAD_MODE_ENABLED_GAPLESS_DISABLED.
  • Video:
    • Make MediaCodecVideoRenderer report a VideoSize with a width and height of 0 when the renderer is disabled. Player.Listener.onVideoSizeChanged is called accordingly when Player.getVideoSize() changes. With this change, ExoPlayer's video size with MediaCodecVideoRenderer has a width and height of 0 when Player.getCurrentTracks does not support video, or the size of the supported video track is not yet determined.
  • IMA extension:
    • Enable multi-period live DASH streams for DAI. Please note that the current implementation does not yet support seeking in live streams (#10912).
  • Session:
    • Add androidx.media3.session.MediaButtonReceiver to enable apps to implement playback resumption with media button events sent by, for example, a Bluetooth headset (#167).
  • RTSP Extension:
    • Use base Uri for relative path resolution from the RTSP session if present in DESCRIBE response header (#11160).
  • Remove deprecated symbols:
    • Remove two deprecated SimpleCache constructors, use a non-deprecated constructor that takes a DatabaseProvider instead for better performance.
    • Remove DefaultBandwidthMeter constructor, use DefaultBandwidthMeter.Builder instead.
    • Remove DefaultDrmSessionManager constructors, use DefaultDrmSessionManager.Builder instead.
    • Remove two deprecated HttpDataSource.InvalidResponseCodeException constructors, use a non-deprecated constructor that accepts additional fields(cause, responseBody) to enhance error logging.
    • Remove DownloadHelper.forProgressive, DownloadHelper.forHls, DownloadHelper.forDash, and DownloadHelper.forSmoothStreaming, use DownloadHelper.forMediaItem instead.
    • Remove deprecated DownloadService constructor, use a non deprecated constructor that includes the option to provide a channelDescriptionResourceId parameter.
    • Remove deprecated String constants for Charsets (ASCII_NAME, UTF8_NAME, ISO88591_NAME, UTF16_NAME and UTF16LE_NAME), use Kotlin Charsets from the kotlin.text package, the java.nio.charset.StandardCharsets or the com.google.common.base.Charsets instead.
    • Remove deprecated WorkManagerScheduler constructor, use a non deprecated constructor that includes the option to provide a Context parameter instead.
    • Remove the deprecated methods createVideoSampleFormat, createAudioSampleFormat, createContainerFormat, and createSampleFormat, which were used to instantiate the Format class. Instead use Format.Builder for creating instances of Format.
    • Remove the deprecated methods copyWithMaxInputSize, copyWithSubsampleOffsetUs, copyWithLabel, copyWithManifestFormatInfo, copyWithGaplessInfo, copyWithFrameRate, copyWithDrmInitData, copyWithMetadata, copyWithBitrate and copyWithVideoSize, use Format.buildUpon() and setter methods instead.
    • Remove deprecated ExoPlayer.retry(), use prepare() instead.
    • Remove deprecated zero-arg DefaultTrackSelector constructor, use DefaultTrackSelector(Context) instead.
    • Remove deprecated OfflineLicenseHelper constructor, use OfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher) instead.
    • Remove deprecated DownloadManager constructor, use the constructor that takes an Executor instead.
    • Remove deprecated Cue constructors, use Cue.Builder instead.
    • Remove deprecated OfflineLicenseHelper constructor, use OfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher) instead.
    • Remove four deprecated AnalyticsListener methods:
      • onDecoderEnabled, use onAudioEnabled and/or onVideoEnabled instead.
      • onDecoderInitialized, use onAudioDecoderInitialized and/or onVideoDecoderInitialized instead.
      • onDecoderInputFormatChanged, use onAudioInputFormatChanged and/or onVideoInputFormatChanged instead.
Read more

2023-05-24

24 May 18:36

Choose a tag to compare

Activity: v1.7.2

May 24, 2023

androidx.activity:activity:1.7.2, androidx.activity:activity-compose:1.7.2, and androidx.activity:activity-ktx:1.7.2 are released. Version 1.7.2 contains these commits.

Bug Fixes

  • Fix ReportDrawn crashing when navigating away from a screen before report is called. (Ic46f1, b/260506820)

AppSearch: v1.1.0-alpha03

May 24, 2023

androidx.appsearch:appsearch-*:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.

API Changes

  • Removed methods that return ListenableFuture and don't have Async suffix. (I0515f)
  • Adds the ability to configure projections by a Document class. (I94576)
  • Adds getters/setters for Features#NUMERIC_SEARCH, Features#VERBATIM_SEARCH and Features#LIST_FILTER_QUERY_LANGUAGE. Also adds Features#LIST_FILTER_QUERY_LANGUAGE. (Ic7204)
  • Adds @RequiresFeature to JoinSpec. (Ic126c)
  • Add LongPropertyConfig indexing type into AppSearch compiler. (Iee948)
  • Add Features#VERBATIM_SEARCH (I47bc0)
  • Added JoinableConfig (I47552)
  • Added utility methods for linking documents and creating qualified ids. (I33ec6)
  • Expose the Advanced Scoring API from Icing (I02d48)
  • Added the joinspec API (Iaecfa)
  • Unhide SearchSuggestionAPI in AppSearchSession. (I9029b)
  • This change adds an api to allow clients to specify property weights to control how matches to query terms in different properties affects the scored produced by RANKING_STRATEGY_RELEVANCE_SCORING. (I069b9)
  • Add LongPropertyConfig indexing API. (Ie0fb5)
  • Added RFC822_TOKENIZATION as a tokenizer type (I8a390)
  • Updated APIs for ImageObject to be a bit more idiomatic. (If8cd5)
  • Added new Document type ImageObject modeled after http://schema.org/ImageObject. (I6a0c0)
  • Add fields from Thing to Alarm, AlarmInstance, Timer, Stopwatch, StopwatchLap, ContactPoint, and Person (Id876c)
  • Add Person and ContactPoint for querying Person corpus in AppSearch. (Ia58f9)
  • Adds LocalStorage.createGlobalSearchSession API to search across all databases within the local storage of a single app. (Id3c89)

Bug Fixes

  • Add integer numeric search e2e unit test (I20f7d)
  • Fix javadoc link and comment (I34a9d)
  • Fully support Android 13 features in appsearch-platform-storage (Ia8e61)

Autofill: v1.3.0-alpha01

May 24, 2023

androidx.autofill:autofill:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.

API Changes

  • Adds autofill hint constants for wallet valuables types. (Ie5d9d)

CameraX: v1.2.3

May 24, 2023

androidx.camera:camera-*:1.2.3 is released. Version 1.2.3 contains these commits.

Bug Fixes

  • Fixed an issue where VideoCapture could not work with the front camera on some devices. For example, on Samsung Galaxy S23 and Xiaomi 2107113SG. (Ibec7e, b/270656244)

CameraX: v1.3.0-alpha07

May 24, 2023

androidx.camera:camera-*:1.3.0-alpha07 is released. Version 1.3.0-alpha07 contains these commits.

New Features

  • The new VideoCapture.Builder# setTargetFrameRate(Range) API allows video recordings to be captured at other frame rates besides the device default. The available frame rates for recordings can be queried through the new CameraInfo#getSupportedFrameRates() API.

API Changes

  • Renamed ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ON constants to ALLOWED_RESOLUTIONS_NORMAL/SLOW and renamed the builder setHighResolutionEnabledFlag function name to setAllowedResolutionMode. (Iae817)
  • CameraInfo#getSupportedFrameRateRanges() now returns a Set rather than a List to better represent that the ranges are unordered. (I02f43)
  • Add an error listener to CameraEffect to handle unrecoverable errors (Ice471)
  • Add publ...
Read more

2023-05-16

17 May 18:36

Choose a tag to compare

Media3: v1.0.2

May 18, 2023

androidx.media3:media3-*:1.0.2 is released. Version 1.0.2 contains these commits.

This release corresponds to the ExoPlayer 2.18.7 release.

This release contains the following changes since the 1.0.1 release:

  • Core library:
    • Add Buffer.isLastSample() that denotes if Buffer contains flag C.BUFFER_FLAG_LAST_SAMPLE.
    • Fix issue where last frame may not be rendered if the last sample with frames is dequeued without reading the 'end of stream' sample. (#11079).
  • Extractors:
    • Fix parsing of H.265 SPS in MPEG-TS files by re-using the parsing logic already used by RTSP and MP4 extractors (#303).
  • Text:
    • SSA: Add support for UTF-16 files if they start with a byte order mark (#319).
  • Session:
    • Fix issue where MediaController doesn't update its available commands when connected to a legacy MediaSessionCompat that updates its actions.
    • Fix bug that prevented the MediaLibraryService from returning null for a call from System UI to Callback.onGetLibraryRoot with params.isRecent == true on API 30 (#355).
    • Fix memory leak of MediaSessionService or MediaLibraryService (#346).
    • Fix bug where a combined Timeline and position update in a MediaSession may cause a MediaController to throw an IllegalStateException.