2023-02-22
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
PickVisualMediaandPickMultipleVisualMediacontracts as a fallback for whenMediaStore.ACTION_PICK_IMAGESis 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
@RequiresExtensionannotation 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
@NonNullor@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
DryRunModeto 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
PowerMetriccrash 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
ImageProxytoBitmap. The supportedImageProxyformat isImageFormat.YUV_420_888andPixelFormat.RGBA_8888. If the format is invalid,IllegalArgumentExceptionwill be thrown. (Ic7110) - Add
CoroutineCameraViewfinderto support configuring viewfinder using suspending functions in Kotlin. (I657bc) - Add new public constructor for
ViewfinderSurfaceRequest. It provides the flexibility when user cannot provideCameraCharacteristics. (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
GridTemplatein Car App Library (Id0191) - Adds top-level actions to
ListTemplatein 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()andhashCode()forConversationItemandCarMessage(I6fd10) - Improve
ConversationItem.mMessagesvalidation (require non-null, non-empty (Iafc51) - Add
@Keepannotations toConversationItemfields (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 theLayoutwill be reused (for example as an item ofLazyColumn). FixedFocusTargetModifierNodeto properly reset the focused state. (I65495, b/265201972) - Added
BlendModeparameter toDrawScope.drawText,Paragraph.paint, andMultiParagraph.paintmethods to support different blending algorithms when drawing text on Canvas. (I57508) - Removed the
modifierElementOf()API. Please extend fromModifierNodeElementdirectly 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'sconfirmStateChangeparam has been renamed toconfirmValueChange.progressis now exposed as a float value.animateToandsnapToare internal. Useexpand()andcollapse()instead.directionandoverflowhave been removed.offsethas been replaced withrequireOffset(). (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, andkitchenicons. (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
DateRangePickerAPI for selecting a range of dates. (I7a6c3, b/267194809) - Added a Material 3 input mode support for selecting date ranges via the
DateRangePickerAPI. (Ifdbc4) - Text field colors now allow customizing:
- The input field and placeholder text colors based on focus and error state. The
textColorparameter has been renamed tounfocusedTextColor, andplaceholderColorhas been renamed tounfocusedPlaceholderColor. - The container color for filled text fields based on error state with the new
errorContainerColorparam.
- The input field and placeholder text colors based on focus and error state. The
- 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
RangeSliderto be stable. (Ie8fbd) - Renamed
defaultElevationtoelevationin chip's elevation functions. (I0f872) - The following Material 3 text field APIs are no longer experimental:
TextField,OutlinedTextField,textFieldWithLabelPadding,textFieldWithoutLabelPadding,outlinedTextFieldPadding. (Ieb5c0, b/261561819) TimePickersis24Houruses system setting (I18856)- Removed experimental annotation from scaffold apis. (Ibb51e, b/261565765, b/261436953)
Bug Fixes
ModalBottomSheetdefault shape is now alwaysSheetDefaults.ExpandedShape. (I0dfca)- Accessibility improvements for Material 3
DatePickerandDateRangePicker. (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 fromModifierNodeElementdirectly instead. (I2256b) - Added a new
Modifier.Node.onReset()callback allowing you to reset some local state to properly handle the case when theLayoutwill be reused (for example as an item ofLazyColumn). FixedFocusTargetModifierNodeto properly reset the focused state. (I65495, b/265201972) - Added
BlendModeparameter toDrawScope.drawText,Paragraph.paint, andMultiParagraph.paintmethods 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
ResolvableFuturenow 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
NullPointerExceptionwhenSplashScreenView#getIconViewreturned 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
AccessibilityNodeInfoCompatAPIs ofset/getMinMillisBetweteenContentChangeshave been renamed toset/getMinDurationBetweenContentChangesand now take alongfor their duration. (f46689) - Added
NotificationCompat.bigLargeIcon(Icon)(I60855)
Bug Fixes
- Fix docs regarding default value of
NotificationCompat.Builder.setShowWhen()(ba52a2) - Fix typo in
AccelerateInterpolator / DecelerateInterpolatordocs (2173505) - Fix typo in
ShortcutInfoCompatdocs (44075f) - Fix up, down, spacebar and key variation keyboard actions with
NestedScrollViewandCoordinatorLayout(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
UnsupportedExceptionto function correctly (I68208) - Adding a new exception type to account for cases such as when the device does not contain the necessary flags (If08dd)
CredentialManagerexception 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
onBackStackChangedStartedcallback onFragmentManager'sonBackStackChangedListenerwill 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_TRAININGorEXERCISE_TYPE_CALISTHENICSin place of the removed types. (I7291c) - Adding new API
sdkStatus()that combines the two now deprecated APIsisSdkSupported()andisProviderAvailable(). (Iac89d) - Changing APIs that accept
providerPackageNameto 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
NullPointerExceptioncaused 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 thevalueof the returnedLiveDataif the previousLiveDatahas had a value set on it. This does not change the observation behavior - updated values from the sourceLiveDatawill still only apply once you start observing theLiveDatareturned fromdistinctUntilChanged(). (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
IllegalArgumentExceptioninMediaRouterProvider.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'sstartDestinationby default. (I2b89f)
API Changes
- All
NavControllernavigateoverloads are now annotated with@MainThreadto 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
- Fixed a race condition in
MasterKeys.getOrCreate(I3391e, b/268572037)
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
PickerGroupAPI 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 thePickerGroup. If set as false,PickerGroupwill reset the minimum constraints. (I3e046) - We have added
animateScrollToOptionto the Picker API in order to support programmatic animation to a specific Picker option (I6fe67)
Bug Fixes
- We have updated
HorizontalPageIndicatorto support right-to-left layouts. (Ia4359) - Added Screenshot tests for right-to-left layout in
HorizontalPageIndicator(I6fbb8) - Added further tests to
SwipeDismissableNavHostTestthat useTestNavHostController(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
ObservableStateStorenow 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
DynamicInt32values (I05485) - We've added
OnLoadandOnConditionalMettriggers. 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
AnimatedVectorDrawableandSeekableAnimatedVectorDrawableas layout resources.
API Changes
- Sensor data requires API 29+. (I8099e)
- We've added two
launchActionhelper methods (for launching Activities).
Bug Fixes
- Rename
set/getSpectoset/getAnimationSpecin 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_FACESmetadata in their provider’s manifest byComplicationRequest#isForSafeWatchFace. The provider will need thecom.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACEpermission to receive anything other thanTargetWatchFaceSafety.UNKNOWN.Also from Android T
CustomValueUserStyleSetting2is available for use which can hold up to 12.5kb. The previous limit forCustomValueUserStyleSettingwas 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
eglContextAttribListtoGlesRenderer&GlesRenderer2which allows you to set theEGL14.EGL_CONTEXT_CLIENT_VERSIONpassed toEGL14.eglCreateContext. (I2a83e) - We've migrated watch face libs over to
androidx.core.util.Consumerinstead ofjava.util.function.Consumer. (I273f5) - More thrown exceptions from KT property accessors (Iff9d9)
- We've added
InteractiveWatchFaceClient.isComplicationDisplayPolicySupportedso that the client can determine if it has to emulate support or not on behalf of old watch faces. (I24c89) - We've decided that
isForSafeWatchFaceshould be a tri-stateIntDef. (Ief2f7) - For android T we've introduced
ComplicationRequest.isForSafeWatchFacewhich is intended for OEM use and it requirescom.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
CustomValueUserStyleSetting2which can hold up to 12.5kb. The previous limit forCustomValueUserStyleSettingwas 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
WindowLayoutInfofrom a UI context.
API Changes
- Add
splitSupportStatusto indicate if Activity embedding is available. (I10024) - Make UI Context
WindowLayoutInfoAPI as experimental. (I58ee0) - Introduces the
WindowAreaControllerand API's to enableRearDisplayMode to move the current window to the display that is aligned with the rear camera. (Iffcbf) - Update default background color. (I1ac1b)
- Add
SplitAttributesparams. (I18bdd) - Add APIs for
SplitRule,SplitAttributes,SplitAttributesCalculator. (I92d23) - Improve the APIs around
maxAspectRatio: - The following constructors are removed from public APIs because they are not supposed to be called by apps.
SplitInfoconstructorActivityStackconstructor (Ide534)
SplitRulenow takesmaxAspectRatioInPortrait/Landscape. It only allows activities split when the aspect ratio of the parent bounds is smaller or equal to the requestedmaxAspectRatio. (Ia5990)- Change
RuleController#parseRulesto be static (I785df) - Improve the APIs around ActivityEmbedding
- Align the API naming - Use add/remove for multiple instances:
registerRulechanges toaddRuleunregisterRulechanges toremoveRule- Replace
getSplitRuleswithgetRulessinceActivityRuleis not a split rule - Add
RuleController#setRulesto set a bunch of rules - Extract rule related APIs from
SplitControllerto singletonRuleController. They are: addRuleremoveRulegetRulessetRulesclearRulesparseRules- Extract
#isActivityEmbeddedfromSplitControllerto singletonActivityEmbeddingController. They are: isActivityEmbedded- Remove
SplitController#initialize. To set rules from XML file, please useRuleController#parseRulesand#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) - We don't distinguish static rules with runtime rules anymore. That said, calling
#clearRulesresults to clear all rules no matter they are registered with static XML rule definitions or at runtime. To hav the legacy behavior ofSplitController#clearRegisteredRules, please callRuleController#parseRuleswith the XML resources id and callRuleController#setRulesto 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:
- Take min dimensions in DP instead of pixels for
SplitRule. - Refactor for
SplitRuleBuilder to take min dimensions as optional. (I95f17)
- Take min dimensions in DP instead of pixels for
- Pass a Context to initialize
SplitController(I42549) - Renamed
SplitRule#layoutDirto#layoutDirectionandSplitRule Builder#setLayoutDirtoBuilder#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.windowlibrary instead.