2023-04-19
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
ReportFullyDrawExecuterno longer leaks when usingComponentActivitywithActivityScenario. (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
ResolutionSelectorAPI 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
VideoCapturemirroring APIs. Videos recorded byVideoCaptureare not mirrored by default. However, the camera preview is mirrored on the front camera by default.VideoCapturemirroring APIs make it possible to align to the camera preview when using the front camera. There are threeMirrorMode,OFF,ONandON_FRONT_ONLY. To align to the camera preview, it is recommended to useON_FRONT_ONLYwhich means that mirroring is not enabled for the rear camera but is enabled for the front camera.
API Changes
- Exposed new
ResolutionSelectorAPI. 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
setTargetAspectRatioandsetTargetResolutionAPI. Please use the newResolutionSelectorAPI instead. (I542c3) - Added public APIs for concurrent dual camera, including
List<List<CameraInfo>> getAvailableConcurrentCameraInfos()ConcurrentCamera bindToLifecycle(@NonNull ConcurrentCameraConfig concurrentCameraConfig)boolean isConcurrentCameraModeOn()andConcurrentCameraConfig,SingleCameraConfigandConcurrentCamera(Iab1c1)
- Make
ImageProcessor.Response#getOutputImageNonNull (Ib9c60) - Added
VideoCapturemirroring APIs, includingVideoCapture.Builder.setMirrorMode(int)andVideoCapture.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 theVideoCapture.BuilderandgetTargetFramerate()API inVideoCapture(I109d4) - Make
SurfaceOutputextending Closable and hide SurfaceOutput.Event's public constructor. (I60ea8) - Added
Recording.muteto dynamically mute or unmute an in-processing recording.RecordingStatswill containAudioStats.AUDIO_STATE_MUTEDwhen 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.Builderto 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
VideoCapturecould 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
requestLegacyExternalStorageto true in application tag. (I11b2c) - Fixed a
RejectedExecutionExceptioncrash inDefaultSurfaceProcessor. The crash could happen whenVideoCaptureis 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
SubcomposeLayoutinLookaheadScope. It allowsSubcomposeLayoutsthat don’t have conditional slots (e.g.TabRow,Scaffold,BoxWithConstraints, etc) to work nicely with lookahead animations.
API Changes
- New default
intermediateMeasurePolicythat reuses measure policy from lookahead pass allowsSubcomposeLayoutsubtypes without conditional slots such asScaffold,TabRow, andBoxWithConstraintsto work with lookahead by default. (Id84c8) - Rename infix fun with to
togetherWithfor combining enter and exit transitions. NewAnimatedContentScopeas 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/FlowRowinline. (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
BottomDrawerinternals to use the newSwipeableV2APIs. Because of thisBottomDrawerStatewill now only have APIS defined at the class level, it won't inherit methods/properties fromSwipeableState. We're using composition with an internalSwipeableV2State. 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 asisOpen/isClosedcontinue 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.animateContentSizeon sheet content) inBottomSheetScaffoldhas been optimized and now works smoothly. (Ia913c, b/270518202, b/254446195) BottomSheetScaffoldwill not participate in nested scroll anymore whengesturesEnabledis set tofalse. (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
TimePickerremoved from stable API, further changes are expected in the state API (I3f39a)ModalBottomSheetmoved to android only.ModalBottomSheetis 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
SnapshotStateListorSnapshotStateMapcan 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
withFrameNanosinstead 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 ofwithFrameNanos, will block. (Id9e7f, b/240975572)
Bug Fixes
- Fix potential deadlock in snapshot list and map 5c1a425
- Execute deactivation callbacks for
LayoutNodebefore 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
SnapshotStateObserverscopes 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
AndroidViewwould 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
Dialogcomposable (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
SubcomposeLayoutinLookaheadScope:SubcomposeLayoutsthat don’t have conditional slots (e.g.TabRow,Scaffold,BoxWithConstraints, etc) now work nicely with lookahead animations.
API Changes
- New default
intermediateMeasurePolicythat reuses measure policy from lookahead pass allowsSubcomposeLayoutsubtypes without conditional slots such asScaffold,TabRow, andBoxWithConstraintsto work with lookahead by default. (Id84c8) - The recomposer created for an Android window will now only block calls to
withFrameNanosinstead of all composition when it receives anON_STOPnotification. This means windows associated with stopped activites will continue to recompose for data changes but the animations, or any other caller ofwithFrameNanos, will block. (Id9e7f, b/240975572) - Changes
motionEventSpyto stable. (Ic5ec4, b/261560988) - Added public
TextRange.constrainmethod. (I97912) PlatformTextStyle.includeFontPaddingis no longer deprecated to encourage developers to use this compatibility API to switch and test settingincludeFontPaddingfalse. (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
- Provide default dimensions for wear device with 48x48dp icon (Ib8de8, b/256678037)
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
BuildCompatin 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
postponeEnterTransitionwith 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
postponeEnterTransitionwith a timeout and then replacing the postponed fragment no longer results in leaking the postponed fragment. (I2ec7d, b/276375110) - The new
onBackStackChangeStartedandonBackStackChangeCommittedcallbacks 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 aninnerRadiusvalue, instead of the previousinnerRadiusRatioparameter. This is in the same units as the existing radius parameter, making things simpler and more consistent. Also, thenumOuterVerticesparameter was renamed tonumVerticesPerRadiusto clarify that the same number is applied to both inner and outer radii. CornerRounding.radiuswas 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
- Accept
HasDefaultViewModelProviderFactoryinhiltViewModel()(I10ab6, b/249548618, b/195190169)
Bug Fixes
- Fixed an issue where
hiltNavGraphViewModel()doesn’t injectSavedStateHandle. (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.
- Make some changes around
MediaRouteDescriptor’s visibility API. - Deprecate
MediaRouteActionProvider.setAlwaysVisibleandMediaRouteButton.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
NavBackStackEntrynow provides a customtoStringimplementation. (Iff00b)
Bug Fixes
- When using Navigation with Fragments, attempting to manually do a
FragmentTransactionthat adds a fragment to theFragmentManager's back stack will now throw anIllegalArgumentException. You should always add fragments via thenavigate()API. (I6d38e) - When there is a
navigatethat adds an entry and apopBackStackthat removes it in the same frame, the resulting top entry on the back stack will now consistently make it back to theRESUMEDLifecycle.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
StateChangedListenerthat reports the state of the UI session associated with aSandboxedSdkView - Removed
ErrorConsumer, this is replaced by theStateChangedListener.
API Changes
ui-client updates:
- Added
StateChangedListener,SandboxedSdkUiSessionStateand associated methods. - Removed
setSdkErrorConsumermethod ofSandboxedSdkView.
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
Conditioninterface to allow custom wait conditions instead of relying solely on the built-ins inUntil, and updatedUiDevice#waitandUiObject2#waitmethods to accept this interface (27c0ea). - Added
UiObject2#scrollUntilto support scrolling until a condition is met and to reach parity withUiScrollable(099d6e). - Added
UiDevice#setOrientationPortraitandsetOrientationLandscapeto facilitate rotations across device types (e13cb7). - Added
UiObject2#setGestureMarginPercentto support setting margins relative to the object size. (Ib8c77)
Bug Fixes
- Fixed
UiScrollablemethods occasionally using invalid coordinates on SDKs 18 to 22 (b53ece). - Fixed
UiObject2#setTextandclearTextfailing 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
UiDeviceorientation 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.
- Add Material 3 Button implementations optimized for TV.
API Changes
- Renamed
CarouselSlideandslideCountinCarouseltoCarouselItemanditemCount. (Ie554c) - Renamed
forwardandbackwardContentTransformstoStartToEndandEndToStart. (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
AmbientModeSupportto useLifecycleObserver. DeprecateAmbientModeSupportin favour of the new lifecycle-aware classes. (I1593b)
Bug Fixes
- Update
SwipeDismissTransitionHelperbackground scrim approach to use drawables instead of adding view to fix errors while usingFragmentContainerView. (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
angularSizeDpto theCurvedModifierapi 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
AndroidTextStylehas been added toLayoutElementBuilders. (I8d967)- We have added support for setting excluding font padding in
ProtoLayoutMaterial Text. (I17f5d) - ARGB_8888 is now supported for inline images. (I18c1e)
DynamicColornow supportsonConditionoperation. (I10927)
API Changes
- Support custom duration for reverse animation (I3251f)
- We've added the
SemanticDescriptionmodifier. In addition,ContentDescriptionis not bindable. (I3f1d) - The
DynamicBool.isFalse()method is now replaced withDynamicBool.negate()and theDynamicBool.isTrue()is removed. In addition NaNDynamicFloatvalues and narrowing aDynamicInt32to aDynamicFloatnow 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#onPreUpdatehas been removed. (I2dc35)- Length of Strings in dynamic expressions are now capped. (I4c93)
- The gradle dependencies are now correctly set to
apiinstead ofimplementationwhen 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
apiinstead ofimplementationwhen 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_FACEmay registerandroidx.wear.watchface.complications.datasource.SAFE_WATCH_FACE_SUPPORTED_TYPESmetadata which overridesandroid.support.wearable.complications.SUPPORTED_TYPESfor safe watch faces. This means a complication provider may choose to serve different types to trusted vs untrusted watchfaces.
API Changes
- Propagation of
@Deprecatedclass to property (I882d1, b/271441831) - Value parameter name for
Enum.valueOfchanged (Ia9b89) - More thrown exceptions from enum valueOf (I818fe)
- We've removed
renderWatchFaceToSurfacein favour ofcreateRemoteWatchFaceViewwhich is built on top of SurfaceControlViewHost and allows the caller to embed a view from the watch face, which is rendered when the client callsRemoteWatchFaceViewHost#renderWatchFace. (Ib311d) - We've added
renderWatchFaceToSurfacetoInteractiveWatchFaceClient,HeadlessWatchFaceClientandEditorSession. Typically this will be more performant than rendering to a bitmap. (Ieacad) ObservableStateStorehas been rename toStateStore. (Ieb0e2)- Added
DynamicTypeEvaluator.Builderinstead of constructor arguments to allow more optional arguments, includingObservableStateStorewhich now defaults to an empty store. (I6f832) - Refactored order of parameters in
DynamicTypeEvaluator. (Ic1ba4) - Executor has been added to the
DynamicTypeEvaluator.bindmethods. (I346ab) - We have added
startEvaluationmethod to theBoundDynamicTypeto trigger the evaluation after dynamic type is bound. (I19908) - Complication providers with the privileged
com.google.wear.permission.GET_IS_FOR_SAFE_WATCH_FACEmay registerandroidx.wear.watchface.complications.datasource.SAFE_WATCH_FACE_SUPPORTED_TYPESmetadata which overridesandroid.support.wearable.complications.SUPPORTED_TYPESfor safe watch faces. (Id1c73) - We've renamed
CustomValueUserStyleSettings2toLargeCustomValueUserStyleSettings. (Ic17ac)
Bug Fixes
DynamicTypeValueReceiver#onPreUpdatehas been removed. (I2dc35)