Skip to content

2023-02-22

Choose a tag to compare

@github-actions github-actions released this 22 Feb 18:41
· 162 commits to main since this release

Activity: v1.7.0-beta02

February 22, 2023

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

API Changes

  • The action and extra used by the PickVisualMedia and PickMultipleVisualMedia contracts as a fallback for when MediaStore.ACTION_PICK_IMAGES is unavailable are now public constants that provide API stability to OEMs and system apps that want to provide a consistent Photo Picker experience. The implementation of this fallback is still limited to only system apps. (Icd320)

Annotation: v1.6.0

February 22, 2023

androidx.annotation:annotation:1.6.0 and androidx.annotation:annotation-jvm:1.6.0 are released. Version 1.6.0 contains these commits.

Important changes since 1.5.0

  • Adds a @RequiresExtension annotation to express that an API requires a particular version of a particular extension SDK (I5e4fe)
  • Converted annotation library to build using the Kotlin Multiplatform toolchain (I3be8d)

Arch Core: v2.2.0

February 22, 2023

androidx.arch.core:core-common:2.2.0, androidx.arch.core:core-runtime:2.2.0, and androidx.arch.core:core-testing:2.2.0 are released. Version 2.2.0 contains these commits.

Important changes since 2.1.0

  • Added the correct nullability to many APIs that previously did not specify whether they were @NonNull or @Nullable. This may be source incompatible if your Kotlin code was assuming the wrong nullability.

Benchmark: v1.2.0-alpha10

February 22, 2023

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

New Features

  • On Android 14+, Macrobenchmark no longer reinstalls target applications to reset compilation state, thanks to a new platform feature. Previously it was necessary to have a rooted device, or to deal with all application state (e.g. user login) being removed before each benchmark runs. (I9b08c, b/249143766)

Bug Fixes

  • Fix DryRunMode to no longer crash with empty profile, due to compilation skipping. Instead, it runs a single iteration and extracts the profile to ensure something is captured. (I2f05d, b/266403227)
  • Fix PowerMetric crash when checking for powerstats presence on old API levels. (5faaf9, b/268253898)

CameraX: v1.3.0-alpha04

February 22, 2023

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

New Features

A new feature to support previously unsupported Surface combinations by sharing one stream to multiple UseCases.

  • Previously, when binding “Preview, VideoCapture, ImageAnalysis” on camera hardware level FULL and below, or binding “Preview, VideoCapture, ImageCapture” on hardware level LEGACY, CameraX throws IllegalArgumentException.
  • The new behavior is that the bindings will work without throwing exceptions. Instead, CameraX uses OpenGL to copy a shared stream to both Preview and VideoCapture.
  • As the cost of the buffer copy, the app may see an increase in latency and power consumption.

API Changes

  • Add API to convert ImageProxy to Bitmap. The supported ImageProxy format is ImageFormat.YUV_420_888 and PixelFormat.RGBA_8888. If the format is invalid, IllegalArgumentException will be thrown. (Ic7110)
  • Add CoroutineCameraViewfinder to support configuring viewfinder using suspending functions in Kotlin. (I657bc)
  • Add new public constructor for ViewfinderSurfaceRequest. It provides the flexibility when user cannot provide CameraCharacteristics. (Ie6549)

Bug Fixes

  • Fixed the Extensions crash that happens on some Samsung devices when pausing/resuming the app too quickly (Iaca26)

Car App: v1.4.0-alpha01

February 22, 2023

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

API Changes

  • Adds top-level actions to GridTemplate in Car App Library (Id0191)
  • Adds top-level actions to ListTemplate in Car App Library (I9efab)
  • Add extras to link a media item's subtitle or its description to other media items (Ic84bf)
  • Update api level for row actions to level 6. (Ie0a69)
  • Add messaging callbacks to A4C (Ie3986)

Bug Fixes

  • Add missing java doc references for CarMessage. (I5db1c)
  • Override equals() and hashCode() for ConversationItem and CarMessage (I6fd10)
  • Improve ConversationItem.mMessages validation (require non-null, non-empty (Iafc51)
  • Add @Keep annotations to ConversationItem fields (I5d250)
  • Update java docs for the Row decoration and secondary actions. (I000b6)

Compose Animation: v1.4.0-beta02

February 22, 2023

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

Compose Compiler: v1.4.3

February 22, 2023

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

Bug Fixes

  • Fixes conditional composable calls in arguments of composable calls (Ie93edb)

Compose Foundation: v1.4.0-beta02

February 22, 2023

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

API Changes

  • Added a new Modifier.Node.onReset() callback allowing you to reset some local state to properly handle the case when the Layout will be reused (for example as an item of LazyColumn). Fixed FocusTargetModifierNode to properly reset the focused state. (I65495, b/265201972)
  • Added BlendMode parameter to DrawScope.drawText, Paragraph.paint, and MultiParagraph.paint methods to support different blending algorithms when drawing text on Canvas. (I57508)
  • Removed the modifierElementOf() API. Please extend from ModifierNodeElement directly instead. (Ie6d21)

Bug Fixes

  • Adjusting selection handles can no longer select a partial character. (Idedd1)
  • Fix crash when ctrl+backspace on empty TextField (I0427f, b/244185537)

Compose Material: v1.4.0-beta02

February 22, 2023

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

API Changes

  • Incorporated changes in the Swipeable APIs in BottomSheetScaffold. BottomSheetState's confirmStateChange param has been renamed to confirmValueChange. progress is now exposed as a float value. animateTo and snapTo are internal. Use expand() and collapse() instead. direction and overflow have been removed. offset has been replaced with requireOffset(). (I323b4)

Bug Fixes

  • Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics (Ibb4ba)
  • Minor update to the extended Material icons that tweaks the filled desktop_mac, directions, and kitchen icons. (I65f5e)

Compose Material 3: v1.1.0-alpha07

February 22, 2023

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

New Features

  • Add a Time Input composable that works with rememberTimePickerState(), it follows the M3 spec for time input (Ia4fab)
  • Added a Material 3 DateRangePicker API for selecting a range of dates. (I7a6c3, b/267194809)
  • Added a Material 3 input mode support for selecting date ranges via the DateRangePicker API. (Ifdbc4)
  • Text field colors now allow customizing:
    • The input field and placeholder text colors based on focus and error state. The textColor parameter has been renamed to unfocusedTextColor, and placeholderColor has been renamed to unfocusedPlaceholderColor.
    • The container color for filled text fields based on error state with the new errorContainerColor param.
  • Exposed dropdown menu text field colors have been updated with parameters to support the new prefix and suffix API. (I9c8b4, b/254284181, b/264766350)

API Changes

  • Reverting some Slider API versions and removing redundant Slider overloads that are covered by the new experimental Slider with custom thumb and track. Promoting RangeSlider to be stable. (Ie8fbd)
  • Renamed defaultElevation to elevation in chip's elevation functions. (I0f872)
  • The following Material 3 text field APIs are no longer experimental: TextField, OutlinedTextField, textFieldWithLabelPadding, textFieldWithoutLabelPadding, outlinedTextFieldPadding. (Ieb5c0, b/261561819)
  • TimePickers is24Hour uses system setting (I18856)
  • Removed experimental annotation from scaffold apis. (Ibb51e, b/261565765, b/261436953)

Bug Fixes

  • ModalBottomSheet default shape is now always SheetDefaults.ExpandedShape. (I0dfca)
  • Accessibility improvements for Material 3 DatePicker and DateRangePicker. (I5087e)
  • Fix bug where max height constraint is propagated and may crash. (I30d8c)
  • Removed semantic roles from clickable and selectable surfaces, updated components that used them to set roles using modifier.semantics (I793d9)

Compose Runtime: v1.4.0-beta02

February 22, 2023

androidx.compose.runtime:runtime:1.4.0-beta02 and androidx.compose.runtime:runtime-saveable:1.4.0-beta02 are released. Version 1.4.0-beta02 contains these commits.

Compose UI: v1.4.0-beta02

February 22, 2023

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

API Changes

  • Removed the modifierElementOf() API. Please extend from ModifierNodeElement directly instead. (I2256b)
  • Added a new Modifier.Node.onReset() callback allowing you to reset some local state to properly handle the case when the Layout will be reused (for example as an item of LazyColumn). Fixed FocusTargetModifierNode to properly reset the focused state. (I65495, b/265201972)
  • Added BlendMode parameter to DrawScope.drawText, Paragraph.paint, and MultiParagraph.paint methods to support different blending algorithms when drawing text on Canvas. (I57508)

Bug Fixes

  • Accessibility focus order algorithm improved, for example top/bottom bars are more often read first/last respectively (74e9c5)

Concurrent: v1.2.0-alpha01

February 22, 2023

androidx.concurrent:concurrent-futures:1.2.0-alpha01 and androidx.concurrent:concurrent-futures-ktx:1.2.0-alpha01 are released. Version 1.2.0-alpha01 contains these commits.

API Changes

  • ResolvableFuture now has proper nullability annotations on its methods. (I2339f, b/236474470)

Core Splashscreen: v1.1.0-alpha01

February 22, 2023

androidx.core:core-splashscreen:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

Bug Fixes

  • Fixed a NullPointerException when SplashScreenView#getIconView returned null. (e231ab)

Core and Core-ktx: v1.10.0-beta01

February 22, 2023

androidx.core:core:1.10.0-beta01 and androidx.core:core-ktx:1.10.0-beta01 are released. Version 1.10.0-beta01 contains these commits.

API Changes

  • The AccessibilityNodeInfoCompat APIs of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration. (f46689)
  • Added NotificationCompat.bigLargeIcon(Icon) (I60855)

Bug Fixes

  • Fix docs regarding default value of NotificationCompat.Builder.setShowWhen() (ba52a2)
  • Fix typo in AccelerateInterpolator / DecelerateInterpolator docs (2173505)
  • Fix typo in ShortcutInfoCompat docs (44075f)
  • Fix up, down, spacebar and key variation keyboard actions with NestedScrollView and CoordinatorLayout (bdd72e)

credentials: v1.0.0-alpha03

February 22, 2023

androidx.credentials:credentials:1.0.0-alpha03 and androidx.credentials:credentials-play-services-auth:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.

New Features

  • Added support for Sign-in with Google.

API Changes

  • Allows UnsupportedException to function correctly (I68208)
  • Adding a new exception type to account for cases such as when the device does not contain the necessary flags (If08dd)
  • CredentialManager exception api (I72947)

Emoji2: v1.3.0-beta03

February 22, 2023

androidx.emoji2:emoji2:1.3.0-beta03 is released. Version 1.3.0-beta03 contains these commits.

New Features

  • No changes. This release is to prepare for compose integration.

Emoji2 Emojipicker: v1.0.0-alpha02

February 22, 2023

androidx.emoji2:emoji2-emojipicker:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • Added new API for java clients to be able to provide recent emojis. (I39d10)

Bug Fixes

  • Update emoji resources to support emoji 15.0 (Ib4eb3)
  • When picking an emoji from the popup window, update all identical emojis to the newly picked emoji (except the recent emoji row). Also announce the emoji when clicking. (I892c6)
  • Wait for emojicompat to load before showing the EmojiPickerView. (I29e03)

Fragment: v1.6.0-alpha06

February 22, 2023

androidx.fragment:fragment-*:1.6.0-alpha06 is released. Version 1.6.0-alpha06 contains these commits.

Behavior change

  • The new onBackStackChangedStarted callback on FragmentManager's onBackStackChangedListener will now be executed before fragments begin to move to their target states. (I34726)

Games-Memory-Advice version 2.0.0: v2.0.0-beta01

February 22, 2023

androidx.games:games-memory-advice:2.0.0-beta01 is released. Version 2.0.0-beta01 contains these commits.

New Features

  • No new changes

Games Performance Tuner 2.0: v2.0.0-alpha03

February 22, 2023

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

Bug Fixes

  • Games-Performance-Tuner has been moved to a new release process. There should be no behavior changes.

Games Frame Pacing: v2.0.0-rc01

February 22, 2023

androidx.games:games-frame-pacing:2.0.0-rc01 is released. Version 2.0.0-rc01 contains these commits.

New Features

  • Logging is now hidden behind a compile flag. By default release build of the library has no logging, and debug release of the library has all the logging turned on.

Games-Activity: v2.0.0-rc01

February 22, 2023

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

Health Connect: v1.0.0-alpha11

February 22, 2023

androidx.health.connect:connect-client:1.0.0-alpha11 is released. Version 1.0.0-alpha11 contains these commits.

API Changes

  • Adding an intent to use for opening Health Connect. (Ic8055)
  • Removing some exercise types. Use EXERCISE_TYPE_STRENGTH_TRAINING, EXERCISE_TYPE_HIGH_INTENSITY_INTERVAL_TRAINING or EXERCISE_TYPE_CALISTHENICS in place of the removed types. (I7291c)
  • Adding new API sdkStatus() that combines the two now deprecated APIs isSdkSupported() and isProviderAvailable(). (Iac89d)
  • Changing APIs that accept providerPackageName to accept a single string rather than a list. (I67e0f)

JavascriptEngine: v1.0.0-alpha04

February 22, 2023

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

Bug Fixes

  • Fixes a rare case of NullPointerException caused when the sandboxed process dies.

Lifecycle: v2.6.0-rc01

February 22, 2023

androidx.lifecycle:lifecycle-*:2.6.0-rc01 is released. Version 2.6.0-rc01 contains these commits.

Bug Fixes

  • The LiveData.distinctUntilChanged() extension now sets the value of the returned LiveData if the previous LiveData has had a value set on it. This does not change the observation behavior - updated values from the source LiveData will still only apply once you start observing the LiveData returned from distinctUntilChanged(). (Ib482f)

Mediarouter: v1.4.0-beta02

February 22, 2023

androidx.mediarouter:mediarouter:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.

Bug Fixes

  • Fix regression causing application crashes due IllegalArgumentException in MediaRouterProvider.notifyDynamicRoutesChanged (7d17ea).

Navigation: v2.6.0-alpha06

February 22, 2023

androidx.navigation:navigation-*:2.6.0-alpha06 is released. Version 2.6.0-alpha06 contains these commits.

New features

  • When previewing a composable with NavHost, it will now show the NavGraph's startDestination by default. (I2b89f)

API Changes

  • All NavController navigate overloads are now annotated with @MainThread to ensure that they are called on the main thread. (I2c0b0, b/263427111)

Bug Fixes

  • Fixed a crash when attempting to navigate while using Dynamic Fragment Navigation. (I3ee29, b/268360479)
  • Fixed bug where navigating to another fragment via system back button does not update bottom bar to the correct selected item (If559f, b/269044426)

privacysandbox ads: v1.0.0-beta01

February 22, 2023

androidx.privacysandbox.ads:ads-adservices:1.0.0-beta01 and androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.

New Features

androidx.privacysandbox.ads:ads-adservices:1.0.0-beta01 and androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta01 are released. [Version 1.0.0-beta01 contains these commits.] - This is a new Jetpack library that enables integration with Privacy Sandbox’s Privacy Preserving APIs (Topics, FLEDGE and Attribution Reporting). - Note: Attribution Reporting has been disabled and is not available for use in this release. - The Jetpack Privacy Sandbox APIs can be used as a drop-in replacement for the Privacy Sandbox APIs provided in the Extension SDK 4.

Room: v2.5.0

February 22, 2023

androidx.room:room-paging-guava:2.5.0, androidx.room:room-paging-rxjava2:2.5.0, and androidx.room:room-paging-rxjava3:2.5.0 are released. Version 2.5.0 contains these commits.

Security: v1.1.0-alpha05

February 22, 2023

androidx.security:security-crypto:1.1.0-alpha05 and androidx.security:security-crypto-ktx:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.

Bug Fixes

Tracing Perfetto: v1.0.0-alpha11

February 22, 2023

androidx.tracing:tracing-perfetto:1.0.0-alpha11, androidx.tracing:tracing-perfetto-binary:1.0.0-alpha11, and androidx.tracing:tracing-perfetto-common:1.0.0-alpha11 are released with no changes. Version 1.0.0-alpha11 contains these commits.

Wear Compose: v1.2.0-alpha05

February 22, 2023

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

API Changes

  • Updated PickerGroup API to allow propagating the min constraints to the composable optionally. When set as true, the minimum constraints passed from the parent composable will be allowed on the PickerGroup. If set as false, PickerGroup will reset the minimum constraints. (I3e046)
  • We have added animateScrollToOption to the Picker API in order to support programmatic animation to a specific Picker option (I6fe67)

Bug Fixes

  • We have updated HorizontalPageIndicator to support right-to-left layouts. (Ia4359)
  • Added Screenshot tests for right-to-left layout in HorizontalPageIndicator (I6fbb8)
  • Added further tests to SwipeDismissableNavHostTest that use TestNavHostController (I61d54)

wear protolayout: v1.0.0-alpha04

February 22, 2023

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

New Features

  • ObservableStateStore now informs the listeners when a key is removed too.
  • We've added renderer schema version and font scale to DeviceParameters (which can be used to conditionally create layouts in response to different versions and font settings).
  • We've added support for animating DynamicInt32 values (I05485)
  • We've added OnLoad and OnConditionalMet triggers. These can be used to start animations that support a trigger.
  • We've added layout weight for expanded dimensions and min size for wrapped dimensions.
  • We've added duration and instant dynamic types. These can be used to represent a time instant or duration in a dynamic expression.
  • We've added support for AnimatedVectorDrawable and SeekableAnimatedVectorDrawable as layout resources.

API Changes

  • Sensor data requires API 29+. (I8099e)
  • We've added two launchAction helper methods (for launching Activities).

Bug Fixes

  • Rename set/getSpec to set/getAnimationSpec in Tiles animation (I3d74b)

Wear Watchface: v1.2.0-alpha07

February 22, 2023

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

New Features

  • From Android T, OEMs will be able to determine if a complication request is from a watch face in the list defined by the android.support.wearable.complications.SAFE_WATCH_FACES metadata in their provider’s manifest by ComplicationRequest#isForSafeWatchFace. The provider will need the com.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACE permission to receive anything other than TargetWatchFaceSafety.UNKNOWN.

  • Also from Android T CustomValueUserStyleSetting2 is available for use which can hold up to 12.5kb. The previous limit for CustomValueUserStyleSetting was 1kb. Despite the increased size limits, watch face developers are encouraged to keep the data small because the settings get sent over bluetooth during editing and bluetooth bandwidth is limited.

API Changes

  • We've added an optional parameter eglContextAttribList to GlesRenderer & GlesRenderer2 which allows you to set the EGL14.EGL_CONTEXT_CLIENT_VERSION passed to EGL14.eglCreateContext. (I2a83e)
  • We've migrated watch face libs over to androidx.core.util.Consumer instead of java.util.function.Consumer. (I273f5)
  • More thrown exceptions from KT property accessors (Iff9d9)
  • We've added InteractiveWatchFaceClient.isComplicationDisplayPolicySupported so that the client can determine if it has to emulate support or not on behalf of old watch faces. (I24c89)
  • We've decided that isForSafeWatchFace should be a tri-state IntDef. (Ief2f7)
  • For android T we've introduced ComplicationRequest.isForSafeWatchFace which is intended for OEM use and it requires com.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACE. For data sources in the system image, this will return true if the requesting watch face is inside the list of safe watchfaces specified by the data source in it's manifest. (I0cbb6)
  • For android T we've added CustomValueUserStyleSetting2 which can hold up to 12.5kb. The previous limit for CustomValueUserStyleSetting was 1kb. (I0b100)

WindowManager: v1.1.0-alpha06

February 22, 2023

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

New Features

  • Expose experimental version of getting the WindowLayoutInfo from a UI context.

API Changes

  • Add splitSupportStatus to indicate if Activity embedding is available. (I10024)
  • Make UI Context WindowLayoutInfo API as experimental. (I58ee0)
  • Introduces the WindowAreaController and API's to enable RearDisplay Mode to move the current window to the display that is aligned with the rear camera. (Iffcbf)
  • Update default background color. (I1ac1b)
  • Add SplitAttributes params. (I18bdd)
  • Add APIs for SplitRule, SplitAttributes, SplitAttributesCalculator. (I92d23)
  • Improve the APIs around maxAspectRatio:
    1. Replace alwaysAllow() and alwaysDisallow() with ALWAYS_ALLOW and ALWAYS_DISALLOW.
    2. Update API documentation of @see with standalone documentation. (I3057b)
  • The following constructors are removed from public APIs because they are not supposed to be called by apps.
    • SplitInfo constructor
    • ActivityStack constructor (Ide534)
  • SplitRule now takes maxAspectRatioInPortrait/Landscape. It only allows activities split when the aspect ratio of the parent bounds is smaller or equal to the requested maxAspectRatio. (Ia5990)
  • Change RuleController#parseRules to be static (I785df)
  • Improve the APIs around ActivityEmbedding
    1. Align the API naming - Use add/remove for multiple instances:
    2. registerRule changes to addRule
    3. unregisterRule changes to removeRule
    4. Replace getSplitRules with getRules since ActivityRule is not a split rule
    5. Add RuleController#setRules to set a bunch of rules
    6. Extract rule related APIs from SplitController to singleton RuleController. They are:
    7. addRule
    8. removeRule
    9. getRules
    10. setRules
    11. clearRules
    12. parseRules
    13. Extract #isActivityEmbedded from SplitController to singleton ActivityEmbeddingController. They are:
    14. isActivityEmbedded
    15. Remove SplitController#initialize. To set rules from XML file, please use RuleController#parseRules and #setRules. Before this change: SplitController.initialize(context, R.xml.static_rules) After this change: val ruleController = RuleController.getInstance(context) val rules = ruleController.parseRules(R.xml.static_rules) ruleController.setRules(rules)
    16. We don't distinguish static rules with runtime rules anymore. That said, calling #clearRules results to clear all rules no matter they are registered with static XML rule definitions or at runtime. To hav the legacy behavior of SplitController#clearRegisteredRules, please call RuleController#parseRules with the XML resources id and call RuleController#setRules to set back the rules again. Before this change: SplitController.getInstance(context).clearRegisteredRules() After this change: val ruleController = RuleController.getInstance(context) val rules = ruleController.parseRules(R.xml.static_rules) ruleController.setRules(rules) (Ib3967)
  • Improve the SplitRule APIs:
    1. Take min dimensions in DP instead of pixels for SplitRule.
    2. Refactor for SplitRule Builder to take min dimensions as optional. (I95f17)
  • Pass a Context to initialize SplitController (I42549)
  • Renamed SplitRule#layoutDir to #layoutDirection and SplitRule Builder#setLayoutDir to Builder#setLayoutDirection. (I3f6d1)

window extensions core: v1.0.0-alpha01

February 22, 2023

androidx.window.extensions.core:core:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features

  • Add some local interfaces that are not meant for general developer use. This is an implementation detail to support the androidx.window library. Please see the androidx.window library instead.