Skip to content

Releases: mahozad/androidx-release-notes

2022-08-10

10 Aug 18:48

Choose a tag to compare

Activity: v1.6.0-beta01

August 10, 2022

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

API Changes

  • Marked the deprecated startActivityForResult and startIntentSenderForResult methods on ComponentActivity with @NonNull because passing null has always resulted in a crash. (Id2a25, b/231476082)

Bug Fixes

  • The ActivityResultRegistry will no longer return a result to the ActivityResultCallback when the launch call throws any Exception and the callback was registered without a LifecycleOwner. (Ia7ff7, b/238350794)
  • ComponentActivity will now properly dispatch menu calls to onPrepareOptionMenu(), onCreateOptionsMenu() and onOptionsItemSelected() overrides without the need to call the super function. (Ie33c5, b/238057118)

Dependency Update

  • The Activity library now depends on the Lifecycle version 2.5.1. (If6697)

Annotation:

Annotation-Experimental: v1.3.0-beta01

August 10, 2022

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

  • No changes from alpha. This library has been stabilized for beta release.

Appcompat: v1.5.0

August 10, 2022

androidx.appcompat:appcompat:1.5.0 and androidx.appcompat:appcompat-resources:1.5.0 are released. Version 1.5.0 contains these commits.

Important changes since 1.4.0

  • This stable version includes improvements to night mode stability, bug fixes and compound drawable tinting support for AppCompat-backed text widgets, and improvements to API usability. See previous 1.5.0-series release notes for a detailed list of changes.

Appcompat: v1.6.0-beta01

August 10, 2022

androidx.appcompat:appcompat:1.6.0-beta01 and androidx.appcompat:appcompat-resources:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.

API Changes

  • Move DrawableWrapper, DrawableContainer, and StateListDrawable compat classes to public API. (I37f3e, b/227789566)
  • Introduces a new factory for async layout inflater. (Ia657b)

Bug Fixes

  • Toolbar will now call onPrepareMenu() before the menu is shown instead of unconditionally when the menu is created. (I2a58d, b/232206677)
  • AppCompat now explicitly depends on Lifecycle 2.5.1 and SavedState 1.2.0. (I7e3e2)
  • Added support for back invoked callback to AppCompatDelegate and the AppCompat-provided Toolbar implementation. (I24062)
  • Finalize AppCompat APIs for 1.5.0-beta01 (I2a43d, b/236866227)
  • Finalize AppCompat APIs for 1.5.0-beta01 (I2a43d, b/236866227)

Compose Animation: v1.2.1

August 10, 2022

androidx.compose.animation:animation:1.2.1, androidx.compose.animation:animation-core:1.2.1, and androidx.compose.animation:animation-graphics:1.2.1 are released. Version 1.2.1 contains these commits.

Compose Animation: v1.3.0-alpha03

August 10, 2022

androidx.compose.animation:animation:1.3.0-alpha03, androidx.compose.animation:animation-core:1.3.0-alpha03, and androidx.compose.animation:animation-graphics:1.3.0-alpha03 are released. Version 1.3.0-alpha03 contains these commits.

API Changes

  • New param in Crossfade, animateAsState and Animatable for tooling label (Iac08a)
  • Added atFraction function for defining keyframes at a fraction instead of at a specific duration. (I20c76, b/232059455)

Compose Compiler: v1.3.0

August 10, 2022

androidx.compose.compiler:compiler:1.3.0 is released. Version 1.3.0 contains these commits.

Compose Foundation: v1.2.1

August 10, 2022

androidx.compose.foundation:foundation:1.2.1 and androidx.compose.foundation:foundation-layout:1.2.1 are released. Version 1.2.1 contains these commits.

Compose Foundation: v1.3.0-alpha03

August 10, 2022

androidx.compose.foundation:foundation:1.3.0-alpha03 and androidx.compose.foundation:foundation-layout:1.3.0-alpha03 are released. Version 1.3.0-alpha03 contains these commits.

API Changes

  • Resource Fonts now support setting font varia...
Read more

2022-08-02

03 Aug 21:40

Choose a tag to compare

Compose Compiler: v1.3.0-rc02

August 3, 2022

androidx.compose.compiler:compiler:1.3.0-rc02 is released. Version 1.3.0-rc02 contains these commits.

2022-08-01

01 Aug 13:22

Choose a tag to compare

Activity: v1.5.1

July 27, 2022

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

Bug Fixes

  • The ActivityResultRegistry will no longer return a result to the ActivityResultCallback when the launch() call throws any Exception and the callback was registered without a LifecycleOwner. (Ia7ff7, b/238350794)

  • ComponentActivity will now properly dispatch menu calls to onPrepareOptionMenu(), onCreateOptionsMenu() and onOptionsItemSelected() overrides without the need to call the super function. (Ie33c5, b/238057118)

Dependency update

Annotation: v1.5.0-alpha01

July 27, 2022

androidx.annotation:annotation:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.

New Features

  • Annotation library has been fully migrated to Kotlin sources, resulting in support for Kotlin-specific target use sites and other Kotlin-compatible annotation features.

Annotation-Experimental: v1.3.0-alpha01

July 27, 2022

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

API Changes

  • Add support for package-level use of @androidx.annotation.OptIn (I24d58)

Appcompat: v1.5.0-rc01

July 27, 2022

androidx.appcompat:appcompat:1.5.0-rc01 and androidx.appcompat:appcompat-resources:1.5.0-rc01 are released. Version 1.5.0-rc01 contains these commits.

Bug Fixes

  • Fixes an issue where AppCompat’s context wrapper reused the application context's backing resource implementation, resulting in uiMode being overwritten on the application context. (Idf9d5)

Benchmark: v1.2.0-alpha01

July 27, 2022

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

New Features

  • New tracing-perfetto-common component allowing tooling to enable Perfetto SDK tracing in an app that exposes it (I2cc7f)
  • Added androidx.benchmark.enabledRules instrumentation argument to enable filtering macrobenchmark runs to just benchmarks, or just baseline profile generation. Pass in 'Macrobenchmark', or 'BaselineProfile' to just run one type of test, e.g. when just generating BaselineProfiles on an emulator. Comma-separated list also Supported. (I756b7, b/230371561)

    E.g. in Your macrobenchmark's build.gradle:

    android {
        defaultConfig {
            testInstrumentationRunnerArgument 'androidx.benchmark.enabledRules', 'BaselineProfile'
        }
    }
    

    Or from the Gradle command line:

    ./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
    

API Changes

  • Added new PowerMetric for measuring energy and power tasks in benchmarks. (I9f39b, b/220183779)
  • Added a new compilation mode CompilationMode.Ignore to skip profile reset and compilation. (Ibbcf8, b/230453509)
  • Added a new parameter to BaselineProfileRule#collectBaselineProfile to filter output file by package names (If7338, b/220146561)
  • Enables developer to discharge device to measure power drain. (I6a6cb)
  • Added the ability to clear shader cache in MacrobenchmarkScope. (I32122)
  • Enables developer to configure display of metric type and detail desired subsystem categories. (I810c9)
  • Previously an UnsupportedOperationException was thrown in the benchmark if run on an unsupported device. Now UOE only occurs if the metric is used on the unsupported device (ie: PowerMetric.configure). (I5cf20, b/227229375)
  • Added TotalPowerMetric and TotalEnergyMetric for measuring total power and energy in each system category in macrobenchmarks. (I3b26b, b/224557371)

Bug Fixes

  • Fixed an issue where compiled methods were not correctly being reset between each macrobenchmark on unrooted builds. This unfortunately requires reinstalling the apk each iteration, which will clear application data for each macrobenchmark. (I31c74, b/230665435)
  • Fix trace recording crash on API 21/22 (If7fd6, b/227509388, b/227510293, b/227512788)
  • Overhaul activity launch completion detection to fix 'Unable to read any metrics' exception in startup macrobenchmarks. (Ia517c)

CameraX: v1.2.0-alpha04

July 27, 2022

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

<...
Read more

2022-07-27

27 Jul 18:46

Choose a tag to compare

Activity: v1.5.1

July 27, 2022

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

Bug Fixes

  • The ActivityResultRegistry will no longer return a result to the ActivityResultCallback when the launch() call throws any Exception and the callback was registered without a LifecycleOwner. (Ia7ff7, b/238350794)

  • ComponentActivity will now properly dispatch menu calls to onPrepareOptionMenu(), onCreateOptionsMenu() and onOptionsItemSelected() overrides without the need to call the super function. (Ie33c5, b/238057118)

Dependency update

Annotation: v1.5.0-alpha01

July 27, 2022

androidx.annotation:annotation:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.

New Features

  • Annotation library has been fully migrated to Kotlin sources, resulting in support for Kotlin-specific target use sites and other Kotlin-compatible annotation features.

Annotation-Experimental: v1.3.0-alpha01

July 27, 2022

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

API Changes

  • Add support for package-level use of @androidx.annotation.OptIn (I24d58)

Appcompat: v1.5.0-rc01

July 27, 2022

androidx.appcompat:appcompat:1.5.0-rc01 and androidx.appcompat:appcompat-resources:1.5.0-rc01 are released. Version 1.5.0-rc01 contains these commits.

Bug Fixes

  • Fixes an issue where AppCompat’s context wrapper reused the application context's backing resource implementation, resulting in uiMode being overwritten on the application context. (Idf9d5)

Benchmark: v1.2.0-alpha01

July 27, 2022

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

New Features

  • New tracing-perfetto-common component allowing tooling to enable Perfetto SDK tracing in an app that exposes it (I2cc7f)
  • Added androidx.benchmark.enabledRules instrumentation argument to enable filtering macrobenchmark runs to just benchmarks, or just baseline profile generation. Pass in 'Macrobenchmark', or 'BaselineProfile' to just run one type of test, e.g. when just generating BaselineProfiles on an emulator. Comma-separated list also Supported. (I756b7, b/230371561)

    E.g. in Your macrobenchmark's build.gradle:

    android {
        defaultConfig {
            testInstrumentationRunnerArgument 'androidx.benchmark.enabledRules', 'BaselineProfile'
        }
    }
    

    Or from the Gradle command line:

    ./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
    

API Changes

  • Added new PowerMetric for measuring energy and power tasks in benchmarks. (I9f39b, b/220183779)
  • Added a new compilation mode CompilationMode.Ignore to skip profile reset and compilation. (Ibbcf8, b/230453509)
  • Added a new parameter to BaselineProfileRule#collectBaselineProfile to filter output file by package names (If7338, b/220146561)
  • Enables developer to discharge device to measure power drain. (I6a6cb)
  • Added the ability to clear shader cache in MacrobenchmarkScope. (I32122)
  • Enables developer to configure display of metric type and detail desired subsystem categories. (I810c9)
  • Previously an UnsupportedOperationException was thrown in the benchmark if run on an unsupported device. Now UOE only occurs if the metric is used on the unsupported device (ie: PowerMetric.configure). (I5cf20, b/227229375)
  • Added TotalPowerMetric and TotalEnergyMetric for measuring total power and energy in each system category in macrobenchmarks. (I3b26b, b/224557371)

Bug Fixes

  • Fixed an issue where compiled methods were not correctly being reset between each macrobenchmark on unrooted builds. This unfortunately requires reinstalling the apk each iteration, which will clear application data for each macrobenchmark. (I31c74, b/230665435)
  • Fix trace recording crash on API 21/22 (If7fd6, b/227509388, b/227510293, b/227512788)
  • Overhaul activity launch completion detection to fix 'Unable to read any metrics' exception in startup macrobenchmarks. (Ia517c)

CameraX: v1.2.0-alpha04

July 27, 2022

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

<...
Read more

2022-07-18

20 Jul 21:41

Choose a tag to compare

Compose Compiler: v1.3.0-beta01

July 20, 2022

androidx.compose.compiler:compiler:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.

New Features

  • Added support for Kotlin 1.7.10

2022-07-08

13 Jul 18:45

Choose a tag to compare

Appcompat: v1.5.0-beta01

July 13, 2022

androidx.appcompat:appcompat:1.5.0-beta01 and androidx.appcompat:appcompat-resources:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.

API Changes

  • Add an overridable flag to disable the default switch width adjustment. (I37cb7)
  • Add @FloatRange annotation to thumb position getter API (If524c)
  • Add missing nullability annotations to AnimatedStateListDrawableCompat (Ieb4ec)

Bug Fixes

  • Finalize AppCompat APIs for 1.5.0-beta01 (I2a43d, b/236866227)
  • Changing className value for ActionMenuItemView to treat it as a Button (I5ee1c)

Emoji2: v1.2.0-beta01

July 13, 2022

androidx.emoji2:emoji2-*:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.

New Features

  • No changes from the last version (this release is to support the AppCompat release).

Games-Activity: v1.2.1

July 13, 2022

androidx.games:games-activity:1.2.1 is released. Version 1.2.1 contains these commits.

Bug Fixes

  • Fixed issues with missing .aar file in previous release.

Games-Text-Input: v1.1.1

July 13, 2022

androidx.games:games-text-input:1.1.1 is released. Version 1.1.1 contains these commits.

Bug Fixes

  • Fixed issues with missing .aar file in previous release.

2022-06-29

08 Jul 08:40
0c45d5e

Choose a tag to compare

Activity: v1.5.0

June 29, 2022

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

Important changes since 1.4.0

  • ComponentDialog - ComponentDialog is a subclass of Dialog that includes an OnBackPressedDispatcher that will be called when the system back button is pressed and the dialog is visible. Importantly, this subclass also sets the ViewTreeOnBackPressedDispatcherOwner, allowing views a generic way to retrieve the correct dispatcher whether it exists in a ComponentActivity or a ComponentDialog.
  • Callback Interfaces - ComponentActivity now implements a set of modular callback interfaces that can be used instead of the Activity callbacks. These interfaces include the following: OnNewIntentProvider, OnConfigurationChangedProvider, OnTrimMemoryProvider, OnPictureInPictureModeChangedProvider, OnMultiWindowModeChangedProvider
  • CreationExtras Integration - ComponentActivity now has the ability to provide a stateless ViewModelProvider.Factory via Lifecycle 2.5.0’s CreationExtras.

Other changes

  • The no parameter constructor for ActivityResultContracts.CreateDocument has been deprecated and replaced with a new constructor that takes a concrete mime type (e.g., "image/png") as is required by Intent.ACTION_CREATE_DOCUMENT.

Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0

June 29, 2022

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

Important changes since 1.0.0

  • Landed View, Extension and Video Capture libraries as their first RC version. From 1.1.0-beta01, all CameraX libraries will align the same version number. This will help developers track versions much easier and reduce the complexity of large version compatibility matrices.
  • Introduced new public APIs and features which including:
  • Add the official camera-video library to support video capture use cases.
  • YUV to RGB conversion and rotation capability (ImageAnalysis.Builder.setOutputImageRotationEnabled and setOutputImageFormat)
  • Support multi-window mode by allowing CameraX applications to resume the camera when the camera is interrupted by another app and focus is back.
  • Ensures CameraX works well in foldable devices by fixing some preview issues.
  • Added a CameraState API that will be exposed through CameraInfo.
  • Added an API ProcessCameraProvider.getAvailableCameraInfos() to directly retrieve information about the available cameras
  • Output JPEG format for ImageCapture#OnImageCapturedCallback when Extensions are enabled.
  • Added a API isFocusMeteringSupported in CameraInfo which allows applications to check if the given FocusMeteringAction is supported on current camera or not.
  • Exposed getResolutionInfo API to provide the resolution information for Preview, ImageCapture and ImageAnalysis.
  • Added a new API ImageCapture.Builder#setJpegQuality to allow changing the output JPEG image compression quality when taking pictures.
  • Added CameraSelector#filter to the public API to filter a list of CameraInfos based on a CameraSelector.
  • Added Camera2CameraControl.clearCaptureRequestOptions for clearing the existing capture request options.
  • Added an experimental API for using CameraController with external image processing libraries. e.g. MLKit
  • Added experimental API CameraInfo#getCameraSelector() which returns a CameraSelector unique to its camera
  • Promoted several experimental APIs to formal public APIs
  • Replaced annotation @Experimental with @RequiresOptIn to experimental APIs. For calling experimental APIs, use androidx.annotation.OptIn instead of deprecated androidx.annotation.experimental.UseExperimental.
  • Promoted the following experimental APIs to official APIs: CameraXConfig.Builder#setAvailableCamerasLimiter(), CameraXConfig.Builder#setMinimumLoggingLevel(), CameraXconfig.Builder#setSchedulerHandler(), CameraXConfig#getAvailableCamerasLimiter(), CameraXConfig#getMinimumLoggingLevel(), CameraXConfig#getCameraExecutor(), CameraXConfig#getSchedulerHandler(),
  • @ExperimentalCameraFilter APIs
  • experimental exposure compensation APIs.
  • Promoted the experimental UseCaseGroup API for camera-core, camera-lifecycle and camera-video. Added ViewPort#getLayoutDirection, ViewPort.Builder#setLayoutDirection and ViewPort.Builder#setScaleType for customizing viewport.
  • Promoted the ExperimentalUseCaseGroupLifecycle to formal public APIs.
  • Changes to the existing APIs
  • Renamed MediaStoreOutputOptions.getCollection to MediaStoreOutputOptions.getCollectionUri.
  • ActiveRecording has been renamed to "Recording" to reduce verbosity.
  • Changed QualitySelector creator API to a list-based API

Bug Fixes

  • Fixed YuvToJpegProcessor EOFException issue when extension mode is enabled and ImageCapture#CAPTURE_MODE_MAX_QUALITY mode is set.
  • Fixed codec configuration failed due to video recording is closing
  • Fixed stretched preview/video aspect ratio when recording at FHD
  • Fixed audio/video out of sync after pause and resume on some devices
  • Fixed the issue where flash is triggered during tap-to-focus (startFocusAndMetering) when flash mode is auto or always_on in low-light environment.

CameraX: v1.2.0-alpha03

June 29, 2022

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

API Changes

  • Removed the experimental annotation for ImageAnalysis.Analyzer and MLKitAnalyzer. (I0ff22)

Bug Fixes

  • Added auto focus default timeout 5000ms that will complete the AF part with isFocusSuccessful false if the FocusMeteringAction is not cancelled and the AF part is not converged in the duration. (Ibc2e3)
  • Fix the issue to take picture with unbind preview (I1d3a2, b/235119898)
  • Enabled advanced extender impl...
Read more

2022-06-16

20 Jun 13:12

Choose a tag to compare

Media3: v1.0.0-beta01

June 16, 2022

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

This corresponds to the ExoPlayer 2.18.0 release.

  • Core library:
    • Enable support for Android platform diagnostics via MediaMetricsManager. ExoPlayer will forward playback events and performance data to the platform, which helps to provide system performance and debugging information on the device. This data may also be collected by Google if sharing usage and diagnostics data is enabled by the user of the device. Apps can opt-out of contributing to platform diagnostics for ExoPlayer with ExoPlayer.Builder.setUsePlatformDiagnostics(false).
    • Fix bug that tracks are reset too often when using MergingMediaSource, for example when side-loading subtitles and changing the selected subtitle mid-playback (#10248).
    • Stop detecting 5G-NSA network type on API 29 and 30. These playbacks will assume a 4G network.
    • Disallow passing null to MediaSource.Factory.setDrmSessionManagerProvider and MediaSource.Factory.setLoadErrorHandlingPolicy. Instances of DefaultDrmSessionManagerProvider and DefaultLoadErrorHandlingPolicy can be passed explicitly if required.
    • Add MediaItem.RequestMetadata to represent metadata needed to play media when the exact LocalConfiguration is not known. Also remove MediaMetadata.mediaUrl as this is now included in RequestMetadata.
    • Add Player.Command.COMMAND_SET_MEDIA_ITEM to enable players to allow setting a single item.
  • Track selection:
    • Flatten TrackSelectionOverrides class into TrackSelectionParameters, and promote TrackSelectionOverride to a top level class.
    • Rename TracksInfo to Tracks and TracksInfo.TrackGroupInfo to Tracks.Group. Player.getCurrentTracksInfo and Player.Listener.onTracksInfoChanged have also been renamed to Player.getCurrentTracks and Player.Listener.onTracksChanged.
    • Change DefaultTrackSelector.buildUponParameters and DefaultTrackSelector.Parameters.buildUpon to return DefaultTrackSelector.Parameters.Builder instead of the deprecated DefaultTrackSelector.ParametersBuilder.
    • Add DefaultTrackSelector.Parameters.constrainAudioChannelCountToDeviceCapabilities which is enabled by default. When enabled, the DefaultTrackSelector will prefer audio tracks whose channel count does not exceed the device output capabilities. On handheld devices, the DefaultTrackSelector will prefer stereo/mono over multichannel audio formats, unless the multichannel format can be Spatialized (Android 12L+) or is a Dolby surround sound format. In addition, on devices that support audio spatialization, the DefaultTrackSelector will monitor for changes in the Spatializer properties and trigger a new track selection upon these. Devices with a televisionUI mode are excluded from these constraints and the format with the highest channel count will be preferred. To enable this feature, the DefaultTrackSelector instance must be constructed with a Context.
  • Video:
    • Rename DummySurface to PlaceholderSurface.
    • Add AV1 support to the MediaCodecVideoRenderer.getCodecMaxInputSize.
  • Audio:
    • Use LG AC3 audio decoder advertising non-standard MIME type.
    • Change the return type of AudioAttributes.getAudioAttributesV21() from android.media.AudioAttributes to a new AudioAttributesV21 wrapper class, to prevent slow ART verification on API < 21.
    • Query the platform (API 29+) or assume the audio encoding channel count for audio passthrough when the format audio channel count is unset, which occurs with HLS chunkless preparation (10204).
    • Configure AudioTrack with channel mask AudioFormat.CHANNEL_OUT_7POINT1POINT4 if the decoder outputs 12 channel PCM audio (#10322.
  • DRM
    • Ensure the DRM session is always correctly updated when seeking immediately after a format change (10274).
  • Text:
    • Change Player.getCurrentCues() to return CueGroup instead of List<Cue>.
    • SSA: Support OutlineColour style setting when BorderStyle == 3 (i.e. OutlineColour sets the background of the cue) (#8435).
    • CEA-708: Parse data into multiple service blocks and ignore blocks not associated with the currently selected service number.
    • Remove RawCcExtractor, which was only used to handle a Google-internal subtitle format.
  • Extractors:
    • Matroska: Parse DiscardPadding for Opus tracks.
    • MP4: Parse bitrates from esds boxes.
    • Ogg: Allow duplicate Opus ID and comment headers (#10038).
  • UI:
    • Fix delivery of events to OnClickListeners set on PlayerView in the case that useController=false (#9605). Also fix delivery of events to OnLongClickListener for all view configurations.
    • Fix incorrectly treating a sequence of touch events that exit the bounds of PlayerView before ACTION_UP as a click (#9861).
    • Fix PlayerView accessibility issue where tapping might toggle playback rather than hiding the controls (#8627).
    • Rewrite TrackSelectionView and TrackSelectionDialogBuilder to work with the Player interface rather than ExoPlayer. This allows the views to be used with other Player implementations, and removes the dependency from the UI module to the ExoPlayer module. This is a breaking change.
    • Don't show forced text tracks in the PlayerView track selector, and keep a suitable forced text track selected if "None" is selected (#9432).
  • DASH:
    • Parse channel count from DTS AudioChannelConfiguration elements. This re-enables audio passthrough for DTS streams (#10159).
    • Disallow passing null to DashMediaSource.Factory.setCompositeSequenceableLoaderFactory. Instances of DefaultCompositeSequenceableLoaderFactory can be passed explicitly if required.
  • HLS:
    • Fallba...
Read more

2022-06-14

15 Jun 18:46
9d7a8e3

Choose a tag to compare

Activity: v1.6.0-alpha05

June 15, 2022

androidx.activity:activity:1.6.0-alpha05, androidx.activity:activity-compose:1.6.0-alpha05, and androidx.activity:activity-ktx:1.6.0-alpha05 are released. Version 1.6.0-alpha05 was developed in a private pre-release branch and has no public commits.

API Changes

  • minCompileSdk is now 33 to align with Tiramisu Beta 3 SDK

Bug Fixes

  • Fixed crash on older devices when doing SDK extension check for the PickVisualMedia ActivityResultContract so that it should now work with ACTION_OPEN_DOCUMENT on devices running Android 10 and lower.

Annotation: v1.4.0

June 15, 2022

androidx.annotation:annotation:1.4.0 is released. Version 1.4.0 contains these commits.

Important changes since 1.3.0

  • @RestrictTo has been migrated to Kotlin sources and now supports @file usage site. As a result, the Annotation library now depends on the Kotlin standard library.
  • @ReturnThis (b/140249763): Ensures that overriding methods of this method must return the same instance (intended for builders etc)
  • @OpenForTesting (b/141539024): Kotlin classes and methods marked "open" can be annotated with this annotation, and lint will make sure that this class is only subclassed (and methods only overridden) from unit tests
  • @DeprecatedSinceApi (b/37116481): Indicates that the annotated method (or class or field) is part of a backport library for a platform API, which is no longer needed as of the given API level.
  • @EmptySuper: Indicates that this method is defined to be empty, so when overriding you do not need to call it (and in fact you shouldn't; for example, it can contain backwards compatibility checking.)

Appcompat: v1.6.0-alpha05

June 15, 2022

androidx.appcompat:appcompat:1.6.0-alpha05 and androidx.appcompat:appcompat-resources:1.6.0-alpha05 are released. Version 1.6.0-alpha05 was developed in a private pre-release branch and has no public commits.

API Changes

  • Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
  • minCompileSdk is now 33 to align with Tiramisu Beta 3 SDK

AppSearch: v1.1.0-alpha01

June 15, 2022

androidx.appsearch:appsearch-*:1.1.0-alpha01 is released. Version 1.1.0-alpha01 was developed in a private pre-release branch and has no public commits.

API Changes

  • All methods returning ListenableFuture have been renamed to have the Async suffix. For example, getSchema has been renamed to getSchemaAsync. The previous versions have been deprecated and will be removed in a future release.

New Features

  • First release of appsearch-builtin-types. This project contains some builtin types based on schema.org which clients may find convenient to use instead of defining their own types for common objects. More types will be added in future releases.
  • Ability to use ShortcutAdapter to convert an AppSearch Document into a ShortcutInfoCompat. This gives clients a way to share AppSearch documents to Google using the core-google-shortcuts library
  • Ability to use inheritance with @Document classes. Fields cannot be replaced or modified, but new fields can be added by extending a class annotated with @Document.
  • New Observer API which allows clients to register for notifications when types they have access to have changed or when documents of those types are added, modified or removed. IMPORTANT: The current implementation delivers notifications only when your app is running. There is currently no way to inspect changes that have occurred while your app was stopped. Accordingly you should not rely on this API for completeness.
  • Property parser API which allows you to fully handle and inspect property paths returned by MatchInfo#getPropertyPath.
  • Global getById and global getSchema API for retrieving documents and schemas from other apps which have granted you visibility.
  • Ability to retrieve visibility information in getSchema for data you have access to
  • Ability to grant visibility to apps holding a certain Android permission (restricted to a narrow set of allowlisted permissions)
  • Support isFoo()-style getters for boolean fields in the annotation processor, in addition to the previous supported style hasFoo()
  • Support for new features guarded behind @RequiresFeature. Use AppSearchSession#getFeatures to determine what the current backend supports.
  • Remove the ~13k token limit on individual documents
  • Allow matching on non-ascii+non-alphanumeric characters, such as emojis

Bug Fixes

  • Fix bug that would fail SetSchema when overriding a nested incompatible type.
  • Fixes to fully support @AutoValue-annotated classes being used as AppSearch @Document classes
  • Fixes for some crashes related to repeated lists of Document classes and other issues
  • Fix for bug that would crash prefix search under certain circumstances
  • Fix minor bug in GetStorageInfo that would return incorrect values when encountering IO failures
  • Fix BUSADDERR issues when reading a document
  • Fix logcat corruption caused by printing unformatted fingerprint
  • Fix NPE caused by IO failures
  • Fix memory leak in GetSchemaType, Get, Delete, DeleteByNamespace and DeleteBySchemaType

Benchmark: v1.1.0

June 15, 2022

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

  • This version is identical to androidx.benchmark:benchmark-*:1.1.0-rc03.

Important changes since 1.0.0

Compose Animation: v1.2.0-rc01

June 15, 2022

androidx.compose.animation:animation:1.2.0-rc01, androidx.compose.animation:animation-core:1.2.0-rc01, and androidx.compose.animation:animation-graphics:1.2.0-rc01 are released.

Read more

2022-06-02

02 Jun 18:48
afba5b9

Choose a tag to compare

Annotation: v1.4.0-rc01

June 1, 2022

androidx.annotation:annotation:1.4.0-rc01 is released. Version 1.4.0-rc01 contains these commits.

  • API surface and functionality have been finalized for release.

Appcompat: v1.4.2

June 1, 2022

androidx.appcompat:appcompat:1.4.2 and androidx.appcompat:appcompat-resources:1.4.2 are released. Version 1.4.2 contains these commits.

Bug Fixes

  • Fix crash where AppCompatDelegateImpl made an internal call to ensureSubDecor before the action bar was created (aosp/2048349, b/226648941)

Benchmark: v1.1.0-rc03

June 1, 2022

androidx.benchmark:benchmark-*:1.1.0-rc03 is released. Version 1.1.0-rc03 contains these commits.

Bug Fixes

Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0-rc02

June 1, 2022

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

Bug Fixes

  • Fixed NullPointerException on ImageCapture.takePicture(). (I92366, b/230454568, b/229766155)
  • Fixed a bug where AssertionError not being handled when getting the CONTROL_ZOOM_RATIO_RANGE characteristic. (Ia248a, b/231701345)

CameraX: v1.2.0-alpha02

June 1, 2022

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

New Features

  • Expose CameraX Zero-Shutter Lag API as experimental.

API Changes

  • Add new capture mode CAPTURE_MODE_ZERO_SHUTTER_LAG in ImageCapture and add isZslSupported in CameraInfo to query the device capability. CAPTURE_MODE_ZERO_SHUTTER_LAG mode is aiming to provide the minimum latency for instant capture. It is implemented based on a ring buffer, which caches intermediate capture results for later reprocessing when the user presses buttons to take pictures. If {@link VideoCapture} is bound or flash mode is not OFF or OEM Extension is ON, this mode will be disabled automatically. (I9ae74)
  • Add ImageAnalysis.getBackgroundExecutor() method (Icc945)

Bug Fixes

  • Fixed ImageCapture takePicture method turns torch off on the reported devices. (Ib5eb5, b/228272227)
  • Fixed a bug where AssertionError not being handled when getting the CONTROL_ZOOM_RATIO_RANGE characteristic.(/Ia248a, b/231701345)

Compose Animation: v1.2.0-beta03

June 1, 2022

androidx.compose.animation:animation:1.2.0-beta03, androidx.compose.animation:animation-core:1.2.0-beta03, and androidx.compose.animation:animation-graphics:1.2.0-beta03 are released. Version 1.2.0-beta03 contains these commits.

API Changes

  • Added Experimental Easing Curves for Animations (I64a38)

Compose Compiler: v1.2.0-beta03

June 1, 2022

androidx.compose.compiler:compiler:1.2.0-beta03 is released. Version 1.2.0-beta03 contains these commits.

Compose Foundation: v1.2.0-beta03

June 1, 2022

androidx.compose.foundation:foundation:1.2.0-beta03 and androidx.compose.foundation:foundation-layout:1.2.0-beta03 are released. Version 1.2.0-beta03 contains these commits.

API Changes

  • Added new experimental IntervalList and MutableIntervalList. It allows to represent some list of values via multiple intervals. It will be useful when you want to define your own dsl similar to the one used by LazyColumn where list items can be defined via multiple item/items calls. (I2d05e, b/228580728)

Bug Fixes

  • Clarified the documentation for WindowInsets.ime to state that ime insets are reported as far back as API 23, but only animated on 30+. (Ia7fc0, b/230756508)
  • Pressing the forward delete key when the cursor is at the end of a text field will no longer crash.
  • DeleteSurroundingTextCommand and DeleteSurroundingTextInCodePointsCommand now require their constructor arguments to be non-negative. (Ica8e6, b/199919707)

Compose Material: v1.2.0-beta03

June 1, 2022

androidx.compose.material:material-*:1.2.0-beta03 is released.

Read more