Skip to content

2022-12-07

Choose a tag to compare

@github-actions github-actions released this 07 Dec 18:42
· 172 commits to main since this release

Benchmark: v1.2.0-alpha08

December 7, 2022

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

API Changes

  • Added experimental new APIs PerfettoTrace.record {} and PerfettoTraceRule to capture Perfetto traces (also known as System Traces) as part of a test, to inspect test behavior and performance. (I3ba16)
  • BaselineProfileRule now accepts a filter predicate instead of a list of package prefixes. This gives the test full control on filtering. (I93240)
  • Add an experimental API BaselineProfileRule.collectStableBaselineProfile which waits until a baseline profile is stable for N iterations. (I923f3)
  • Add the ability to specify an output file name prefix when generating baseline profiles using BaselineProfileRule. (I7b59f, b/260318655)

Bug Fixes

  • Improve safety of file output writing, which should prevent output files from silently not being written / appended, especially on API 21/22. (If8c44, b/227510293)
  • Fix simpleperf trace output to create and place the file correctly. This should also more generally fix issues where a file is unsuccessfully pulled by gradle. (I12a1c, b/259424099)
  • Improve profileinstaller error message printed when profileinstaller is too old. This now tells you to update profileinstaller version (1.2.1) for measuring baseline profiles on API 31 through 33, instead of saying it's not supported. (Ia517f, b/253519888)
  • Fix several shell command failures onerror message Print needed API <=23, including failed perfetto capture binary setup and trace capture failures (Ib6b87, b/258863685)
  • Automatically sort generated profile rules to minimize the number of changes as they change over time (when checking-in profile rules into source control). (Ie2509)
  • Fixed crash on unrooted builds below Android 13 (API 33) with message Expected no stderr from echo 3 > /proc/sys/vm/drop_caches (I6c245, b/259508183)
  • Fix MacrobenchmarkScope.dropShaderCache() to no longer crash by fixing broadcast registry in profileinstaller manifest (I5c728, b/258619948)

Browser: v1.5.0-alpha02

December 7, 2022

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

API Changes

  • Changed the CustomTabsCallback#onActivityResized behavior and added new parameters to it.
  • Renamed EXTRA_ACTIVITY_RESIZE_BEHAVIOR to EXTRA_ACTIVITY_RESIZE_HEIGHT_BEHAVIOR to better reflect that it is height specific. (Ic864e)
  • Make parts of CustomTabsCallback APIs asynchronous. (Ic86df)

CameraX: v1.2.0

December 7, 2022

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

Important changes since 1.1.0

  • New library camera-mlkit-vision. Easily integrate CameraX with many MLKit features, including barcode scanning, face detection, text detection, etc. Added MLKitAnalyzer as new APIs.
  • New experimental Zero-Shutter Lag API. Optimizes capture pipeline to have better latency while keeping good image quality. When the capture mode is set to CAPTURE_MODE_ZERO_SHUTTER_LAG, the latency between the shutter button is clicked and the picture is taken is expected to be minimized, compared with other capture modes. On devices that don’t support ZERO_SHUTTER_LAG, it’ll fallback to CAPTURE_MODE_MINIMIZE_LATENCY.
  • Deprecate android.camera.core.VideoCapture.
  • Added setStreamUseCase() as a public Camera2Interop API.
  • Added API level requirement for setOutputImageRotationEnabled.
  • Renamed ImageAnalysis.Analyzer#getTargetResolutionOverride() to ImageAnalysis.Analyzer#getDefaultTargetResolution().
  • Added API for setting location metadata to the saved video.
  • Fixed low framerate when using VideoCapture and Preview use cases with 16:9 aspect ratio
  • Fixed the black preview issue that happens when BOKEH extension is enabled on some Samsung devices and the user switches the cameras.
  • Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN) Preview/VideoCapture stretched issue on API level 27 devices.
  • Disabled the workaround to flip the AF region horizontally of front cameras on Samsung Android T since the issue was fixed

CameraX: v1.3.0-alpha02

December 7, 2022

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

API Changes

  • add a new API for applying post-processing effect to Preview output. (Ic17d5)
  • Renamed OutputOptions.getDurationLimit to OutputOptions.getDurationLimitMillis and OutputOptions.setDurationLimit to OutputOptions.setDurationLimitMillis. (I91f0c)
  • Add AudioConfig class to handle the audio related setting while recording video. The @RequiresPermission annotation is moved from startRecording functions to AudioConfig to avoid unnecessary permission requests for the cases that audio is not needed. (I28755)
  • Remove Metadata, OnVideoSavedCallback, OutputFileOptions and OutputFileResults classes that are no longer used after applying the new video capture API. (I38cd8)
  • Apply the new video capture API. The getVideoCaptureTargetSize and setVideoCaptureTargetSize methods are replaced with the getVideoCaptureTargetQuality and the setVideoCaptureTargetQuality methods accordingly, as setTargetResolution is no longer supported. (I2a1d5)

Bug Fixes

  • Remove deprecated core.VideoCapture API. (I531e0)
  • Fixed the issue that the onError callback is not called when taking pictures without the storage permission.(I936db, b/244807669)
  • Improve camera extensions quality and reliability. Camera extensions are disabled on Motorola devices using Camera Extensions v1.1.0 and older due to issues with Bokeh support, image capture, and preview not resuming. (Id3ce3)
  • Fixed native crash when video cropping via ViewPort is enabled on legacy devices. (I16b8a, b/251357665)

Car App: v1.3.0-rc01

December 7, 2022

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

  • Minor bug fixes from beta01. No Major Changes.

Compose Animation: v1.3.2

December 7, 2022

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

Bug Fixes

  • Updated to support androidx.compose.ui 1.3.2

Compose Animation: v1.4.0-alpha03

December 7, 2022

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

API Changes

  • In UI tests using a Compose rule, continuations resumed during withFrameNanos callbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that calls withFrameNanos or withFrameMillis directly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples.
  • Added optional onPerformTraversals: (Long) -> Unit parameter to TestMonotonicFrameClock constructor and factory function to run code after withFrameNanos callbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670)
  • New param in AnimatedContent for tooling label (Iebe2d)

Compose Foundation: v1.4.0-alpha03

December 7, 2022

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

API Changes

  • In UI tests using a Compose rule, continuations resumed during withFrameNanos callbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that calls withFrameNanos or withFrameMillis directly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples.
  • Added optional onPerformTraversals: (Long) -> Unit parameter to TestMonotonicFrameClock constructor and factory function to run code after withFrameNanos callbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670)
  • Introduce Page accessibility actions: PageUp, PageDown, PageLeft, PageRight. Note that these are only available from API 29. (Ida4ab)
  • Introduce HorizontalPager and VerticalPager, a way of showing composables in a Pager manner. Introduced PagerState to control the Pagers as well as query information about the Pager's current state. Introduced PageSize, a way of controlling the size of a Pager's page, this can be used to create a carousel like Pagers. Introduced PagerSnapDistance, a way to control how snapping will work in Pager's fling behavior. (I01120)
  • Introduced an overload in SnapFlingBehavior.performFling to help to understand where the fling will settle. (I569f6)
  • Removed OverscrollEffect#isEnabled. Instead of needing to remember and set this flag, just don't dispatch events to the overscroll effect in cases where you do not want overscroll to show (for example if ScrollableState#canScrollForward/backward both return false). (I1a4b0, b/255554340, b/255557085)
  • Added ScrollableState#canScrollForward and ScrollableState#canScrollBackward to query whether a ScrollableState has room to scroll in either direction (whether it is at the minimum / maximum of its range). This defaults to true for backwards compatibility with existing implementations of ScrollableState. Consumers can use this to show indication to the user that there is still room to scroll, and this could also be used to avoid dispatching delta to ScrollableStates that have no room to scroll in a given direction, to reduce unnecessary work. (Idf1a0, b/255557085)
  • Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
  • Used in Clickable to correctly delay press interactions, when gestures could become scroll events.
  • Fixed Clickables not correctly delaying ripples, when used inside an Scrollable ViewGroup.
  • Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
  • Update snapStepSize naming to be consistent with other methods in SnapLayoutInfoProvider. (Ife67c)
  • Added EmojiCompat to Compose (Ibf6f9, b/139326806)
  • Renamed consumedWindowInsets() to consumeWindowInsets() and withConsumedWindowInsets() to onConsumedWindowInsetsChanged() and made the Modifiers public. (Ie44e1)

Bug Fixes

  • The crash with Modifier.animateItemPlacement() and Lazy grids was fixed. It was happening in some conditions when the new items count is smaller then the previous one. (I0bcac, b/253195989)

Compose Material: v1.4.0-alpha03

December 7, 2022

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

API Changes

  • Adding @JvmDefaultWithCompatibility annotation (I8f206)
  • Incorporated changes in the Swipeable APIs in ModalDrawer. DrawerState's animateTo has been replaced by the open and close methods and the offset is now nullable. Use requireOffset to require the offset. (I3de9e)
  • Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
  • Used in Clickable to correctly delay press interactions, when gestures could become scroll events.
  • Fixed Clickables not correctly delaying ripples, when used inside an Scrollable ViewGroup.
  • Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.

Bug Fixes

  • Fixed an issue where PullRefreshIndicator could get stuck after onRefresh is called, if the refreshing state was not changed to true. (Ie2416, b/248274004)

Dependency Updates

  • Compose UI and Compose Material now depend on Lifecycle 2.5.1. (I05ab0, b/258038814)

Compose Material 3: v1.1.0-alpha03

December 7, 2022

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

API Changes

  • Renamed consumedWindowInsets() to consumeWindowInsets() and withConsumedWindowInsets() to onConsumedWindowInsetsChanged() and made the Modifiers public. (Ie44e1)
  • Add new default content padding for text button with icon to use. (I8f662)
  • Added disabled colors for navigation bar and rail. (Ia7892, b/258867034)
  • Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
  • Used in Clickable to correctly delay press interactions, when gestures could become scroll events.
  • Fixed Clickables not correctly delaying ripples, when used inside an Scrollable ViewGroup.
  • Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.

Dependency Updates

  • Compose UI and Compose Material now depend on Lifecycle 2.5.1. (I05ab0, b/258038814)

Compose Runtime: v1.3.2

December 7, 2022

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

Bug Fixes

  • Updated to support androidx.compose.ui 1.3.2

Compose Runtime: v1.4.0-alpha03

December 7, 2022

androidx.compose.runtime:runtime-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.

API Changes

  • adding a new public method to ComposableMethod class analogous to java.lang.reflect.Method#getParameterTypes() (Iab0c3)

Bug Fixes

  • Snapshot apply notifications are now sent after the Recomposer finishes applying changes. (Iad6c0, b/222093277)

Compose UI: v1.3.2

December 7, 2022

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

Bug Fixes

  • Updated to use Profobuf 3.21.8, which avoids a security alert in protobuf-javalite:3.19.4 (CVE-2022-3171) (b/255545055)

Compose UI: v1.4.0-alpha03

December 7, 2022

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

API Changes

  • Removing ExperimentalComposeUiApi from PointerIcon (I23af8)
  • Introduce Page accessibility actions: PageUp, PageDown, PageLeft, PageRight. Note that these are only available from API 29. (Ida4ab)
  • Updated rememberNestedScrollConnection parameter view from root view to host view. (Ia5200)
  • Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
  • Used in Clickable to correctly delay press interactions, when gestures could become scroll events.
  • Fixed Clickables not correctly delaying ripples, when used inside an Scrollable ViewGroup.
  • Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
  • Renamed CompositingStrategy.Always to Offscreen to indicate that the graphicsLayer will always be rendered into an intermediate buffer (I47dc1)
  • Layout overload with multiple content slots is now stable (I10566, b/248294649)
  • Added experimental new APIs PerfettoTrace.record {} and PerfettoTraceRule to capture Perfetto traces (also known as System Traces) as part of a test, to inspect test behavior and performance. (I3ba16)
  • In UI tests using a Compose rule, continuations resumed during withFrameNanos callbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that calls withFrameNanos or withFrameMillis directly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples.
  • Added optional onPerformTraversals: (Long) -> Unit parameter to TestMonotonicFrameClock constructor and factory function to run code after withFrameNanos callbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670)
  • Added EmojiCompat to Compose (Ibf6f9, b/139326806)
  • Added new wallpaper parameter to @Preview for dynamic colour support (I9f512)

Bug Fixes

  • Snapshot apply notifications are now sent after the Recomposer finishes applying changes. (Iad6c0, b/222093277)
  • Introduced changes in captureToImage to allow for capturing multi window screenshots. This is useful for screenshot tests that use compose PopUps. (I169c5)

Dependency Updates

  • Compose UI and Compose Material now depend on Lifecycle 2.5.1. (I05ab0, b/258038814)

Constraintlayout: v2.2.0-alpha05

December 7, 2022

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

Bug Fixes

  • Fix leak in View Carousel (eb67b82)

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

December 7, 2022

androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha05 and androidx.constraintlayout:constraintlayout-core:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.

New Features

  • Support custom KeyAttributes in DSL (b94e748)
  • Surface bias properties in ConstrainScope (32625d0)
  • Support custom parameters in chains (72a2e9e)
  • Add Macrobenchmark tests for MotionLayout in Compose (36f43bc)
  • For more information on changes in previous release in Compose, see wiki page

API Changes

  • Flip addConstraintSet and addTransition parameters (152facc)

Bug Fixes

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

December 7, 2022

androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha05 and androidx.constraintlayout:constraintlayout-core:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.

New Features

  • Support custom KeyAttributes in DSL (b94e748)
  • Surface bias properties in ConstrainScope (32625d0)
  • Support custom parameters in chains (72a2e9e)
  • Add Macrobenchmark tests for MotionLayout in Compose (36f43bc)
  • For more information on changes in previous release in Compose, see wiki page

API Changes

  • Flip addConstraintSet and addTransition parameters (152facc)

Bug Fixes

Core Ultra Wideband (UWB): v1.0.0-alpha04

December 7, 2022

androidx.core.uwb:uwb:1.0.0-alpha04 and androidx.core.uwb:uwb-rxjava3:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.

New Features

  • When there's no GMS support, AndroidX API will try to use the AOSP UWB backend service that are distributed to OEMs via AOSP platform.(532de0)

API Changes

  • Adding @JvmDefaultWithCompatibility annotation (I8f206)

Fragment: v1.5.5

December 7, 2022

androidx.fragment:fragment:1.5.5, androidx.fragment:fragment-ktx:1.5.5, and androidx.fragment:fragment-testing:1.5.5 are released. Version 1.5.5 contains these commits.

Bug Fixes

  • Fragments will no longer incorrectly save the ViewModel state as part of the view registry saved state. (I10d2b, b/253546214)

Fragment: v1.6.0-alpha04

December 7, 2022

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

New Features

  • FragmentStrictMode added a new WrongNestedHierarchyViolation that detects when a child fragment is nested within it’s parent’s View hierarchy, but not added to the parent’s childFragmentManager. (I72521, b/249299268)

Behavior Changes

  • Fragments now restore their SavedStateRegistry state before onAttach(), ensuring that it is available from all upward lifecycle methods. (I1e2b1)

API Changes

  • The fragment-testing-manifest artifact separates out the manifest entries from the rest of the fragment-testing components. This means you can do the following:
debugImplementation("androidx.fragment:fragment-testing-manifest:X.Y.Z")
androidTestImplementation("androidx.fragment:fragment-testing:X.Y.Z")

This avoids conflicts due to version skew between fragment-testing and androidx.test.(I8e534, b/128612536)

Bug Fixes

Games-Activity: v1.2.2

December 7, 2022

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

Bug Fixes

  • The maximum number of motion events can now be set at runtime.

Health Connect: v1.0.0-alpha08

December 7, 2022

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

API Changes

  • Adds BodyWaterMass, HeartRateVariabilityRmssdRecord as new supported Record Types. (Ifd58f)
  • Removes HipCircumferenceRecord, WaistCircumferenceRecord as supported RecordTypes. (I62fb9)
  • Changed MenstruationFlowRecord.flow from stringdef to intdefs. (I0369f)
  • Changed enum-like Record fields with Strings to Integers for better performance. (I3b295)
  • Changed ExerciseSession, ExerciseRepetitions, SleepStage enum-like fields from string to integer types. (Id32a9)
  • Renamed ExerciseSessionRecord.ACTIVE_TIME_TOTAL->EXERCISE_DURATION_TOTAL. (I5d7bd)
  • Adds "Unusual" to CervicalMucus enums. Rename "Clear" to "Eggwhite" for more specificity. Changed CervicalMucus#appearance and #sensation from StringDefs to IntDefs. (I3ac51)
  • StringDef of DeviceTypes enum is now moved into IntDefs under Device. (I3abf3)
  • Adds HealthConnectClient.isApiSupported(), which returns false on SDK versions with no compatible implementations. Renamed HealthConnectClient.isAvailable->isProviderAvailable. (I3674e)

Bug Fixes

  • Disallow HeartRate beatsPerMinute values less than 1 (I6052f)
  • Adding @JvmDefaultWithCompatibility annotation (I8f206)

Hilt: v1.1.0-alpha01

December 7, 2022

androidx.hilt:hilt-navigation:1.1.0-alpha01 and androidx.hilt:hilt-navigation-compose:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.

API Changes

  • The hiltViewModel() API now takes an optional key parameter. This allows you to get multiple instances of the same ViewModel type using different keys. (I6ee47, b/245139957)

input: v1.0.0-alpha02

December 7, 2022

androidx.input:input-motionprediction:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • Renamed recordMovement to record, and dispose to close (I018c0)

JavascriptEngine: v1.0.0-alpha03

December 7, 2022

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

New Features

  • Contain out of memory crashes to the responsible isolate instead of crashing the entire sandbox. Once the isolate goes out of memory, it cannot be used for further evaluation.
  • Currently, the resources that the isolate holds are not freed till the sandbox is closed. This resource freeing behavior might change in later versions of the library.

API Changes

  • Throw MemoryLimitExceededException when an evaluation leads to isolate going out of memory.(I336ca)

privacysandbox-tools: v1.0.0-alpha02

December 7, 2022

androidx.privacysandbox.tools:tools-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

  • These tools are aimed to enhance the integration with the Privacy Sandbox SDK Runtime APIs. These tools will help with auto-generating boilerplate code to define and interact with the client-facing interfaces of the runtime-enabled SDK.

New Features - Adds support for defining client-facing SDK interfaces that accept callbacks and data value objects as parameters and return types - Propagate SDK exceptions to clients - Support for SDK Runtime backward compatibility generation

API Changes

  • Adding @JvmDefaultWithCompatibility annotation (I8f206)

ProfileInstaller: v1.2.1

December 7, 2022

androidx.profileinstaller:profileinstaller:1.2.1 is released. Version 1.2.1 contains these commits.

New Features

  • Enable profileinstaller for S_V2 (API 32) and TIRAMISU (API 33) (b/254900303).

Room: v2.5.0-rc01

December 7, 2022

androidx.room:room-*:2.5.0-rc01 is released. Version 2.5.0-rc01 contains these commits.

  • This release is identical to 2.5.0-beta02.

Sqlite: v2.3.0-rc01

December 7, 2022

androidx.sqlite:sqlite:2.3.0-rc01, androidx.sqlite:sqlite-framework:2.3.0-rc01, and androidx.sqlite:sqlite-ktx:2.3.0-rc01 are released. Version 2.3.0-rc01 contains these commits.

Bug Fixes

  • Resolving NPE issue in SupportSQLiteQueryBuilder for nullable columns. (Ica8f5)

Tracing Perfetto: v1.0.0-alpha08

December 7, 2022

androidx.tracing:tracing-perfetto:1.0.0-alpha08, androidx.tracing:tracing-perfetto-binary:1.0.0-alpha08, and androidx.tracing:tracing-perfetto-common:1.0.0-alpha08 are released. Version 1.0.0-alpha08 contains these commits.

New Features

  • Improved performance by optimising the way strings are handled.

Bug Fixes

  • Added a proguard rule preventing methods of PerfettoNative from being pruned if the class is used at all (prevents a crash in a niche case when tracing is initialised, but no tracing calls are present in the app).

tv: v1.0.0-alpha03

December 7, 2022

androidx.tv:tv-foundation:1.0.0-alpha03 and androidx.tv:tv-material:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.

New Features

  • TabRow is now available as an experimental API allowing users to add top navigation bars to their apps. Generally, TV devices expect tabs to load when the tab-title is focused on in the tab-row.
  • TV specific indicators like underline indicator and pill indicator are offered out of the box. Sample usages can be found in tv-samples

Wear Compose: v1.2.0-alpha01

December 7, 2022

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

New Features

  • We’ve updated the experimental Placeholder functionality so that the “Wipe Off” effect is immediately applied when the content is ready rather than waiting for the next animation loop to start. We have also made some updates to the shimmer and wipe off animations. (I5a7f4)

API Changes

  • We have added a HierarchicalFocusCoordinatorcomposable to enable marking sub-trees of the composition as focus enabled or focus disabled.(I827cb)
  • We have added a new property to override the semantic role for ToggleButton.(I67132)
  • We have updated TimeTextDefaults.TimeFormat12Hours to remove AM/PM in TimeText. This will change the default value of timeSource parameters in TimeText API. (I1eb7f)
  • We have extended the Picker API to improve accessibility for screens with multi-picker. There is a new property userScrollEnabled to control whether the picker is active for user scrolling. (I3c3aa)

Bug Fixes

  • We have changed the default border width for an OutlinedButton/OutlinedCompactButton from 2.dp to 1.dp to match final UX specs. (Icf84d)
  • In order to reduce the effect of the first item added to an empty ScalingLazyColumn appearing to scroll into place we have added an estimated autoCentering topPadding when the contents are empty. This change calculates the amount of top padding needed by assuming an initial item of height 0.dp. For ScalingLazyListAnchorType.ItemStart this will calculate the correct top padding, for ScalingLazyListAnchorType.ItemCenter this calculation will be incorrect as the height of the items is needed to correctly size the contents resulting in a small scroll into place effect based on the items real height.(I239a4)
  • We have updated the background scrim applied to the SwipeToDismiss animation to match the Wear platform. (I9003e)
  • We have fixed PositionIndicator handling of LazyListState and ScalingLazyListState for list items of size 0 to avoid divide by zero errors.(Ic28dd)

Wear Compose: v1.1.0

December 7, 2022

androidx.wear.compose:compose-foundation:1.1.0, androidx.wear.compose:compose-material:1.1.0, and androidx.wear.compose:compose-navigation:1.1.0 are released. Version 1.1.0 contains these commits.

Important changes since 1.0.0

New Features

  • We’ve updated the experimental Placeholder functionality so that the “Wipe Off” effect is immediately applied when the content is ready rather than waiting for the next animation loop to start. We have also made some updates to the shimmer and wipe off animations. (I5a7f4)

Bug Fixes

  • We have changed the default border width for an OutlinedButton/OutlinedCompactButton from 2.dp to 1.dp to match final UX specs. (Icf84d)
  • In order to reduce the effect of the first item added to an empty ScalingLazyColumn appearing to scroll into place we have added an estimated autoCentering topPadding when the contents are empty. This change calculates the amount of top padding needed by assuming an initial item of height 0.dp. For ScalingLazyListAnchorType.ItemStart this will calculate the correct top padding, for ScalingLazyListAnchorType.ItemCenter this calculation will be incorrect as the height of the items is needed to correctly size the contents resulting in a small scroll into place effect based on the items real height.(I239a4)
  • We have updated the background scrim applied to the SwipeToDismiss animation to match the Wear platform.(I9003e)
  • We have fixed PositionIndicator handling of LazyListState and ScalingLazyListState for list items of size 0 to avoid divide by zero errors.(Ic28dd)

Wear Watchface: v1.2.0-alpha05

December 7, 2022

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

New Features

  • A while back we added support for hierarchical UserStyleSettings, and from android T it’s now possible to have more than one ComplicationSlotsUserStyleSetting in a hierarchy. Only one ComplicationSlotsUserStyleSetting will be active, based on the user’s style selections.

  • We’re improving screen reader support for ListOption and ComplicationSlotsOption by adding a screenReaderName field, note prior to android T this field will be ignored by companion editors.

API Changes

  • We've added a new optional screenReaderName field to ListOption and ComplicationSlotsOption for use by editors - will be ignored by companion editors on devices before android T. (I75326)
  • From android T multiple ComplicationSlotsUserStyleSettings are now supported in a style hierarchy as long as at most only one of them can be active at any one time. We've added a utility function findComplicationSlotsOptionForUserStyle to UserStyleSchema to help find the active ComplicationSlotsOption if any. (Ic2b06)
  • RangedValuesTypes have been pulled into RangedValueComplicationData's companion object and renamed to TYPE_UNDEFINED, TYPE_RATING and a new TYPE_PERCENTAGE has been added. (I55d02)
  • We've renamed experimental DynamicFloat to FloatExpression and marked it as @hide. (Idf4f1)
  • Adding @JvmDefaultWithCompatibility annotation (I8f206)

Webkit: v1.6.0-beta01

December 7, 2022

androidx.webkit:webkit:1.6.0-beta01 is released. Version 1.6.0-beta01 contains these commits.

API Changes

  • ProcessGlobalConfig has been changed to use a normal constructor and a static apply method. The apply method should only be called once per process, as early as possible, and will throw IllegalStateException if called more than once. ProcessGlobalConfig objects no longer have any restrictions on how many times setters can be called. (I456c3)

WorkManager: v2.8.0-rc01

December 7, 2022

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

New Features

  • No new features on this release. This is mainly a version bump