Skip to content

2023-04-19

Choose a tag to compare

@github-actions github-actions released this 19 Apr 18:37
· 151 commits to main since this release

Activity: v1.7.1

April 19, 2023

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

Bug Fixes

  • The ReportFullyDrawExecuter no longer leaks when using ComponentActivity with ActivityScenario. (Id2ff2, b/277434271)

CameraX: v1.3.0-alpha06

April 19, 2023

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

New Features

  • Concurrent camera is a new feature introduced from Android 11, which supports simultaneous streaming of camera devices, for example, it allows a device to have both the front and back cameras operating at the same time. CameraX currently only supports dual concurrent cameras, which allows two cameras operating at the same time, with at most two {@link UseCase}s bound for each. The max resolution is 720p or 1440p, more details in the following link, see CameraManager#getConcurrentCameraIds()
  • Introducing the new ResolutionSelector API which covers the following features:
    • Applications can specify aspect ratio and resolution strategies to select the best resolution for their needs.
    • All sizes and aspect ratio parameters are expressed in the coordinates of the camera device sensor.
    • Applications can implement a custom resolution filter to arrange the supported sizes in the desired order.
    • Applications can also enable high resolution capture to obtain higher resolution images. However, please note that using a high resolution may result in slower capture times.
    • Added VideoCapture mirroring APIs. Videos recorded by VideoCapture are not mirrored by default. However, the camera preview is mirrored on the front camera by default. VideoCapture mirroring APIs make it possible to align to the camera preview when using the front camera. There are three MirrorMode, OFF, ON and ON_FRONT_ONLY. To align to the camera preview, it is recommended to use ON_FRONT_ONLY which means that mirroring is not enabled for the rear camera but is enabled for the front camera.

API Changes

  • Exposed new ResolutionSelector API. Applications can specify aspect ratio and resolution strategies with fallback rules or a custom resolution filter to get the desired results. Applications can specify a flag to enable high resolution capture. This will allow CameraX to select higher resolutions when taking photos or videos. However, please note that using a high resolution may result in slower capture times. (Ibed95)
  • The FPS ranges supported by the AE algorithm can now be queried via CameraInfo#getSupportedFrameRateRanges(). (Iaa67f)
  • Consolidate the names of all frame rate methods into using 'FrameRate'. Correct the javadoc mistake in VideoCapture#getTargetFrameRate() (I83304)
  • Deprecated the legacy setTargetAspectRatio and setTargetResolution API. Please use the new ResolutionSelector API instead. (I542c3)
  • Added public APIs for concurrent dual camera, including
    1. List<List<CameraInfo>> getAvailableConcurrentCameraInfos()
    2. ConcurrentCamera bindToLifecycle(@NonNull ConcurrentCameraConfig concurrentCameraConfig)
    3. boolean isConcurrentCameraModeOn() and ConcurrentCameraConfig, SingleCameraConfig and ConcurrentCamera (Iab1c1)
  • Make ImageProcessor.Response#getOutputImage NonNull (Ib9c60)
  • Added VideoCapture mirroring APIs, including VideoCapture.Builder.setMirrorMode(int) and VideoCapture.getMirrorMode(). The APIs are useful for applications require the video recording to be consistent with common camera preview behavior, i.e. the rear camera preview is not mirrored but the front camera preview is mirrored. (I713b6, b/194634656)
  • Add setTargetFrameRate() API in the VideoCapture.Builder and getTargetFramerate() API in VideoCapture (I109d4)
  • Make SurfaceOutput extending Closable and hide SurfaceOutput.Event's public constructor. (I60ea8)
  • Added Recording.mute to dynamically mute or unmute an in-processing recording. RecordingStats will contain AudioStats.AUDIO_STATE_MUTED when the in-processing recording is muted explicitly. (Ie17fc)
  • Made #setEffects() parameter non-null. Add a #clearEffects() API for clearing effects. The app should call #clearEffects() to remove effects. (I4b4d9)
  • Add a second constructor for ViewfinderSurfaceRequest.Builder to take a builder for copy constructor (I621a7)

Bug Fixes

  • Fixed the issue where apps invoking Extensions API could crash when closing the camera (Ib27e5)
  • Fixed an issue where VideoCapture could not work with the front camera on some devices. For example, on Samsung Galaxy S23 and Xiaomi 2107113SG. (Ibec7e, b/270656244)
  • Fixed the issue where taking pictures using File in the external storage public folder will always fail in Android 10 or above. Please note that in Android 10, taking pictures using File in the external storage public folder also requires setting requestLegacyExternalStorage to true in application tag. (I11b2c)
  • Fixed a RejectedExecutionException crash in DefaultSurfaceProcessor. The crash could happen when VideoCapture is bound and the activity is paused. (Idb46a, b/273713906)

Compose Animation: v1.4.2

April 19, 2023

androidx.compose.animation:animation:1.4.2, androidx.compose.animation:animation-core:1.4.2, and androidx.compose.animation:animation-graphics:1.4.2 are released with no changes. Version 1.4.2 contains these commits.

Compose Animation: v1.5.0-alpha03

April 19, 2023

androidx.compose.animation:animation-*:1.5.0-alpha03 is released. Version 1.5.0-alpha03 contains these commits.

New Features

  • New default behavior for SubcomposeLayout in LookaheadScope. It allows SubcomposeLayouts that don’t have conditional slots (e.g. TabRow, Scaffold, BoxWithConstraints, etc) to work nicely with lookahead animations.

API Changes

  • New default intermediateMeasurePolicy that reuses measure policy from lookahead pass allows SubcomposeLayout subtypes without conditional slots such as Scaffold, TabRow, and BoxWithConstraints to work with lookahead by default. (Id84c8)
  • Rename infix fun with to togetherWith for combining enter and exit transitions. New AnimatedContentScope as receiver for the content lambda. (Ic39ae)

Compose Compiler: v1.4.6

April 19, 2023

androidx.compose.compiler:compiler:1.4.6, androidx.compose.compiler:compiler-daemon:1.4.6, and androidx.compose.compiler:compiler-hosted:1.4.6 are released. Version 1.4.6 contains these commits.

Bug Fixes

  • Compose Compiler now depends on Java11 (instead of Java17 required by Compose Compiler version 1.4.5) to better support users who are still using older versions of Java.

Compose Foundation: v1.4.2

April 19, 2023

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

Compose Foundation: v1.5.0-alpha03

April 19, 2023

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

This release enables the new text rendering stack for Compose. The new stack is performance optimized, and you should see no visible changes.

If you do see changes in rendered text, you can debug by setting NewTextRendering1_5 = false to confirm the behavior difference. Setting this will force recomposition. Please file any behavior differences as bugs.

The debug flag will be removed before the 1.5 beta01 release.(Iada23, b/246960758)

API Changes

  • Make FlowColumn/FlowRow inline. (Idab37)

Compose Material: v1.4.2

April 19, 2023

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

Compose Material: v1.5.0-alpha03

April 19, 2023

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

API Changes

  • Update BottomDrawer internals to use the new SwipeableV2 APIs. Because of this BottomDrawerState will now only have APIS defined at the class level, it won't inherit methods/properties from SwipeableState. We're using composition with an internal SwipeableV2State. Offset is now a nullable floating point property, the current value and a swipe target value can still be accessed through currentValue and targetValue properties. The previous class level methods such as open/expand/close and properties such as isOpen/isClosed continue to be supported. (Iad40c, b/178529942, b/220676296)

Bug Fixes

  • Updated internals of the Switch component. The switch will now preview the closest (target state) when dragging. (Id90d4)
  • Animated sheet content (e.g. Modifier.animateContentSize on sheet content) in BottomSheetScaffold has been optimized and now works smoothly. (Ia913c, b/270518202, b/254446195)
  • BottomSheetScaffold will not participate in nested scroll anymore when gesturesEnabled is set to false. (I634f3, b/215403277)

Compose Material 3: v1.1.0-rc01

April 19, 2023

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

API Changes

  • TimePicker removed from stable API, further changes are expected in the state API (I3f39a)
  • ModalBottomSheet moved to android only. ModalBottomSheet is not recommended for desktop use, and the functionality is not actively maintained. (Ib3778)

Compose Runtime: v1.4.2

April 19, 2023

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

Bug Fixes

  • Fix potential deadlock in snapshot list and map 2eb6570

  • Adding content to a SnapshotStateList or SnapshotStateMap can encounter a deadlock if the modification is concurrent with a direct write to the state record. This was made significantly more likely to be encountered with the changes introduced by 93fcae828b that uses direct writes to release unused records.

  • The locks are now ordered in that a snapshot lock is never attempted to be taken when a map or list lock is held.

Compose Runtime: v1.5.0-alpha03

April 19, 2023

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

API Changes

  • The recomposer created for an Android window will now only block calls to withFrameNanos instead of all composition when it receives an ON_STOP notification. This means windows associated with stopped activites will continue to recompose for data changes but the animations, or any other caller of withFrameNanos, will block. (Id9e7f, b/240975572)

Bug Fixes

  • Fix potential deadlock in snapshot list and map 5c1a425
  • Execute deactivation callbacks for LayoutNode before disposing effects 3784073
  • Fix changed flags for restarted lambdas ea81df9
  • Fix live edit regression for Composable with nodes 73fd4d8
  • ON_STOP should pause the frame clock broadcasts instead of composition ae276f1
  • Invalidate SnapshotStateObserver scopes for unchanged derived states 84d9b1c
  • Fix potential dead-lock when disposing compositions 28761fc
  • Fix moving content into a sub-composition 92d4156

Compose UI: v1.4.2

April 19, 2023

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

Bug Fixes

  • Fixed an issue where AndroidView would not reuse its modifiers correctly, potentially resulting in unexpected behavior and crashes. (Ib67ee, b/275919849)
  • Fixed regression where keyboard wasn't showing for text fields inside dialogs not created by the Dialog composable (I82551, b/262140644)

Compose UI: v1.5.0-alpha03

April 19, 2023

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

New Features

  • New default behavior for SubcomposeLayout in LookaheadScope: SubcomposeLayouts that don’t have conditional slots (e.g. TabRow, Scaffold, BoxWithConstraints, etc) now work nicely with lookahead animations.

API Changes

  • New default intermediateMeasurePolicy that reuses measure policy from lookahead pass allows SubcomposeLayout subtypes without conditional slots such as Scaffold, TabRow, and BoxWithConstraints to work with lookahead by default. (Id84c8)
  • The recomposer created for an Android window will now only block calls to withFrameNanos instead of all composition when it receives an ON_STOP notification. This means windows associated with stopped activites will continue to recompose for data changes but the animations, or any other caller of withFrameNanos, will block. (Id9e7f, b/240975572)
  • Changes motionEventSpy to stable. (Ic5ec4, b/261560988)
  • Added public TextRange.constrain method. (I97912)
  • PlatformTextStyle.includeFontPadding is no longer deprecated to encourage developers to use this compatibility API to switch and test setting includeFontPadding false. (I98e96, b/277703184)

Core Splashscreen: v1.0.1

April 19, 2023

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

Bug Fixes

Core and Core-ktx: v1.11.0-alpha03

April 19, 2023

androidx.core:core:1.11.0-alpha03, androidx.core:core-ktx:1.11.0-alpha03, and androidx.core:core-testing:1.11.0-alpha03 are released. Version 1.11.0-alpha03 contains these commits.

API Changes

  • Update BuildCompat in preparation for Android 14 Beta 2 (Idc1b1, b/276491001)
  • Unhides NotificationCompat.TvExtender (Ibe13a)
  • Add public methods to access M3HCT parameters and turn M3HCT values into ARGB (Id7e9d)

Emoji2: v1.4.0-beta02

April 19, 2023

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

Bug Fixes

  • Update lint baseline files (Iaa212)

Fragment: v1.5.7

April 19, 2023

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

Bug Fixes

  • Using postponeEnterTransition with a timeout and then replacing the postponed fragment no longer results in leaking the postponed fragment. (I2ec7d, b/276375110)

Fragment: v1.6.0-beta01

April 19, 2023

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

Bug Fixes

  • Using postponeEnterTransition with a timeout and then replacing the postponed fragment no longer results in leaking the postponed fragment. (I2ec7d, b/276375110)
  • The new onBackStackChangeStarted and onBackStackChangeCommitted callbacks will now only dispatch a fragment a single time, even if multiple transactions contain the same fragment. (Ic6b69)

Games Performance Tuner 2.0: v2.0.0-alpha04

April 19, 2023

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

New Features

  • Updated the telemetry collection features in the library, allowing for more granular reporting of frame rendering times.

Bug Fixes

  • Fixed a bug where the library crashes if max instrumentation keys are more than histogram count.

Graphics Shapes: v1.0.0-alpha02

April 19, 2023

androidx.graphics:graphics-shapes:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • The Polygon superclass was merged in with its subclass, RoundedPolygon; all polygons are now [optionally] rounded polygons.
  • The Star function (which still returns a RoundedPolygon, as before) now takes an innerRadius value, instead of the previous innerRadiusRatio parameter. This is in the same units as the existing radius parameter, making things simpler and more consistent. Also, the numOuterVertices parameter was renamed to numVerticesPerRadius to clarify that the same number is applied to both inner and outer radii.
  • CornerRounding.radius was previously documented to be relative to the size of the polygon, but it was (and should be) an absolute, not relative, value. The docs were updated and the annotation limiting it to a max value of 1.0 was fixed.

Hilt: v1.1.0-alpha02

April 19, 2023

androidx.hilt:hilt-navigation:1.1.0-alpha02 and androidx.hilt:hilt-navigation-fragment:1.1.0-alpha02 are released. Version 1.1.0-alpha02 contains these commits.

API Changes

Bug Fixes

  • Fixed an issue where hiltNavGraphViewModel() doesn’t inject SavedStateHandle. (3ef114, b/272099838)

Mediarouter: v1.6.0-alpha03

April 12, 2023

androidx.mediarouter:mediarouter:1.6.0-alpha03 and androidx.mediarouter:mediarouter-testing:1.6.0-alpha03 are released. This was released from an internal branch.

Note: This version will only compile against the Android 14 Beta 1 SDK.
  • Make some changes around MediaRouteDescriptor’s visibility API.
  • Deprecate MediaRouteActionProvider.setAlwaysVisible and MediaRouteButton.setAlwaysVisible, making the media route button always visible, regardless of the network connectivity, or the availability of media routes.
  • Fix volume adjustment for non-dynamic route controllers. This addresses a bug where trying to adjust the volume of a route in the output switcher would cause volume to go back to its original value (93f409).

Navigation: v2.6.0-beta01

April 19, 2023

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

New Features

  • NavBackStackEntry now provides a custom toString implementation. (Iff00b)

Bug Fixes

  • When using Navigation with Fragments, attempting to manually do a FragmentTransaction that adds a fragment to the FragmentManager's back stack will now throw an IllegalArgumentException. You should always add fragments via the navigate() API. (I6d38e)
  • When there is a navigate that adds an entry and a popBackStack that removes it in the same frame, the resulting top entry on the back stack will now consistently make it back to the RESUMED Lifecycle.State. (Id8067, b/276495952)

privacysandbox ads: v1.0.0-beta03

April 19, 2023

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

New Features

  • Enabled Preview API for Topics.

privacysandbox ui: v1.0.0-alpha02

April 19, 2023

androidx.privacysandbox.ui:ui-client:1.0.0-alpha02, androidx.privacysandbox.ui:ui-core:1.0.0-alpha02, and androidx.privacysandbox.ui:ui-provider:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

New Features

ui-client updates:

  • Added a StateChangedListener that reports the state of the UI session associated with a SandboxedSdkView
  • Removed ErrorConsumer, this is replaced by the StateChangedListener.

API Changes

ui-client updates:

  • Added StateChangedListener, SandboxedSdkUiSessionState and associated methods.
  • Removed setSdkErrorConsumer method of SandboxedSdkView.

Security: v1.1.0-alpha06

April 19, 2023

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

New Features

  • Updated Tink dependency to 1.8.0

Test Uiautomator: v2.3.0-alpha03

April 19, 2023

androidx.test.uiautomator:uiautomator:2.3.0-alpha03 is released. Version 2.3.0-alpha03 contains these commits.

API Changes

  • Exposed a Condition interface to allow custom wait conditions instead of relying solely on the built-ins in Until, and updated UiDevice#wait and UiObject2#wait methods to accept this interface (27c0ea).
  • Added UiObject2#scrollUntil to support scrolling until a condition is met and to reach parity with UiScrollable (099d6e).
  • Added UiDevice#setOrientationPortrait and setOrientationLandscape to facilitate rotations across device types (e13cb7).
  • Added UiObject2#setGestureMarginPercent to support setting margins relative to the object size. (Ib8c77)

Bug Fixes

  • Fixed UiScrollable methods occasionally using invalid coordinates on SDKs 18 to 22 (b53ece).
  • Fixed UiObject2#setText and clearText failing to modify text on SDKs 18 and 19 (77e41d).
  • Fixed UiWatchers not being executed in the right order (c85f92).
  • Fixed issue where device rotation might not yet be complete after a UiDevice orientation change (c6cea0).
  • Improved reliability of long clicks, drags, and pinches (49572b, 3c619a).

tv: v1.0.0-alpha06

April 19, 2023

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

New Features

  • Add Material 3 Card implementations optimized for TV.
    • Basic Card (I5b701)
    • ClassicCard, CompactCard and WideClassicCard (I70471)
    • StandardCardLayout and WideCardLayout (I33fae)
  • Add Material 3 Button implementations optimized for TV.

API Changes

  • Renamed CarouselSlide and slideCountin Carousel to CarouselItem and itemCount. (Ie554c)
  • Renamed forward and backward ContentTransforms to StartToEnd and EndToStart. (Ie554c)

Bug Fixes

  • Handle back DPAD button when focused on NavigationDrawer. (d654f4)

Wear: v1.3.0-alpha05

April 19, 2023

androidx.wear:wear:1.3.0-alpha05 is released. Version 1.3.0-alpha05 contains these commits.

API Changes

  • Migrate AmbientModeSupport to use LifecycleObserver. Deprecate AmbientModeSupport in favour of the new lifecycle-aware classes. (I1593b)

Bug Fixes

  • Update SwipeDismissTransitionHelper background scrim approach to use drawables instead of adding view to fix errors while using FragmentContainerView. (I851cd)

Wear Compose: v1.2.0-alpha09

April 19, 2023

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

API Changes

  • Add angularSizeDp to the CurvedModifier api for setting angular width in DP (I89a52)

Bug Fixes

  • We have fixed accessibility issues in our time picker demos(Id0eb7)

Wear Compose Material3: v1.0.0-alpha03

April 19, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

API Changes

  • We have added the Material 3 Button component - this is our stadium-shaped button and was formerly named Chip in the Wear Compose Material library (it has been renamed to Button for consistency with the Compose Material 3 library). The default Button has a filled background and there are button variations for FilledTonal (muted background), Outlined (transparent with a thin border) and Child (transparent background and no border, used for supplementary actions with the lowest amount of prominence). Round buttons for simple icon and text content will follow in a future release.(Ia6942)

wear protolayout: v1.0.0-alpha08

April 19, 2023

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

New Features

  • AndroidTextStyle has been added to LayoutElementBuilders. (I8d967)
  • We have added support for setting excluding font padding in ProtoLayout Material Text. (I17f5d)
  • ARGB_8888 is now supported for inline images. (I18c1e)
  • DynamicColor now supports onConditionoperation. (I10927)

API Changes

  • Support custom duration for reverse animation (I3251f)
  • We've added the SemanticDescription modifier. In addition, ContentDescription is not bindable. (I3f1d)
  • The DynamicBool.isFalse()method is now replaced with DynamicBool.negate() and the DynamicBool.isTrue() is removed. In addition NaN DynamicFloat values and narrowing a DynamicInt32 to a DynamicFloat now emit an invalid dynamic result. (I6ac1e)
  • Int and float formatters now use the Builder pattern. (Ieb213)

Bug Fixes

  • Fallback static value has been removed from animatable fields. (Ifcb01)
  • DynamicTypeValueReceiver#onPreUpdate has been removed. (I2dc35)
  • Length of Strings in dynamic expressions are now capped. (I4c93)
  • The gradle dependencies are now correctly set to api instead of implementation when required. (I40503)

Wear Tiles: v1.2.0-alpha04

April 19, 2023

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

Bug Fixes

  • The gradle dependencies are now correctly set to api instead of implementation when required. (I40503)

Wear Watchface: v1.2.0-alpha08

April 19, 2023

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

New Features

  • From Android T, complication providers with the privileged com.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACE may register androidx.wear.watchface.complications.datasource.SAFE_WATCH_FACE_SUPPORTED_TYPES metadata which overrides android.support.wearable.complications.SUPPORTED_TYPES for safe watch faces. This means a complication provider may choose to serve different types to trusted vs untrusted watchfaces.

API Changes

  • Propagation of @Deprecated class to property (I882d1, b/271441831)
  • Value parameter name for Enum.valueOf changed (Ia9b89)
  • More thrown exceptions from enum valueOf (I818fe)
  • We've removed renderWatchFaceToSurface in favour of createRemoteWatchFaceView which is built on top of SurfaceControlViewHost and allows the caller to embed a view from the watch face, which is rendered when the client calls RemoteWatchFaceViewHost#renderWatchFace. (Ib311d)
  • We've added renderWatchFaceToSurface to InteractiveWatchFaceClient, HeadlessWatchFaceClient and EditorSession. Typically this will be more performant than rendering to a bitmap. (Ieacad)
  • ObservableStateStore has been rename to StateStore. (Ieb0e2)
  • Added DynamicTypeEvaluator.Builder instead of constructor arguments to allow more optional arguments, including ObservableStateStore which now defaults to an empty store. (I6f832)
  • Refactored order of parameters in DynamicTypeEvaluator. (Ic1ba4)
  • Executor has been added to the DynamicTypeEvaluator.bind methods. (I346ab)
  • We have added startEvaluation method to the BoundDynamicType to trigger the evaluation after dynamic type is bound. (I19908)
  • Complication providers with the privileged com.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACE may register androidx.wear.watchface.complications.datasource.SAFE_WATCH_FACE_SUPPORTED_TYPES metadata which overrides android.support.wearable.complications.SUPPORTED_TYPES for safe watch faces. (Id1c73)
  • We've renamed CustomValueUserStyleSettings2 to LargeCustomValueUserStyleSettings. (Ic17ac)

Bug Fixes

  • DynamicTypeValueReceiver#onPreUpdate has been removed. (I2dc35)