Skip to content

Releases: mahozad/androidx-release-notes

2022-10-26

26 Oct 18:50

Choose a tag to compare

Activity: v1.6.1

October 24, 2022

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

Bug Fixes

  • Fixed an issue with the PickMultipleVisualMedia Activity Result contract not launching on Android R devices when using the default value for maxItems. (Ie2776, b/249182130)

Activity: v1.7.0-alpha02

October 24, 2022

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

Bug Fixes

  • From Activity 1.6.1: Fixed an issue with the PickMultipleVisualMedia Activity Result contract not launching on Android R devices when using the default value for maxItems. (Ie2776, b/249182130)

Benchmark: v1.2.0-alpha06

October 24, 2022

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

API Changes

  • BaselineProfileRule no longer requires root on Android 13 (API 33), and is no longer experimental. (Ie0a7d, b/250083467, b/253094958)
    • This change also fixes how profiles from an app are flushed to disk on unrooted devices, but requires updating the target app's profileinstaller dependency.
    • To use BaselineProfileRule or CompilationMode.Partial(warmupIterations) on an unrooted device, you must also update your target app to use androidx.profileinstaller.profileinstaller:1.3.0-alpha01. This enables flushing the profile to disk correctly, so that it can be compiled/extracted.

Bug Fixes

Browser: v1.5.0-alpha01

October 24, 2022

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

New Features

  • Added CustomTabsIntent.Builder#setInitialActivityHeightPx, which allows developers to specify the initial launch height of a Custom Tab, and optionally the resize behavior (fixed or resizable). (I48bd3)
  • Added CustomTabsIntent.Builder#setToolbarCornerRadiusDp which allows developers to specify the toolbar's top corner radius. (I48bd3)
  • Added CustomTabsIntent.Builder#setCloseButtonPosition which allows developers to set the position of the close button on the toolbar. (I48bd3)
  • Added an onActivityResized callback method to interface CustomTabsCallback to let developers know when a Custom Tab is resized (expanded to full height or minimized back down to initial launch height). (Id99ce)
  • Populates the current app's language in Accept-Language by default to align to Android’s per-app language experience. (I3d1d7)

API Changes

  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. This was developed in an internal branch. b/238790278 for reference.

CameraX: v1.2.0-rc01

October 24, 2022

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

API Changes

  • Add setStreamUseCase API for OutputConfiguration. User can specify the Stream Use Case for the stream session, overrding CameraX's internal logics to choose Stream Use Case in order to optimize according to their need. (Ib1a95)

Bug Fixes

  • Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN) Preview/VideoCapture stretched issue on API level 27 devices. Resolution 1920x1080 causes the Preview/VideoCapture images to be stretched. Added workaround to not select the 1920x1080 resolution for Preview or VideoCapture to avoid the image stretched problem. (I0e04e)
  • Fixed low framerate when using VideoCapture and Preview use cases with 16:9 aspect ratio on some Huawei devices. (If8c88, b/223643510)
  • Fixed camera open failure when Preview's SurfaceProvider is not set. As part of the fix, Preview with no SurfaceProvider set will now not be configured into the camera capture session. (I99681)

Compose Animation: v1.3.0

October 24, 2022

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

Important changes since 1.2.0

  • New set of easing functions are made stable

Compose Foundation: v1.3.0

October 24, 2022

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

Important changes since 1.2.0

  • Experimental versions of LazyVerticalStaggeredGrid and LazyHorizontalStaggeredGrid were introduced.
  • SnapFlingBehavior, rememberSnapFlingBehavior and other corresponding APIs were added as experimental.
  • Modifier.clickab...
Read more

2022-10-20

24 Oct 13:32

Choose a tag to compare

Activity: v1.6.1

October 24, 2022

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

Bug Fixes

  • Fixed an issue with the PickMultipleVisualMedia Activity Result contract not launching on Android R devices when using the default value for maxItems. (Ie2776, b/249182130)

Activity: v1.7.0-alpha02

October 24, 2022

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

Bug Fixes

  • From Activity 1.6.1: Fixed an issue with the PickMultipleVisualMedia Activity Result contract not launching on Android R devices when using the default value for maxItems. (Ie2776, b/249182130)

Benchmark: v1.2.0-alpha06

October 24, 2022

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

API Changes

  • BaselineProfileRule no longer requires root on Android 13 (API 33), and is no longer experimental. (Ie0a7d, b/250083467, b/253094958)
    • This change also fixes how profiles from an app are flushed to disk on unrooted devices, but requires updating the target app's profileinstaller dependency.
    • To use BaselineProfileRule or CompilationMode.Partial(warmupIterations) on an unrooted device, you must also update your target app to use androidx.profileinstaller.profileinstaller:1.3.0-alpha01. This enables flushing the profile to disk correctly, so that it can be compiled/extracted.

Bug Fixes

Browser: v1.5.0-alpha01

October 24, 2022

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

New Features

  • Added CustomTabsIntent.Builder#setInitialActivityHeightPx, which allows developers to specify the initial launch height of a Custom Tab, and optionally the resize behavior (fixed or resizable). (I48bd3)
  • Added CustomTabsIntent.Builder#setToolbarCornerRadiusDp which allows developers to specify the toolbar's top corner radius. (I48bd3)
  • Added CustomTabsIntent.Builder#setCloseButtonPosition which allows developers to set the position of the close button on the toolbar. (I48bd3)
  • Added an onActivityResized callback method to interface CustomTabsCallback to let developers know when a Custom Tab is resized (expanded to full height or minimized back down to initial launch height). (Id99ce)
  • Populates the current app's language in Accept-Language by default to align to Android’s per-app language experience. (I3d1d7)

API Changes

  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. This was developed in an internal branch. b/238790278 for reference.

CameraX: v1.2.0-rc01

October 24, 2022

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

API Changes

  • Add setStreamUseCase API for OutputConfiguration. User can specify the Stream Use Case for the stream session, overrding CameraX's internal logics to choose Stream Use Case in order to optimize according to their need. (Ib1a95)

Bug Fixes

  • Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN) Preview/VideoCapture stretched issue on API level 27 devices. Resolution 1920x1080 causes the Preview/VideoCapture images to be stretched. Added workaround to not select the 1920x1080 resolution for Preview or VideoCapture to avoid the image stretched problem. (I0e04e)
  • Fixed low framerate when using VideoCapture and Preview use cases with 16:9 aspect ratio on some Huawei devices. (If8c88, b/223643510)
  • Fixed camera open failure when Preview's SurfaceProvider is not set. As part of the fix, Preview with no SurfaceProvider set will now not be configured into the camera capture session. (I99681)

Compose Animation: v1.3.0

October 24, 2022

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

Important changes since 1.2.0

  • New set of easing functions are made stable

Compose Foundation: v1.3.0

October 24, 2022

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

Important changes since 1.2.0

  • Experimental versions of LazyVerticalStaggeredGrid and LazyHorizontalStaggeredGrid were introduced.
  • SnapFlingBehavior, rememberSnapFlingBehavior and other corresponding APIs were added as experimental.
  • Modifier.clickable, Modifier.toggleable
Read more

2022-10-07

10 Oct 21:45

Choose a tag to compare

Annotation 1.0.1: Annotation 1.0.1-beta01

October 6, 2022

androidx.test:annotation:1.0.1-beta01 is released.

Dependency changes

  • Update to kotlin stdlib 1.7.10

Runner 1.5.0: runner 1.5.0-beta01

October 6, 2022

androidx.test:runner:1.5.0-beta01 is released.

API changes

  • Deprecate the '-e timeout' runtime parameter in favor of JUnit's Timeout rule.
  • Add an AbstractFilter class.

Bug fixes

  • Fix trace errors for long test names
  • Handle case where app crashes before instrumentationResultPrinter is set.

Rules 1.4.1: rules 1.4.1-beta01

October 6, 2022

androidx.test:rules:1.4.1-beta01 is released.

Monitor aka Platform 1.6.0: monitor 1.6.0-beta01

October 6, 2022

androidx.test:monitor:1.6.0-beta01 is released.

Espresso 3.5.0: Espresso 3.5.0-beta01

October 6, 2022

The following artifacts were released:

  • androidx.test.espresso:espresso-accessibility:3.5.0-beta01
  • androidx.test.espresso:espresso-core:3.5.0-beta01
  • androidx.test.espresso:espresso-contrib:3.5.0-beta01
  • androidx.test.espresso:espresso-idling-resource:3.5.0-beta01
  • androidx.test.espresso:espresso-intents:3.5.0-beta01
  • androidx.test.espresso:espresso-remote:3.5.0-beta01
  • androidx.test.espresso:espresso-web:3.5.0-beta01
  • androidx.test.espresso.idling:idling-concurrent:3.5.0-beta01
  • androidx.test.espresso.idling:idling-net:3.5.0-beta01

API changes

  • Annotate new APIs introduced since 3.4.0 with NonNull/Nullable
  • Add IntentsRule API

Bug fixes

  • Make IdlingRegistry more thread-safe.
  • Support other views for scrollTo()

Dependency changes

  • Update to kotlin stdlib 1.7.10
  • Update to jsr305:2.0.2
  • Update to tagsoup:1.2.1

Core 1.5.0: Core Core-ktx 1.5.0-beta01

October 6. 2022

androidx.test:core:1.5.0-beta01 and androidx.test:core-ktx:1.5.0-beta01 are released.

API changes

  • Annotate new APIs with NonNull/Nullable

JUnit Extensions 1.1.4: ext.junit 1.1.4-beta01

October 6, 2022

androidx.test.ext:junit:1.1.4-beta01 and androidx.test.ext:junit-ktx:1.1.4-beta01 are released.

Dependency changes

  • Update to kotlin stdlib 1.7.10

Truth Extensions 1.5.0: ext.truth 1.5.0-beta01

October 6, 2022

androidx.test.ext:truth:1.5.0-beta01 is released.

API changes

  • Annotate new APIs introduced since 1.4.0 with NonNull/Nullable
  • Add BundleSubject#stringArray

Services 1.4.2: services 1.4.2-beta01

October 6, 2022

androidx.test.services:test-services:1.4.2-beta01 androidx.test.services:storage:1.4.2-beta01 are released.

Orchestrator 1.4.2: orchestrator 1.4.2-beta01

October 6, 2022

androidx.test:orchestrator:1.4.2-beta01 is released.

2022-10-05@06PM

10 Oct 19:40
12e9d73

Choose a tag to compare

Activity: v1.7.0-alpha01

October 5, 2022

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

FullyDrawnReporter APIs

ComponentActivity now provides a FullyDrawnReporter instance that allows multiple components to report when they are ready for interaction. ComponentActivity will wait for all components to complete before calling reportFullyDrawn() on your behalf. These APIs take care of the timing requirements for you and do not need to be called as part of an onDraw call.

These APIs are encouraged to enable:

  • Signaling the Android Runtime when startup completes, to ensure all of the code run during a multi-frame startup sequence is included and prioritized for background compilation.
  • Signaling Macrobenchmark and Play Vitals when your application should be considered fully drawn for startup metrics, so you can track performance.

Two Activity Compose APIs have been added to make it more convenient to use the FullyDrawnReporter from individual composables:

  • ReportDrawnWhen takes a predicate (i.e., list.count > 0) to indicate when your composable is ready for interaction.
  • ReportDrawnAfter takes a suspending method that, when it completes, indicates that you are ready for interaction.

Appcompat: v1.7.0-alpha01

October 5, 2022

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

Bug Fixes

  • AppCompatActivity now sets the ViewTreeOnBackPressedDispatcherOwner so that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)
  • Locale.getDefault() now returns the system locale after a cold start (I6a94b)
  • LinearLayoutCompat now preserves margin layout params (Id2af4)

Asynclayoutinflater: v1.1.0-alpha01

October 5, 2022

androidx.asynclayoutinflater:asynclayoutinflater:1.1.0-alpha01 and androidx.asynclayoutinflater:asynclayoutinflater-appcompat:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.

New Features

  • Allows configuring a AsyncLayoutFactory when initialzing AsyncLayoutInflater. For AppCompat context, this can be provided through AsyncAppCompatFactory which initializes AppCompat views correctly.
  • The inflate API accepts an executor on which OnInflateFinishedListener callback can be triggered.

Benchmark: v1.2.0-alpha05

October 5, 2022

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

Bug Fixes

  • Fix frame breakdown in Studio system trace viewer for benchmark captured traces (I3f3ae, b/239677443)
  • Correct FrameTimingMetric to list FrameOverrun as requiring API 31 instead of 29 (I716dd, b/220702554)
  • Set iteration in BaselineProfileRule, and throw clearly if target package not installed (was already done for MacrobenchmarkRule). (Ic09a3, b/227991471)

Compose Animation: v1.3.0-rc01

October 5, 2022

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

Compose Foundation: v1.3.0-rc01

October 5, 2022

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

API Changes

  • Introduced lowVelocityAnimationSpec used by the approach step when there's not enough fling velocity to decay. (Iaeb27)
  • Added new experimental API Hyphens to support automatic hyphenation in Text (Iaa869)

Compose Material: v1.3.0-rc01

October 5, 2022

androidx.compose.material:material-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Compose Material 3: v1.0.0-rc01

October 5, 2022

androidx.compose.material3:material3:1.0.0-rc01 and androidx.compose.material3:material3-window-size-class:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

API Changes

Compose Runtime: v1.3.0-rc01

October 5, 2022

androidx.compose.runtime:runtime-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Bug Fixes

  • Fixed ArrayIndexOutOfBoundsException coming from the slot table (b/249076084)

Compose UI: v1.3.0-rc01

October 5, 2022

androidx.compose.ui:ui-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

API Changes

  • Added new experimental API Hyphens to support automatic hyphenation in Text (
Read more

2022-10-05

05 Oct 19:03

Choose a tag to compare

Activity: v1.7.0-alpha01

October 5, 2022

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

FullyDrawnReporter APIs

ComponentActivity now provides a FullyDrawnReporter instance that allows multiple components to report when they are ready for interaction. ComponentActivity will wait for all components to complete before calling reportFullyDrawn() on your behalf. These APIs take care of the timing requirements for you and do not need to be called as part of an onDraw call.

These APIs are encouraged to enable:

  • Signaling the Android Runtime when startup completes, to ensure all of the code run during a multi-frame startup sequence is included and prioritized for background compilation.
  • Signaling Macrobenchmark and Play Vitals when your application should be considered fully drawn for startup metrics, so you can track performance.

Two Activity Compose APIs have been added to make it more convenient to use the FullyDrawnReporter from individual composables:

  • ReportDrawnWhen takes a predicate (i.e., list.count > 0) to indicate when your composable is ready for interaction.
  • ReportDrawnAfter takes a suspending method that, when it completes, indicates that you are ready for interaction.

Appcompat: v1.7.0-alpha01

October 5, 2022

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

Bug Fixes

  • AppCompatActivity now sets the ViewTreeOnBackPressedDispatcherOwner so that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)
  • Locale.getDefault() now returns the system locale after a cold start (I6a94b)
  • LinearLayoutCompat now preserves margin layout params (Id2af4)

Asynclayoutinflater: v1.1.0-alpha01

October 5, 2022

androidx.asynclayoutinflater:asynclayoutinflater:1.1.0-alpha01 and androidx.asynclayoutinflater:asynclayoutinflater-appcompat:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.

New Features

  • Allows configuring a AsyncLayoutFactory when initialzing AsyncLayoutInflater. For AppCompat context, this can be provided through AsyncAppCompatFactory which initializes AppCompat views correctly.
  • The inflate API accepts an executor on which OnInflateFinishedListener callback can be triggered.

Benchmark: v1.2.0-alpha05

October 5, 2022

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

Bug Fixes

  • Fix frame breakdown in Studio system trace viewer for benchmark captured traces (I3f3ae, b/239677443)
  • Correct FrameTimingMetric to list FrameOverrun as requiring API 31 instead of 29 (I716dd, b/220702554)
  • Set iteration in BaselineProfileRule, and throw clearly if target package not installed (was already done for MacrobenchmarkRule). (Ic09a3, b/227991471)

Compose Animation: v1.3.0-rc01

October 5, 2022

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

Compose Foundation: v1.3.0-rc01

October 5, 2022

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

API Changes

  • Introduced lowVelocityAnimationSpec used by the approach step when there's not enough fling velocity to decay. (Iaeb27)
  • Added new experimental API Hyphens to support automatic hyphenation in Text (Iaa869)

Compose Material: v1.3.0-rc01

October 5, 2022

androidx.compose.material:material-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Compose Material 3: v1.0.0-rc01

October 5, 2022

androidx.compose.material3:material3:1.0.0-rc01 and androidx.compose.material3:material3-window-size-class:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

API Changes

Compose Runtime: v1.3.0-rc01

October 5, 2022

androidx.compose.runtime:runtime-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

Bug Fixes

  • Fixed ArrayIndexOutOfBoundsException coming from the slot table (b/249076084)

Compose UI: v1.3.0-rc01

October 5, 2022

androidx.compose.ui:ui-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.

API Changes

  • Added new experimental API Hyphens to support automatic hyphenation in Text (
Read more

2022-10-04

04 Oct 19:00

Choose a tag to compare

Compose Compiler: v1.3.2

October 4, 2022

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

New Feature

  • This version includes an update to Kotlin 1.7.20

2022-09-21

21 Sep 18:54

Choose a tag to compare

Activity: v1.6.0

September 21, 2022

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

Important changes since 1.5.0

  • Added ActivityResultContracts.PickVisualMedia and ActivityResultContracts.PickMultipleVisualMedia for providing a backward compatible contract that uses MediaStore.ACTION_PICK_IMAGES when the Photo Picker is available and Intent.ACTION_OPEN_DOCUMENT when it is not available.
  • Integrated the OnBackInvokedCallback in Android 13 into the OnBackPressedDispatchers provided by ComponentActivity and ComponentDialog. This ensures that all APIs built onOnBackPressedDispatcher work when enabling a predictive back gesture.

Annotation: v1.5.0

September 21, 2022

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

Important changes since 1.4.0

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

Benchmark: v1.2.0-alpha04

September 21, 2022

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

New Features

  • Add support for dryRunMode.enable instrumentation argument to macrobenchmark (already available in micro) for faster local development, and validating app automation (e.g. in presubmit). This overrides iterations to 1, skips compilation, suppresses all configuration errors, and disables measurement .json file output. (Ib51b4, b/175149857)

    On Gradle command line:

    ./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.dryRunMode.enable=true
    

    In build.gradle:

    android {
        defaultConfig {
            testInstrumentationRunnerArgument 'androidx.benchmark.dryRunMode.enable', 'true'
        }
    }
    

Bug Fixes

  • Fixed StartupTimingMetric to no longer require measured Activities to be launched through MacrobenchmarkScope.startActivityAndWait(). This means the metric can pick up launches from e.g. notifications, Context.startActivity(), in-app Activity based navigation, or shell commands. (Ia2de6, b/245414235)
  • Fix bug where startActivityAndWait would timeout trying to wait for launch completion on emulators by reducing strictness of frame detection. (Ibe2c6, b/244594339, b/228946895)

Biometric: v1.2.0-alpha05

September 21, 2022

androidx.biometric:biometric:1.2.0-alpha05 and androidx.biometric:biometric-ktx:1.2.0-alpha05 are released. Version 1.2.0-alpha05 contains these commits.

API Changes

  • Added CryptoObject support for android.security.identity.PresentationSession in Android 13. (Ife54b, b/197965513)

Bug Fixes

  • Removed unnecessary resource variants to reduce library size. (I3601e, b/220178553)
  • Fixed issue for BiometricPrompt hosted in non-activity contexts. (Ife255)

CameraX: v1.2.0-beta02

September 21, 2022

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

API Changes

Bug Fixes

  • Disabled the workaround to flip the AF region horizontally of front cameras on Samsung Android T since the issue was fixed. (I05f69)
  • Fixed the black preview issue that happens when BOKEH extension is enabled on some Samsung devices and user switches the cameras. (If6168)

Compose Animation: v1.3.0-beta03

September 21, 2022

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

  • No changes since 1.3.0-beta02.

Compose Foundation: v1.3.0-beta03

September 21, 2022

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

API Changes

  • Add options to customize line breaking in Text. (I86907)
  • BringIntoViewResponders are now able to get the most up-to-date bounds of a request while processing it. (If86a5, b/241591211)
  • Introduce support for spacings between items to experimental Staggered Grid (I10b82)
  • Introduce content padding to experimental Staggered Grid (I342ea)
  • Changed size:IntSize argument with constraints: Constraints in TextMeasurer.measure method to support minimum width constraints. (
Read more

2022-09-07

07 Sep 18:51

Choose a tag to compare

Activity: v1.6.0-rc02

September 7, 2022

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

Bug Fixes

  • OnBackPressedDispatcher now registers the OnBackInvokedCallback with the PRIORITY_DEFAULT instead of PRIORITY_OVERLAY. (I3901f)
  • Classes that extend ComponentActivity will now always have both of their onMultiWindowModeChanged() callbacks dispatched. (Ic4d85)
  • 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 without the need to call the super function in your activity. (Ie33c5, b/238057118)

Dependency Update

Annotation-Experimental: v1.3.0

September 7, 2022

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

Important changes since 1.2.0

  • Add support for package-level use of @androidx.annotation.OptIn (I24d58)
  • Moved Kotlin stdlib dependency to API-type, rather than compile-only. This means all clients of the Annotation-Experimental library will include the Kotlin standard library in their transitive dependencies.

Annotation: v1.5.0-rc01

September 7, 2022

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

  • No changes from previous 1.5.0 beta release.

Appcompat: v1.5.1

September 7, 2022

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

Dependency Updates

Appcompat: v1.6.0-rc01

September 7, 2022

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

Bug Fixes

  • AppCompatActivity now sets the ViewTreeOnBackPressedDispatcherOwner so that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)
  • Reverted a bug fix that overwrote the configuration passed to onConfigurationChanged, which had caused issues for tests that injected their own custom configurations through onConfigurationChanged.

Benchmark: v1.2.0-alpha03

September 7, 2022

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

New Features

  • Added experimental APIs for using BenchmarkState independently, separate from BenchmarkRule / JUnit4. (Id478f, b/228489614)

Bug Fixes

Car App: v1.3.0-beta01

September 7, 2022

androidx.car.app:app:1.3.0-beta01, androidx.car.app:app-projected:1.3.0-beta01, androidx.car.app:app-automotive:1.3.0-beta01, and androidx.car.app:app-testing:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.

New Features

In addition to capabilities added in Car App Library 1.3.0-alpha01, the following features have been added as part of beta01 (All features here only involve with host side changes without any API changes):

  • The floating navigation bar will continue to show even when a user is in a map-based selection screen in PlaceListNavigationTemplate, RoutePreviewNavigationTemplate, and MapTemplate. This can be done by updating navigation info through NavigationManager.updateTrip().
  • Enable the action button with FLAG_DEFAULT to have a timeout animation. This button will be clicked by default after the timeout. ([API 5 - All Templates])
  • A Rows subtext is not truncated when the car is parked, but truncated to 2 lines while driving. ([API 5 - All Templates])
  • Support disabled state for Action, Toggle, Row ([API 5 - All Templates])

API Changes

  • Relax constraints in MapTemplate list to support selectable lists...
Read more

2022-08-24

24 Aug 18:55

Choose a tag to compare

Activity: v1.6.0-rc01

August 24, 2022

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

Bug Fixes

  • Initializing an OnBackPressedDispatcher will no longer cause ClassVerificationErrors when using SDK versions prior to 33. (Ic32e1)
  • Classes that override ComponentActivity’s onPictureInPictureModeChanged() callback will now always have their callbacks dispatched. (Ib7fdb)

Annotation-Experimental: v1.3.0-rc01

August 24, 2022

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

  • No changes from the previous release. Implementation has been frozen for RC.

Annotation: v1.5.0-beta01

August 24, 2022

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

  • No changes from previous release. API surface has been frozen for beta.

AppSearch: v1.1.0-alpha02

August 24, 2022

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

New Features

  • Sped up Optimize process using index compaction rather than rebuilding index from scratch
  • Changed native logging tag from "icing" to "AppSearchIcing", log INFO messages by default

API Changes

  • Adds new PropertyPath object for working with paths, and new addProjection methods to accept PropertyPath. (I45588)
  • Added builtin:Thing to AppSearch builtin types (I55427)
  • Prevent empty property names in GenericDocument sooner – previously they were prevented at indexing time, now they are prevented at GenericDocument.Builder.build() time (I9e780)

Bug Fixes

  • Removed unnecessary string formatting to improve RELEVANCE scoring performance
  • More efficient pagination when encountering unreadable or deleted documents
  • Implemented garbage collection for abandoned queries
  • Fix nested indexing support for Documents. Previously indexNestedProperties was ignored. (Iae9a6)

External Contribution

  • Shea Smith: Fix nested indexing support for Documents. (Iae9a6)

Benchmark: v1.2.0-alpha02

August 24, 2022

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

API Changes

  • Default to am force stop for MacrobenchmarkScope.killProcess(), even when rooted, except during Baseline Profile generation. This can be overridden with an optional boolean argument. (02cce9, b/241214097)

Bug Fixes

CameraX: v1.2.0-beta01

August 24, 2022

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

New Features

  • New library camera-mlkit-vision. Easily integrate CameraX with many MLKit features, including barcode scanning, face detection, text detection, etc. Please find the sample code here.
  • New experimental Zero-Shutter Lag API. Optimizes capture pipeline to have better latency while keeping good image quality. When the capture mode is set to CAPTURE_MODE_ZERO_SHUTTER_LAG, the latency between the shutter button is clicked and the picture is taken is expected to be minimized, compared with other capture modes. On devices that don’t support ZERO_SHUTTER_LAG, it’ll fallback to CAPTURE_MODE_MINIMIZE_LATENCY.
  • Made ImageAnalysis.Analyzer and MLKitAnalyzer as official APIs.
  • Exposed API for setting location metadata to the saved video.
  • Rename ImageAnalysis.Analyzer#getTargetResolutionOverride() to ImageAnalysis.Analyzer#getDefaultTargetResolution().

Bug Fixes

  • Fixed Alps k61v1_basic_ref image capture issue. The captured JPEG images from HAL have incorrect Exif metadata. The Exif metadata doesn't have the 0xffd9 or 0xffda tag to make ExifInterface correctly parse the attributes. Capturing the images in YUV format and then compressing them to JPEG output images to workaround this issue. (I45abb)

Compose Animation: v1.3.0-beta01

August 24, 2022

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

Compose Foundation: v1.3.0-beta01

August 24, 2022

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

API Changes

  • Removed pointerPosition from OverscrollEffect - effects that care about pointer position can use Modifier.pointerInput { } in the effectModifier to get the current pointer position instead. (I9f606, b/24123930...
Read more

2022-08-22

23 Aug 18:47

Choose a tag to compare

Core 1.5.0: Core Core-ktx 1.5.0-alpha02

August 22, 2022

androidx.test:core:1.5.0-alpha02 and androidx.test:core-ktx:1.5.0-alpha02 are released.

API changes

  • Modify ActivityScenario#launch to remove use of Bootstrap Activity API. This change should improve performance and stability of ActivityScenario#launch. ActivityScenario#getResult will now enforce that it can only be used with ActivityScenario#launchActivityForResult

Bug fixes

  • Fix ActivityScenario#launch when targeting and running on Android T
  • Use elapsedRealtime instead of currentTimeMillis to track ActivityScenario timeouts.

Dependency changes

  • Update to kotlin stdlib 1.7.10

Monitor aka Platform 1.6.0: monitor 1.6.0-alpha05

August 22, 2022

androidx.test:monitor:1.6.0-alpha05 is released.

API changes

  • Internal API changes to support ActivityScenario#launchActivityForResult