Skip to content

2024-08-07

Choose a tag to compare

@github-actions github-actions released this 07 Aug 18:41
· 72 commits to main since this release

Annotation: v1.8.2

August 7, 2024

androidx.annotation:annotation-*:1.8.2 is released. Version 1.8.2 contains these commits.

Bug Fixes

AppSearch: v1.1.0-alpha04

August 7, 2024

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

New Features

  • Support for new PlayServicesStorage implementation, which allows using AppSearch on older devices without incurring the significant apk size cost of LocalStorage. This storage implementation works by storing app data within the Play Services app.
  • Support for new APIs on devices running Android 15.
  • Support searching the database by embedding vectors, allowing for fuzzy matching. (I2b41b)
  • Support parent types and polymorphism within the AppSearch schema model. (I06118)
  • Support the TakenAction API which allows apps to report when results were clicked or abandoned, for quality boosting during subsequent searches. (I54091)
  • Support classes with builders in the annotation processor by introducing the new @Document.BuilderProducer annotation. (Iec30a)
  • Support finer-grained control over which properties of a nested document get indexed. (Iec30a)
  • Support for filtering searches to certain document properties. (Ib2659)
  • Support finer-grained visibility settings by allowing OR and AND of visibility settings. (I0274b)
  • Support for granting visibility of data to all apps that can see the existence of the owning app (public visibility). (I992e4)
  • Support for retrieving only results that have data populated in a certain property. (I7d94f)
  • Support for retrieving enterprise contacts in the personal profile. (Idd587)

API Changes

  • Add indexableNestedPropertiesList and inheritIndexableNestedPropertiesFromSuperclass annotation parameters to AppSearch's Document.DocumentProperty annotation to allow indexing specific nested property paths. (Iec30a)
  • Support builder constructor to create builder instances in AppSearch annotation processor (I265c9)
  • Update AppSearch annotation processor to support setting parent types for polymorphism (I06118)
  • Adds GetSchemaRequest method for clearing visibility settings (I38379)
  • Support addParentType in AppSearch for polymorphism (Ida14a)
  • Add APIs for additional ranking expressions (I5d9f4)
  • Add SearchAction API (I54091)
  • Adds description field for AppSearch types (I84762)
  • Onboard embedding search query and ranking APIs to AppSearch (I0f6c3)
  • Removes getDeletionPropagation (I21192)

Benchmark: v1.3.0-rc01

August 7, 2024

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

Bug Fixes

  • Fix androidx.benchmark.cpuEventCounter producing corrupt values for non-Instruction events (I7386a, b/286306579)
  • Fix resumeTiming/runWithTimingDisabled to respect metric priority order, and significantly reduce impact of lower priority metric pause/resume on higher priority metric results. For example, if using cpu perf counters via cpuEventCounter.enable instrumentation argument, timeNs is no longer significantly reduced when pause/resume occur. (I39c2e, b/286306579, b/307445225)
  • Reduced chance of stack sampling causing measureRepeatedOnMainThread from hitting main thread hard timeout by moving stack sampling conversion off main thread. (I487a8, b/342237318)
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (I9496c, b/345472586)
  • Added agp version check to send package name as instr arg. Previous to AGP 8.4.0 the target app package name cannot be send to the instrumentation app via instrumentation arguments. (0c72a3f)

Biometric: v1.4.0-alpha02

August 7, 2024

androidx.biometric:biometric:1.4.0-alpha02 and androidx.biometric:biometric-ktx:1.4.0-alpha02 are released. Version 1.4.0-alpha02 contains these commits.

New Features

  • PromptContentView allows developers to show the custom content view as an additional option of plain description text view
  • App logo on Biometric Prompt is shown - automatically added using application icon.

API Changes

  • Add APIs to support custom content view
    • BiometricPrompt.PromptInfo.Builder#setContentView
    • BiometricPrompt.PromptInfo#getContentView
    • PromptContentView interface
    • PromptVerticalListContentView class
    • PromptContentViewWithMoreOptionsButton class (for privileged apps only)
  • Add APIs to support logo (for privileged apps only)
    • BiometricPrompt.PromptInfo.Builder#setLogoBitmap
    • BiometricPrompt.PromptInfo.Builder#setLogoRes
    • BiometricPrompt.PromptInfo.Builder#setLogoDescription
    • BiometricPrompt.PromptInfo#getLogoBitmap
    • BiometricPrompt.PromptInfo#getLogoRes
    • BiometricPrompt.PromptInfo#getLogoDescription58c35c6

Bug Fixes

Camera: v1.4.0-rc01

August 7, 2024

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

New Features

  • Added experimental CameraInfo.getCameraInfo to provide specific camera information without the need of binding use cases to the camera.

API Changes

(I550d1) - PreviewView.getScreenFlash and PreviewView.setScreenFlashOverlayColor API are added for cases where ScreenFlashView is not explicitly added. (I43945)

Bug Fixes

  • Fixed exposure and color tint issues when image captured with flash enabled under low light with VideoCapture use case bound. (Ic9814)
  • Fix the issue that interrupting a takePicture request with Extensions enabled could fail to get result and the next takePicture request might no longer work. (Iae78f)
  • Fixed a memory leakage issue that happens when Extensions are enabled. (Iab276)
  • Resolved a CameraX extensions malfunction on devices like Pixel 7/8 and Samsung Galaxy S24 series. The issue, stemming from a Camera2OutputConfigImpl conversion problem in release mode, surfaced after upgrading AGP to 8.5.1 and enabling minification. (I99598, b/354824993)

Collection: v1.4.3

August 7, 2024

androidx.collection:collection-*:1.4.3 is released. Version 1.4.3 contains these commits.

Bug Fixes

  • Fixed a corruption that could happen in ScatterMap, ScatterSet, and their primitive variants. (I38a4a, b/352560465)
  • Performance optimizations. In particular:
  • Replace calls to check() and required() with variants that don't inline exception throws. This reduces the final binary size and more importantly relieves i-cache pressure a little bit.
  • Improved removeDeletedMarkers() in the "scatter" family of collections. The new version clears deleted markers 8 markers at a time and skips more expensive writes in the process. (Ic0566)

Compose Animation: v1.7.0-beta07

August 7, 2024

androidx.compose.animation:animation-*:1.7.0-beta07 is released. Version 1.7.0-beta07 contains these commits.

Bug Fixes

  • Fixed SharedTransitionScope not drawing overlay items during transition in certain conditions, which would typically include usage with Navigation. (Id65ab, b/347520198)

Compose Compiler: v1.5.15

August 7, 2024

androidx.compose.compiler:compiler:1.5.15 and androidx.compose.compiler:compiler-hosted:1.5.15 are released. Version 1.5.15 contains these commits.

  • This compiler release is targeting Kotlin 1.9.25.

Compose Foundation: v1.7.0-beta07

August 7, 2024

androidx.compose.foundation:foundation-*:1.7.0-beta07 is released. Version 1.7.0-beta07 contains these commits.

Bug Fixes

  • Text input related SemanticsNodeInteraction functions performTextReplacement, performTextInput, and performTextClearance is now going to throw assertion errors when they are called on read only TextFields. (I4ae8f)
  • Fixed a visual glitch in hyperlinks. (I23311)
  • Fixed contentReceiver modifier not working with some IMEs.
  • Velocity generation: Prevent propagation of NaN values in Compose UI and Foundation.

Compose Material: v1.7.0-beta07

August 7, 2024

androidx.compose.material:material-*:1.7.0-beta07 is released. Version 1.7.0-beta07 contains these commits.

Compose Runtime: v1.7.0-beta07

August 7, 2024

androidx.compose.runtime:runtime-*:1.7.0-beta07 is released. Version 1.7.0-beta07 contains these commits.

Compose UI: v1.7.0-beta07

August 7, 2024

androidx.compose.ui:ui-*:1.7.0-beta07 is released. Version 1.7.0-beta07 contains these commits.

Bug Fixes

  • Text input related SemanticsNodeInteraction functions performTextReplacement, performTextInput, and performTextClearance is now going to throw assertion errors when they are called on read only TextFields. (I4ae8f)

Constraintlayout: v2.2.0-alpha14

August 7, 2024

androidx.constraintlayout:constraintlayout:2.2.0-alpha14 is released. Version 2.2.0-alpha14 contains these commits.

ConstraintLayout-compose, and ConstraintLayout-Core 1.1: v1.1.0-alpha14

August 7, 2024

androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14, androidx.constraintlayout:constraintlayout-compose-android:1.1.0-alpha14, and androidx.constraintlayout:constraintlayout-core:1.1.0-alpha14 are released. Version 1.1.0-alpha14 contains these commits.

API Changes

  • Flags are now provided individually through the companion object and may be combined with the or operator. (I9df53)
  • Simplified createRow & createColumn helpers. Improved createGrid parameter names and documentation for clarification. (Iebc92)
  • Simplified animateChanges API in ConstraintLayout to only need a non-null AnimationSpec. onIncomingConstraints in InvalidationStrategy is now a regular lambda. fixedWidthRate renamed to shouldInvalidateOnFixedWith, same for the Height variant. (Ie59cd, b/332898040, b/336370035)
  • NestedScroll sources Drag and Fling are being replaced by UserInput and SideEffect to accommodate for the extended definition of these sources that now include animations (Side Effect) and Mouse Wheel and Keyboard (UserInput). (I40579)

credentials: v1.5.0-alpha04

August 7, 2024

androidx.credentials:credentials:1.5.0-alpha04 and androidx.credentials:credentials-play-services-auth:1.5.0-alpha04 are released. Version 1.5.0-alpha04 contains these commits.

API Changes

  • Added a default value for isCloudBackupEnabled parameter of CreateRestoreCredentialRequest.

Bug Fixes

  • Removed minSdkVersion for credentials-play-services-auth.

Games-Activity: v3.0.5

August 7, 2024

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

Bug Fixes

  • New release of GameActivity to match the 3.0.4 release of GameTextInput (fixed functionality of text deletion in inputs).

Games-Text-Input: v3.0.4

August 7, 2024

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

Bug Fixes

  • Fixed functionality of deletion with and without text selection.

Games Performance Tuner 2.0: v2.0.0

August 7, 2024

androidx.games:games-performance-tuner:2.0.0 is released. Version 2.0.0 contains these commits.

Major features of 2.0.0

  • No major changes since 2.0.0beta01, we’re just marking this release as stable.

Navigation: v2.8.0-beta07

August 7, 2024

androidx.navigation:navigation-*:2.8.0-beta07 is released. Version 2.8.0-beta07 contains these commits.

Bug Fixes

  • When navigating to duplicate or shared destinations, navigation will prioritize going to the closest matching destination from the current location in the graph. (Ic89a4, b/352006850)
  • Navigation in safe args now has added a new NavType.EnumType. This means Enum types no longer require custom NavTypes. Note that the Enum’s SerialName must be the default fully qualified name. (I66d22, b/346475493)
  • Navigation in safe args has added built-in support for nullable argument types including Int?,Long?, Float?, Boolean?, and Enum<*>?. (I32d13,I1c580,Ifba66,I978b0,Ide076 , b/351994237)
  • The NavGraph’s startDestination will now use the default argument values if the startDestination route passed to the NavGraph is exactly equal to the startDestination.route. (I13762, b/354046047)

Paging: v3.3.2

August 7, 2024

androidx.paging:paging-*:3.3.2 is released. Version 3.3.2 contains these commits.

New Features

  • paging-common and paging-testing has added new Kotlin-Multiplatform targets: watchos, tvos, and linuxArm64 (90c9768), (53e0eca)

pdf: v1.0.0-alpha01

August 7, 2024

androidx.pdf:pdf-viewer:1.0.0-alpha01 and androidx.pdf:pdf-viewer-fragment:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

New Features

The initial alpha release of PDFViewer includes early preview implementations that enable core PDF reading scenarios. Please note that the PdfViewerFragment is currently supported only on Android V (SDK 35) versions. Support for older Android versions will be added in upcoming releases. - Introduced PdfViewerFragment which your app can use to render a PDF document. PdfViewerFragment simplifies integrating a PDF viewer in your Activity and lets the users interact in the following ways - - Zooming: Pinch in and out to adjust zoom levels for a comfortable reading experience as well as double tap for a quick zoom in/out to the default state. - Navigation: Scroll in the default/zoomed state. PdfViewerFragment provides a quick scrubber for fast scrolling between pages. - Text actions: Long tapping on text selects it, allowing users to use options like Copy and Select all on the current page. - Password-protected documents: PdfViewerFragment provides a dialog box for the user to enter the password and open the document. - Navigable hyperlinks: Users can navigate to Web URLs or bookmarks by tapping on hyperlinks within the PDF. - Shortcut to annotations mode: Edit mode is not yet supported in PdfViewerFragment. Instead, PdfViewerFragment displays a FloatingActionButton that fires an implicit android.intent.action.ANNOTATE intent with the document URI.

API Changes

  • Added PdfViewerFragment.documentUri property to set a file or content URI for the document and initiate the document loading. PdfViewerFragment displays a loading spinner when the URI is set indicating the background processing of the document.
  • Added PdfViewerFragment.isTextSearchActive to toggle the visibility of the find in file menu. PdfViewerFragment handles the entire flow - allowing input, displaying total number of matches, enabling navigation between results and exiting it.
  • Added onDocumentLoadSuccess and onDocumentLoadError callbacks which are invoked after successful rendering of the document or after an error is thrown before the rendering.

Known Issues

  • Find in file bar overlaps with the FloatingActionButton in some cases.
  • FloatingActionButton icon isn’t visible for single page PDFs.
  • Result count is not preserved on configuration change in the find in file menu.
  • Flickering is observed while closing the find in file menu
  • 3D images in PDF documents are not rendered in the viewer.
  • Accessibility features will be enabled in the following releases.
  • PDF image gets blurry on rotating from portrait to landscape.
  • No support for text/highlight annotation.
  • PdfViewerFragment has some performance issues on very large PDF documents (> 250 MB)

Note

ProfileInstaller: v1.4.0-alpha02

August 7, 2024

androidx.profileinstaller:profileinstaller:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.

New Features

  • Added api 35 support to Profile Installer. (6f9f6fa)

Bug Fixes

  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (If6b4c, b/345472586)

Recyclerview: v1.4.0-alpha02

August 7, 2024

androidx.recyclerview:recyclerview:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.

API Changes

Bug Fixes

  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (Ia60e0, b/345472586)
  • Add type to RecyclerView bind/create trace sections, and label RV prefetches as 'forced - needed next frame' if they are expected to be used by the next frame, and thus should start work as soon as possible. (I8ec3e, b/309523615)

External Contribution

  • GestureDetectorCompat is now deprecated as GestureDetector is available from the minSdk. (Icc4cd)

Note

Room: v2.7.0-alpha06

August 7, 2024

androidx.room:room-*:2.7.0-alpha06 is released. Version 2.7.0-alpha06 contains these commits.

API Changes

  • Change the instantiation setup for a RoomDatabase in a KMP project.

Due to Kotlin 2.0 compilation model, the strategy of referencing a to-be-generated function, named instantiateImpl() is longer viable. Two new APIs, @ConstructedBy and RoomDatabaseConstructor are introduced that replace the instantiateImpl() strategy. The new strategy is as follow:

  1. Define an expect object that implements `RoomDatabaseConstructor`
  ```
  expect object MyDatabaseCtor : RoomDatabaseConstructor<MyDatabase>
  ```
  2. Link the object with the `@Database` declaration using `@ConstructedBy`
  ```
  @Database(...)
  @ConstructedBy(MyDatabaseCtor::class) // NEW
  abstract class MyDatabase : RoomDatabase
  ```
  3. Create a new database instance but without passing a factory argument
  ```
  fun createNewDatabase(path: String) =
      Room.databaseBuilder<AppDatabase>(name = path)
          .setDriver(BundledSQLiteDriver())
          .setQueryCoroutineContext(Dispatchers.IO)
          .build()
  ```

(Ic787a, b/316978491, b/338446862, b/342905180) - Support for @RawQuery in Room KMP by adding a new API called RoomRawQuery that is similar to SupportSQLiteQuery in terms of holding into the raw SQL string and a function to bind arguments into a statement. @RawQuery annotated functions can now accept a RoomRawQuery as their single parameter. (Iea844, b/330586815) - Add an overload of setQueryCallback() that accepts a CoroutineContext. (Id66ff, b/309996304) - Added support for linuxArm64 Kotlin Multiplatform targets (I139d3, b/338268719)

Bug Fixes

  • Fix an issue where Room would incorrectly generate a call to recursiveFetchArrayMap in non-Android targets. (710c36, b/352482325)
  • Fix an issue where sometimes Room would throw an exception about ‘Timed out attempting a connection’ in a KMP project. (fa72d0, b/347737870)
  • Fix an issue in auto-migrations that would check for foreign keys too early before other tables changed their schemas to conform to the new foreign keys. (7672c0, b/352085724)

Savedstate: v1.3.0-alpha01

August 7, 2024

androidx.savedstate:savedstate:1.3.0-alpha01 and androidx.savedstate:savedstate-ktx:1.3.0-alpha01 are released. Version 1.3.0-alpha01 contains these commits.

API Changes

  • The savedstate-ktx kotlin extensions have now been moved to the base savedstate module. (I1cc18, b/274803094)

Note

  • Update compileSdk to 35 (5dc41be)

Security-State: v1.0.0-alpha04

August 7, 2024

androidx.security:security-state:1.0.0-alpha04 is released. Version 1.0.0-alpha04 contains these commits.

Note

API Changes

  • Breaking change: Component enum was replaced with string constants for extensibility. (Ia3283)

Sqlite: v2.5.0-alpha06

August 7, 2024

androidx.sqlite:sqlite-*:2.5.0-alpha06 is released. Version 2.5.0-alpha06 contains these commits.

New Features

Tv-Material: v1.0.0-rc02

August 7, 2024

androidx.tv:tv-material:1.0.0-rc02 is released. Version 1.0.0-rc02 contains these commits.

Bug Fixes

  • Fixed Jittery text animation in Surface composable. (3163319)

wear protolayout: v1.2.0

August 7, 2024

androidx.wear.protolayout:protolayout-*:1.2.0 is released. Version 1.2.0 contains. these commits.

Important changes since 1.1.0

  • FontStyle has been updated to have additional font support for the variable axes and better font selection API to support upcoming Flex fonts.
  • Additional Modifiers support:
    • Transformation modifier offering translation, rotation and scaling with or without animations.
    • Specifying different values (horizontal and vertical) for each corner radius.
  • Improved accessibility of all touch targets by extending the tappable area of any element that uses Clickable modifier to be at least 48dp by 48dp.
  • Improved PrimaryLayout and EdgeContentLayout by adding setResponsiveContentInsetEnabled to better support responsive behavior of these layouts across different screen sizes and improve Tiles consistency.
  • Improved scaling/non-scaling of the Material Text for Android 14's non-linear font scaling.
  • Improved support for RTL layout direction on all arc elements.

Additional changes

Wear Tiles: v1.4.0

August 7, 2024

androidx.wear.tiles:tiles-*:1.4.0 is released. Version 1.4.0 contains these commits.

Important changes since 1.3.0

  • Tooling support for specifying custom platform data for Tiles previews in Android Studio.

WindowManager: v1.4.0-alpha01

August 7, 2024

androidx.window:window-*:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.

New Features

  • ActivityStack Pinning allows apps to pin the content in one container and have its navigation isolated from the other container.
  • Interactive Divider allows apps to display a fixed or draggable divider between the two activities in a split presentation.
  • Fullscreen Dialog Dimming allows apps to specify the dialog dim area, to either dim the entire task window or only dim the container that shows the dialog.
  • Embedded Activity Window Info Callback allows apps to continuously receive updates of the embedded activity window.
  • Embedding Animation Background allows apps to specify the animation background, improving the transition animation quality when ActivityEmbedding is used.
  • Improved ActivityStack Management allows apps to have more control over the ActivityStacks when ActivityEmbedding is used, including:
  • Launching an activity into a specified ActivityStack
  • Finishing an ActivityStack

API Changes

WindowInfoTracker#supportedPostures

    - An API to determine if the device supports TableTop mode for foldables. Adds WindowAreaSessionPresenter#getWindow

Add APIs to support ActivityStack pinning:

    - `SplitPinRule` class
    - `SplitController#pinTopActivityStack`
    - `SplitController#unpinTopActivityStack`

Add APIs to enable and configure the interactive divider

    - `DividerAttributes` class
    - `SplitAttributes.Builder#setDividerAttributes`

Add APIs to set EmbeddingConfiguration and DimAreaBehavior for dialogs

    - `EmbeddingConfiguration` class
    - `DimAreaBehavior` class
    - `ActivityEmbeddingController#setEmbeddingConfiguration`

Add APIs to receive embedded activity window info updates

    - `EmbeddedActivityWindowInfo` class
    - `ActivityEmbeddingController#embeddedActivityWindowInfo`

Add APIs to set embedding animation background

    - `EmbeddingAnimationBackground`
    - `SplitAttributes.Builder#setAnimationBackground`

Add APIs to finish ActivityStacks - ActivityEmbeddingController#finishActivityStacks

Add APIs to set launching ActivityStack

    - `ActivityEmbeddingOptions#setLaunchingActivityStack`

The following APIs are stable and no longer experimental:

    - `ActivityEmbeddingController#invalidateVisibleActivityStacks` (moved from SplitController#invalidateTopVisibleSplitAttributes)
    - `ActivityEmbeddingController#getActivityStack`
    - `SplitController#updateSplitAttributes`

Bug Fixes

  • Fixes bug on certain devices where UNAVAILABLE would be returned instead of ACTIVE when a session is active.
  • Removes support for transferActivityToWindowArea on devices with a vendorApiLevel of 2 due to unstable API support.
  • Introduce API to enable drag-to-fullscreen for Activity Embedding draggable divider. (I645c9)
  • Allow apps to disable ActivityEmbedding animations via animation params for SplitAttributes. (Idc01a)
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (Ia60e0, b/345472586)
  • Allow extensions to take animation params for SplitAttributes so that the device can use it for animation transitions. (Iede00)
  • Hide overlay APIs (Ic4251)
  • Introduce APIs to configure the fixed or draggable divider for the split (Ia7a78)
  • Added density to WindowMetrics (Id6723)
  • Add API to get the SupportedPostures. (If557a)
  • Remove setLaunchingActivityStack from experimental API (I191cf)
  • Introduce ActivityEmbeddingController#embeddedActivityWindowInfo (I24312)
  • Deprecate #getToken and add #getActivityStackToken (Ie0471)
  • Introduce callback adapter for embeddedActivityWindowInfo flow API (Ida77f)
  • Add callback adapter for overlayInfo flow API (I7264f)
  • Introduce WindowSdkExtensionsRule to override extensionsVersion for testing. (Ifb928)
  • - Migrate #setLaunchingActivityStack to Bundle to compat with ActivityOptionsCompat usages.
    • Users should pass activityOptions.toBundle instead of ActvityOptions itself.
    • Remove #setLaunchingActivityStack(Activity). Users should migrate to use ActivityEmbeddingController#getActivityStac(Activity) to get an ActivityStack, and pass the ActivityStack to #setLaunchingActivityStack. (Ie0ccc)
  • - Introduce ActivityStack.Token and SpltInfo.Token as an identifier to communicate between WM Jetpack and extensions.
    • Deprecate/Replace APIs to take/return Token instead of IBinder. (I12b24)
  • - Introduce ActivityEmbeddingController#invalidateVisibleActivityStacks
    • Remove SplitController#invalidateTopVisibleSplitAttributes because the feature is consolidate to #invalidateVisibleActivityStacks (I02ef5)
  • - Adding API to set embedding configuration. (I59a4a)
  • - Adding pin/unpin top ActivityStack androidx.Window APIs
    • Updating demo app to allow pin/unpin top ActivityStack (I24dd3)
  • Re-add #finishActivityStacks and ActivityEmbeddingOptions (Ic1ab3)
  • Remove unstable APIs. (Ibc534, b/302380585)

WorkManager: v2.9.1

August 7, 2024

androidx.work:work-*:2.9.1 is released. Version 2.9.1 contains these commits.

Bug Fixes