2022-08-10
Activity: v1.6.0-beta01
August 10, 2022
androidx.activity:activity:1.6.0-beta01, androidx.activity:activity-compose:1.6.0-beta01, and androidx.activity:activity-ktx:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.
API Changes
- Marked the deprecated
startActivityForResultandstartIntentSenderForResultmethods onComponentActivitywith@NonNullbecause passingnullhas always resulted in a crash. (Id2a25, b/231476082)
Bug Fixes
- The
ActivityResultRegistrywill no longer return a result to theActivityResultCallbackwhen thelaunchcall throws anyExceptionand the callback was registered without aLifecycleOwner. (Ia7ff7, b/238350794) ComponentActivitywill now properly dispatch menu calls toonPrepareOptionMenu(),onCreateOptionsMenu()andonOptionsItemSelected()overrides without the need to call the super function. (Ie33c5, b/238057118)
Dependency Update
- The
Activitylibrary now depends on theLifecycleversion2.5.1. (If6697)
Annotation:
Annotation-Experimental: v1.3.0-beta01
August 10, 2022
androidx.annotation:annotation-experimental:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.
- No changes from alpha. This library has been stabilized for beta release.
Appcompat: v1.5.0
August 10, 2022
androidx.appcompat:appcompat:1.5.0 and androidx.appcompat:appcompat-resources:1.5.0 are released. Version 1.5.0 contains these commits.
Important changes since 1.4.0
- This stable version includes improvements to night mode stability, bug fixes and compound drawable tinting support for AppCompat-backed text widgets, and improvements to API usability. See previous 1.5.0-series release notes for a detailed list of changes.
Appcompat: v1.6.0-beta01
August 10, 2022
androidx.appcompat:appcompat:1.6.0-beta01 and androidx.appcompat:appcompat-resources:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.
API Changes
- Move
DrawableWrapper,DrawableContainer, andStateListDrawablecompat classes to public API. (I37f3e, b/227789566) - Introduces a new factory for async layout inflater. (Ia657b)
Bug Fixes
Toolbarwill now callonPrepareMenu()before the menu is shown instead of unconditionally when the menu is created. (I2a58d, b/232206677)AppCompatnow explicitly depends onLifecycle2.5.1andSavedState1.2.0. (I7e3e2)- Added support for back invoked callback to
AppCompatDelegateand theAppCompat-provided Toolbar implementation. (I24062) - Finalize
AppCompatAPIs for 1.5.0-beta01 (I2a43d, b/236866227) - Finalize
AppCompatAPIs for 1.5.0-beta01 (I2a43d, b/236866227)
Compose Animation: v1.2.1
August 10, 2022
androidx.compose.animation:animation:1.2.1, androidx.compose.animation:animation-core:1.2.1, and androidx.compose.animation:animation-graphics:1.2.1 are released. Version 1.2.1 contains these commits.
Compose Animation: v1.3.0-alpha03
August 10, 2022
androidx.compose.animation:animation:1.3.0-alpha03, androidx.compose.animation:animation-core:1.3.0-alpha03, and androidx.compose.animation:animation-graphics:1.3.0-alpha03 are released. Version 1.3.0-alpha03 contains these commits.
API Changes
- New param in
Crossfade,animateAsStateandAnimatablefor tooling label (Iac08a) - Added
atFractionfunction for defining keyframes at a fraction instead of at a specific duration. (I20c76, b/232059455)
Compose Compiler: v1.3.0
August 10, 2022
androidx.compose.compiler:compiler:1.3.0 is released. Version 1.3.0 contains these commits.
Compose Foundation: v1.2.1
August 10, 2022
androidx.compose.foundation:foundation:1.2.1 and androidx.compose.foundation:foundation-layout:1.2.1 are released. Version 1.2.1 contains these commits.
Compose Foundation: v1.3.0-alpha03
August 10, 2022
androidx.compose.foundation:foundation:1.3.0-alpha03 and androidx.compose.foundation:foundation-layout:1.3.0-alpha03 are released. Version 1.3.0-alpha03 contains these commits.
API Changes
- Resource Fonts now support setting font variation settings (API 26+). (I900dd, b/143703328)
- Variable font support in
DeviceFontFamilyNameFont(Ic1279, b/143703328) - Removed experimental annotation from
PlatformTextStyleandLineHeightStyle. (I64bef) - Text fields will now throw more detailed exceptions when the
OffsetMappingprovided by aVisualTransformationreturns invalid indices. (Ie73f9, b/229378536) - Introduce experimental APIs to share item provider logic between Lazy layouts. (Ic891c)
ScrollableDefaults.reverseDirection()is not experimental anymore. (Iba646)- Deprecated
SemanticsModifier.idand moved the semantics id toLayoutInfo.semanticsIdinstead. (Iac808, b/203559524) checkScrollableContainerConstraints()is not experimental anymore. (I2c290)Modifier.clipScrollableContainer()is not experimental anymore. (Ia2b44)- Deprecate
TextInputService.show|hideSoftwareKeyboard. Please useSoftwareKeyboardControllerinstead in app code andTextInputSessionin IME-management code. (I14e4c, b/183448615)
Compose Material: v1.2.1
August 10, 2022
androidx.compose.material:material-*:1.2.1 is released. Version 1.2.1 contains these commits.
Compose Material: v1.3.0-alpha03
August 10, 2022
androidx.compose.material:material-*:1.3.0-alpha03 is released. Version 1.3.0-alpha03 contains these commits.
Compose Material 3: v1.0.0-alpha16
August 10, 2022
androidx.compose.material3:material3:1.0.0-alpha16 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha16 are released. Version 1.0.0-alpha16 contains these commits.
New Features
- Support specifying a custom width on a navigation drawer. (Ia7f10)
API Changes
- Reorder Tab and Leading icon tab parameters to maintain consistency within the API (Ie2637)
- Marked
BadgeDefaultsas experimental. (I98ef3) - Remove deprecated navigation drawer function. (I4f2db)
- Reorder Slider parameters in Material 3 to maintain consistency within the API (I0aee7)
- Reorder
NavigationBarandNavigationRailparameters to maintain consistency within the API (I51cda) - Reorder parameters in Material 3 to maintain consistency across the API. (If4ae1)
- Reorder Slider parameters in Material 3 to maintain consistency within the API (I62673)
- Renamed icons parameter to actions to be consistent with top app bar (Id75be)
- Mark
BadgeandBadgedBoxas experimental because the anchor alignment is still influx. (I1712e, b/236524516) - Change
@ExperimentalMaterial3Apiannotations on icon button variants to@OptIn(I070b5) - Separated a navigation drawer's content to its own composable to support specifying a custom width on it. (Ia7f10)
- Removes
DividerfromMenuDefaultsandTabDefaults(I4e33c)
Compose Runtime: v1.2.1
August 10, 2022
androidx.compose.runtime:runtime-*:1.2.1 is released. Version 1.2.1 contains these commits.
Bug Fixes
- Fixed memory leak: dispose of nested snapshots created from transparent snapshots b/239603305
Compose Runtime: v1.3.0-alpha03
August 10, 2022
androidx.compose.runtime:runtime-*:1.3.0-alpha03 is released. Version 1.3.0-alpha03 contains these commits.
Compose UI: v1.2.1
August 10, 2022
androidx.compose.ui:ui-*:1.2.1 is released. Version 1.2.1 contains these commits.
Bug Fixes
- Fixed nullpointer in the inspector (b/237987764)
- Fixed class cast exception during remember in the inspector (b/235526153)
Compose UI: v1.3.0-alpha03
August 10, 2022
androidx.compose.ui:ui-*:1.3.0-alpha03 is released. Version 1.3.0-alpha03 contains these commits.
API Changes
LayoutCoordinates.findRootCoordinates()is now public (I7fa37, b/204723384)- Added experimental API to get the
LayoutCoordinatesin thePlacementScope. This lets developers know where the current layout is to place children relative to its position. (I5482b, b/238632578) - Added
LayoutCoordinates.transformFromto get the Matrix transformation from oneLayoutCoordinatesto another. (Ic5ab1, b/238632578) - Deprecated
SemanticsModifier.idand moved the semantics id toLayoutInfo.semanticsIdinstead. (Iac808, b/203559524) - Resource Fonts now support setting font variation settings (API 26+). (I900dd, b/143703328)
- Variable font support in
DeviceFontFamilyNameFont(Ic1279, b/143703328) - Font constructors now accept a list of
FontVariation.Settingfor configuring variable fonts on O+ devices. (I11a9d, b/143703328) - Add
FontVariationAPI for defining and using variable fonts. (I3c40c, b/143703328) LineHeightStyle.Alignmentconstructor is now public (experimental) (I4bbbe, b/235876330)- Paragraph is now expect|actual and defined for Android and Desktop. (Id387e, b/239962983)
- Interface Paragraph is now sealed interface Paragarph. There is no use case for subclassing paragraph, and we recommend reaching out if this change impacts you. (If5247, b/239962983)
- Removed experimental annotation from
PlatformTextStyleandLineHeightStyle. (I64bef) - Deprecate
TextInputService.show|hideSoftwareKeyboard. Please useSoftwareKeyboardControllerinstead in app code andTextInputSessionin IME-management code. (I14e4c, b/183448615) - Add new API for existing animation types (I26179)
Bug Fixes
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. (Ie542e, b/238790278)
Core and Core-ktx: v1.9.0-beta01
August 10, 2022
androidx.core:core:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.
API Changes
- Added compatibility for
ACTION_SHOW_TEXT_SUGGESTIONSandis/setTextSelectable(Iedf82) - Added
IntentSanitizerto sanitize unsafe intents before launching them. (Ib0be5) - Adds support for
BigPictureStyleusing Icon (Ice26d, b/215583339) - Updated nullability annotations (I34cce, b/236498052, b/236498029, b/236497996, b/236497942, b/236497884, b/236497726)
- Added
LocationManagerCompat.registerGnssMeasurementsCallbackto work around Android R bugs. (Ie0f6f)
Bug Fixes
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. (Ie542e, b/238790278) - Adding support for API introduced in T." into androidx-platform-dev" ()
- Adding support for API introduced in T. (I358f1)
TypefaceCompate.create(..., weight, italic)will fallback to platformTypeface.createwhen compat impl cannot resolve on API 14-20 (I1ee34, b/145311058)- Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" (I5a074)
- Added accessibility framework constants previously absent from androidx. (I93c97)
External Contribution
- Backported
Typeface#create(Typeface, int, boolean)which allows creating typeface with specific weight from a font family (I342dc)
Core Remote Views: v1.0.0-beta02
August 10, 2022
androidx.core:core-remoteviews:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Bug Fixes
- Version fix
Core Ultra Wideband (UWB): v1.0.0-alpha03
August 10, 2022
androidx.core.uwb:uwb:1.0.0-alpha03 and androidx.core.uwb:uwb-rxjava3:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
New Features
- Introducing a new ranging profile, Controller. UWB devices with Controller profile can determine the ranging channel two devices will range with.
API Changes
- Adding controller support for UWB (I52a71)
Emoji2: v1.2.0
August 10, 2022
androidx.emoji2:emoji2-*:1.2.0 is released. Version 1.2.0 contains these commits.
- This is a bugfix release. No new features or APIs added.
- Apps using
PrecomputedTextorTextView.setText(char[])should prioritize bumping to this version.
Bug Fixes in this release
Emoji2will add emoji toPrecomputedTextby discarding previously precomputed text layout. (I47d06, b/211231958)- Backport editor crash fix from Android P to
EditTextthat is configured to use emoji2. (Ifd709, b/216891011) - Fix crash when emoji2 loads font and
TextView.setText(char[])was used. (Id511e, b/206859724)
Fragment: v1.5.2
August 10, 2022
androidx.fragment:fragment:1.5.2, androidx.fragment:fragment-ktx:1.5.2, and androidx.fragment:fragment-testing:1.5.2 are released. Version 1.5.2 contains these commits.
Bug Fixes
- Fixed an issue where executing a
popBackStack()and areplace()transaction at the same time could cause exiting fragments to run the wrongAnimation/Animator. (Ib1c07, b/214835303)
Glance: v1.0.0-alpha04
August 10, 2022
androidx.glance:glance:1.0.0-alpha04, androidx.glance:glance-appwidget:1.0.0-alpha04, and androidx.glance:glance-wear-tiles:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.
New Features
- Adds Button coloring features.
- Adds
GlanceComposableannotation for better compile time checking. - Adds Wear specific Glance features.
API Changes
- Update Glance Gallery Data API and Condensed View. (Ibc7a8)
- Adds
ButtonColorsfor configuring buttons. (Iea88d, b/236305351) - Rename
ColorProvider.resolvetoColorProvider.getColor(Ic9dfe) - Adds
copy()method toTextStyle. (I9aef6) - Adds a
ColorProvidersclass that can be used as part of themes for Glance. (I848b9, b/237012816) - Add List Template support to list styles and collapsed view. (I50cdc)
- Add semantics to
GlanceModiierandGlanceCurvedModifier. (Ifda7e) - Add
GlanceComposableannotation. (I5dbf0) - Moves Glance Templates into the main Glance project. (I9db94)
- Add
ColorProvider.resolve()(Ife532, b/214733442) - New method to get
GlanceIdfrom an existingappWidgetIdor an intent from a configuration activity (Icb70c, b/230391946) - Add
GlanceComposableannotation. (I2c21f) - Added
GlanceRemoteViewsfor running composition outside ofGlanceAppWidget. (I18f92) - Remove Color in
ProgressIndicatorDefaults. (I40299) - Rename
ActionCallback's onRun method to onAction, for consistency with the public APIs, as required by the API review feedback. (Icfa57) - Convert glance template layouts to use a map (I46bfd)
- Add
RadioButtoncomposable (I4ecce) - Added
GlanceWearTilesfor composing wear tiles (Ia9f65) - Added clickable to
GlanceCurvedModifier(Iec2a0) - Implement
CurvedRowas a scope and create a DSL to add normal composable and/or curved elements. Also addedcurvedLineandcurvedSpacerwhich are translated toArcLineandArcSpacerin proto tiles (Ib955b) - Updated nullability in core and appcompat to match Tiramisu DP2 (I0cbb7)
- Add support for
RuncallbackActionin glance-wear-tiles, onlyRunCallbackActionwith NO parameter is supported for now (Ide64a)
External Contribution
- Updated :compose:ui:ui-test api (updateApi) due to test-coroutines-lib migration (I3366d)
JavascriptEngine: v1.0.0-alpha01
August 10, 2022
androidx.javascriptengine:javascriptengine:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
We’ve added experimental support for
JavaScriptSandboxandJavaScriptIsolateto enable clients to evaluate JavaScript in a safe and restricted environment. This is an area of active development; the APIs are subject to change without notice.Please file feature requests and bugs our JavascriptEngine component!
Paging: v3.2.0-alpha02
August 10, 2022
androidx.paging:paging-*:3.2.0-alpha02 is released. Version 3.2.0-alpha02 contains these commits.
New Features
- Paging now provides logs via the
AsyncPagingDataDifferorPagingDataAdapterclasses to expose debugging information collected fromPagingData. - The logs can be enabled via the
adb shellcommandadb shell setprop log.tag.Paging [DEBUG|VERBOSE].(b/235527159)
Bug Fixes
- Fixed the missing
PagingDataDifferconstructor error when usingpaging-common:3.2.0-alpha01with runtimepaging-runtime:3.1.1or older.(b/235256201)
Paging Compose: v1.0.0-alpha16
August 10, 2022
androidx.paging:paging-compose:1.0.0-alpha16 is released. Version 1.0.0-alpha16 contains these commits.
New Features
- Paging now provides logs via the
LazyPagingItemsclass to expose debugging information collected from PagingData. - The logs can be enabled via the
adb shellcommandadb shell setprop log.tag.Paging [DEBUG|VERBOSE]. ([b/235527159}(https://issuetracker.google.com/issues/235527159))
Bug Fixes
- Fixed the missing
PagingDataDifferconstructor error when usingpaging-compose:1.0.0-alpha15withpaging-common:3.1.1or older.(b/235256201,b/239868768)
Recyclerview: v1.3.0-beta02
August 10, 2022
androidx.recyclerview:recyclerview:1.3.0-beta02 is released. Version 1.3.0-beta02 contains these commits.
API Changes
- Removed nullability annotations added in 1.3.0-beta01 due to the fact that they represented a significant source-incompatible change for Kotlin users (I7a258,I1557e6,I8db76)
Sqlite: v2.3.0-alpha04
August 10, 2022
androidx.sqlite:sqlite:2.3.0-alpha04, androidx.sqlite:sqlite-framework:2.3.0-alpha04, and androidx.sqlite:sqlite-ktx:2.3.0-alpha04 are released. Version 2.3.0-alpha04 contains these commits.
API Changes
- Updated nullability (I29fbd)
Wear Compose: v1.1.0-alpha03
August 10, 2022
androidx.wear.compose:compose-foundation:1.1.0-alpha03, androidx.wear.compose:compose-material:1.1.0-alpha03, and androidx.wear.compose:compose-navigation:1.1.0-alpha03 are released. Version 1.1.0-alpha03 contains these commits.
New Features
- We have added a new outlined style for
ChipsandButtonsand newOutlinedChipandOutlinedButtoncomposables that provide a transparentChip/Buttonwith a thin border. (Id5972)
API Changes
- Added overloads for modifying button shapes (Icccde)
Bug Fixes
- We have corrected the size of the toggle control area of the
ToggleChipas it was not matching its UX spec. The UX Spec calls for a 4.dp spacer between the label and a 24x24.dp toggle control icon area giving a total 28.dp width. However the implementation is incorrectly giving 36x24.dp toggle control area. This results in taking away 8.dp of usable text label area. NOTE: This bug fix gives additional space for the text label and as result can (positively) impact the text layout for overflowing text. If you have screenshot tests includingToggleChipsthey may need to be updated. (I514c8, b/240548670)
Wear Tiles: v1.1.0-rc01
August 10, 2022
androidx.wear.tiles:tiles-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
- There were no new changes between the Beta and RC release.
Wear Watchface: v1.2.0-alpha01
August 10, 2022
androidx.wear.watchface:watchface-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- We’ve added experimental support for various new complication formats. This is an area of active development; these new formats are subject to change without notice and currently there’s no renderer support from
CanvasComplicationDrawable. - We’ve also added optional margins to complication slots which make small complications easier to tap on.
API Changes
- The experimental
BoundingArcclass is now immutable. (If624a) - Small complications can be tricky to tap on. To help mitigate this, we've introduced support for margins which increase the tappable area without affecting rendering. Unless specified (either in code or via XML)
ComplciationSlotshave zero sized margins. (I14089) - Changed
getComplicationSlotInflationFactory(CurrentUserStyleRepository)signature to return a non-null factory instance. It was an error to return null before, so this is just making the API contract clearer. (I0fcc0) - We've added
currentUserStyleRepositoryargument to theWatchFaceService.getComplicationSlotInflationFactorymethod to be consistent withcreateComplicationSlotsManager. (I2ddd2) UserStyleFlavorshave become non-experimental feature. (I69cdc)- We have removed the experimental
ValueTypefromRangedValueComplicationDataand instead introduced experimentalDiscreteRangedValueComplicationDatawhich is likeRangedValueComplicationDataexcept for integer range & value. We've also introduced experimentalGoalProgressComplicationDatawhich is similar toRangedValueComplicationDataexcept it's for progress towards a goal where min implicitly is zero, and the value is allowed to be larger thantargetValue. Note for allRangedValuevariants at least one of monochromeImage, text or title must be specified. (I9590c) - We removed
boundsWithMarginsfromComplicationSlotStatebecause system software doesn't have a use case for it. (I42e26) - We've added experimental support for
WeightedElementsComplicationDatawhich consists of an array of Elements (pairs of weight and color) along with optional text/title/image. These might be displayed as a pie chart where the colors need to be meaningful given the context, since there typically isn't room in a complication to render labels. (I87eea) - The experimental
ColorRampsoptionally used byRangedValueComplicationDataandGoalProgressComplicationDatanow allow you to specify a sequence of up to seven colors and a flag stating whether the colors should be smoothly tweened or whether equal sized solid steps of color should be rendered. (I9f5bf) RangedValueComplicationData.drawSegmentedhas been changed tovalueTypewhich is an int with a correspondingValueType IntDefwhich provides semantic meaning to the ranged value and may be used by the complication renderer to influence styling. (I0616b)- We've added experimental support for optional
ColorRangestoRangedValueComplicationData. Normally complications would be rendered in colors of the watch face's choosing, but sometimes theComplicationDataSourceis best placed to set the colors e.g. when they have a particular semantic meaning. E.g. red to blue for temperature. (I5153a) - We've added an experimental
drawSegmentedhint toRangedValueComplicationData. This signals renderers to draw the ranged value indicator with segments, where 1 segment = 1 unit. (I7d7c1)
Bug Fixes
- We've added the ability to define
ComplicationSlotBoundsrelative to a predefined screen coordinate system. (I0985d)
Wear Watchface: v1.1.1
August 10, 2022
androidx.wear.watchface:watchface-*:1.1.1 is released. Version 1.1.1 contains these commits.
- This is a bug fix release and users of version 1.1.0 are strongly encouraged to upgrade.
Bug Fixes
Watch face initialization is asynchronous and if a complication is received before the watch face is ready it gets put on the
pendingInitialComplicationslist and is applied later. UnfortunatelypendingInitialComplicationswas applied too soon which meant there was a window of time during watch face initialization where complications would still get put onpendingInitialComplicationsand be ignored. This has now been fixed. In addition This patch fixes a bug whereComplicationRendererwas wrongly trying to load placeholders asynchronously, which failed leading to the compilation graphic never updating. Finally this patch fixes a hopefully theoretical bug where multiplependingInitialComplicationsneed to be merged. (0d03ba3)Fix potential deadlock in
InteractiveInstanceManagerwheregetExistingInstanceOrSetPendingWallpaperInteractiveWatchFaceInstancewas holding the lock longer than necessary. Usually we'd expectengine.setUserStyleto be quick but if for some reason it's not then we could end up with a deadlock/ANR. This patch moves unnecessary work out of the lock, removing the potential for a deadlock.(5a2adca)Fix several issues that retained
WatchFaceService. The WakeLock can sometimes retain theWatchFaceService, adding arelease()call fixes this. Also theStateFlowscan retainWatchFaceService, canceling the underlyingCoroutineScopesfixes that.(fd48138)Add timeouts to
awaitDeferredWatchFace* and fixwatchfaceOverlayStyleNullPointerException. In normal circumstances this shouldn't timeout including after fresh install andDirectBootscenarios where the CPU load is high. We've also fixed a NPE ifgetWatchfaceOverlayStyleis called afterclose().(a4c3a5a)
Webkit: v1.5.0-rc01
August 10, 2022
androidx.webkit:webkit:1.5.0-rc01 is released with no changes since 1.5.0-beta01. Version 1.5.0-rc01 contains these commits.
WorkManager: v2.8.0-alpha03
August 10, 2022
androidx.work:work-*:2.8.0-alpha03 is released. Version 2.8.0-alpha03 contains these commits.
New Features
- An ability to update
WorkRequestsin a non-intrusive way was added, preserving original enqueue time, chaining etc. SeeWorkManager.updateWorkandExistingPeriodicWorkPolicy.UPDATEfor more details.
API Changes
WorkManager.updateWorkwas added to update work preserving its original enqueue time and chaining.(I9a248, b/219446409)ExistingPeriodicWorkPolicy.UPDATEwas added. This policy allows to update a periodic work by the name. It is similar to the existingREPLACE, but it is less intrusive: it doesn't cancel a worker if it is currently running and it preserves enqueue time - initial delay and period are calculated from original enqueue time, rather than update time.REPLACEwas deprecated to decrease a confusion between very similarly namedREPLACEandUPDATE. If you still want to keep the previous semantics ofREPLACE, the newly addedCANCEL_AND_REENQUEUE, which is identical toREPLACE, can be used. (I985ed, b/219446409)- Add the ability to intercept scheduling exceptions by defining a
SchedulingExceptionHandler. (I033eb) - Inline helpers for
OneTimeWorkRequest&PeriodicWorkRequestwere moved fromandroidx.work:work-runtime-ktxtoandroidx.work:work-runtime(I0010f, b/209145335)
Bug Fixes
- Added
@RequiresPermissionto APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. (Ie542e, b/238790278)