2022-11-09
Benchmark: v1.1.1
November 9, 2022
androidx.benchmark:benchmark-*:1.1.1 is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fixes
android.system.ErrnoException: open failed: EACCESwhich would occur on some Android11 (API 30)+ devices. This is a cherry-pick of a fix from1.2.0-alpha01. (aosp/2072249)
Benchmark: v1.2.0-alpha07
November 9, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha07 is released. Version 1.2.0-alpha07 contains these commits.
API Changes
- Adds
PowerMetricAPI for measuring energy and power in Macrobenchmarks. (Ife601, b/220183779) - Fixed
MacrobenchmarkScope.dropShaderCache()to actually drop the shader cache. This removes roughly 20ms of noise fromStartupMode.COLDbenchmarks, as shaders are now consistently cleared each iteration. Previously,Partialcompilation using warmup iterations would report incorrectly fast numbers, as shader caching was more likely to happen during warmup. This fix requires either a rooted device, or usingprofileinstaller:1.3.0-alpha02in the target app. ForProfileInstallerlibrary’s API changes, please refer to ProfileInstaller 1.30-alpha02 page. (Ia5171, b/231455742) - Added
TraceSectionMode("label", Mode.Sum), allowing measurement of total time spent on multiple trace sections with the same label. For instance,TraceSectionMetric("inflate", Mode.Sum)will report a metricinflateMsfor the total time in a macrobenchmark spent on inflation. Also removed API 29 requirement, asTraceSectionMetricworks together withandroidx.tracing.Traceback to lower API levels, with the use offorceEnableAppTracingwithin the target app. (Id7b68, b/231455742)
Bug Fixes
- Improved safety of all internal shell commands by validating all output/errors. (I5984d, b/255402908, b/253094958)
- Specify device in baseline profile
adb pullcommand, so the pull command can be simply copied if multiple devices are connected (up to one emulator) (I6ac6c, b/223359380) - Add error if macrobenchmark test apk isn't set up as self-instrumenting. This error prevents macrobenchmarking from within the target app's process. In process, macrobench wouldn't be able to compile/kill/cold start the app, or control its own permissions (I4279b)
- Fixed an issue in
measureRepeated()whereStartupMode.COLDwouldn't kill the target process aftersetupBlock. NowsetupBlockinteracting with the app will not leave the app process running, and an invalid cold start measurement. (I8ebb7)
CameraX: v1.3.0-alpha01
November 9, 2022
androidx.camera:camera-*:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.
New Features
Camera-viewfinderhas been published officially.Camera-viewfinderprovides a base viewfinder widget that can display the camera feed for Camera2. Please check the sample code for an example.
API Changes
- Added
OutputOptions.setDurationLimitto allow setting of video duration limit. The recording will be automatically finalized when exceeding the specified duration limit. (I902a0) - Add video recording audio error state
AudioStats.AUDIO_STATE_SOURCE_ERROR. Sent when audio source setup fails or some error occurs. (I37410)
Bug Fixes
- Add quirk to allow some problematic devices to retry capture once when encountering capture failures. (Id4795)
- Fix
PreviewViewSurfaceViewimplementation black screen issue onViewPager2. As part of the fix,PreviewViewwill reuse itsSurfaceViewif the requested resolution is not changed. (Ib3f27) - Support video cropping (WYSIWYG feature) when
ViewPortorCameraControllerAPI is used. (Ifbba8, b/201085351) - Fixed video captured with front camera fails to record on Huawei P40 lite. (I87c57, b/250807400)
Car App: v1.2.0
November 9, 2022
androidx.car.app:app-*:1.2.0 is released. Version 1.2.0 contains these commits.
- This is a stabilization release, and there are no changes compared to v1.2.0-rc01.
Compose Animation: v1.4.0-alpha02
November 9, 2022
androidx.compose.animation:animation:1.4.0-alpha02, androidx.compose.animation:animation-core:1.4.0-alpha02, and androidx.compose.animation:animation-graphics:1.4.0-alpha02 are released. Version 1.4.0-alpha02 contains these commits.
API Changes
- Add
ToolingStateto allow tooling to change internal states of Composable (Ie6614)
Compose Compiler: v1.4.0-alpha01
November 9, 2022
androidx.compose.compiler:compiler:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.
Bug Fixes
- Fix ability to return early from inline composable functions (b/255350755)
- Fix bug in decoy lowering which broke Kotlin/JS support in Compose (6a40f8).
Compose Foundation: v1.4.0-alpha02
November 9, 2022
androidx.compose.foundation:foundation:1.4.0-alpha02 and androidx.compose.foundation:foundation-layout:1.4.0-alpha02 are released. Version 1.4.0-alpha02 contains these commits.
API Changes
awaitFirstDownandwaitForUpOrCancellationnow accept aPointerEventPassfor greater flexibility. (I7579a, b/212091796)- Revert
beyondBoundCountAPI from Lazy* APIs (I12197) - Introduced parameter in Lazy APIs to compose and place out of viewport items (I69e89, b/172029355)
- Added
minLinesparameter to theBasicTextandBasicTextField. It allows to set the minimum height of these composables in terms of number of lines (I24294, b/122476634)
Compose Material: v1.4.0-alpha02
November 9, 2022
androidx.compose.material:material-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
API Changes
awaitFirstDownandwaitForUpOrCancellationnow accept aPointerEventPassfor greater flexibility. (I7579a, b/212091796)- Added
minLinesparameter into material and material3 Text,TextFieldandOutlinedTextFieldwhich allows setting the minimum height of the component in terms of number of lines (I4af1d) - Added
minLinesparameter to theBasicText andBasicTextField. It allows to set the minimum height of these composables in terms of number of lines (I24294, b/122476634)
Compose Material 3: v1.1.0-alpha02
November 9, 2022
androidx.compose.material3:material3:1.1.0-alpha02 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha02 are released. Version 1.1.0-alpha02 contains these commits.
API Changes
awaitFirstDownandwaitForUpOrCancellationnow accept aPointerEventPassfor greater flexibility (also fixesExposedDropdownMenuBoxshowing a menu while scrolling).(I7579a, b/212091796)- Added
minLinesparameter into material and material3 Text,TextFieldandOutlinedTextFieldwhich allows setting the minimum height of the component in terms of number of lines (I4af1d) - Deprecate the
TopAppBarDefaults smallTopAppBarColorsfunction in favor of a newtopAppBarColorsfunction that should be used when creating aTopAppBar. (Ie6cb9) - Added
minLinesparameter to theBasicTextandBasicTextField. It allows to set the minimum height of these composables in terms of number of lines (I24294, b/122476634)
Bug Fixes
- Clip the content of a Material3
IconButtonandIconToggleBottonto the component's state-layer shape (e.g. circular shape). (I9da8f) - Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. (I67659, b/249688556, b/250838918)
Compose Runtime: v1.4.0-alpha02
November 9, 2022
androidx.compose.runtime:runtime-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
Compose UI: v1.4.0-alpha02
November 9, 2022
androidx.compose.ui:ui-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
API Changes
- Updated
GraphicsLayerScopeto expose the current size of thegraphicsLayer. This is useful for computinggraphicsLayertransformations as a function of the Composable size. (If8c43,b/181387080) - Introduced
CompositingStrategyto determine when to leverage an offscreen compositing layer for rendering ofgraphicsLayercontent. Auto maintains the default behavior which internally leverages a layer if alpha is applied or aRenderEffect/Overscroll. Always will always introduce an offscreen buffer whereModulateAlphawill avoid leveraging an offscreen buffer and instead will modulate each of the recorded drawing instructions within thegraphicsLayer.ModulateAlphausage will still leverage an offscreen buffer forRenderEffect/Overscrollusages (I25e82, b/256382834) invalidateSubtree()was added toModifier.Nodeto allow invalidating entire hierarchies for layout and drawing. (I4bd90)- Promote
rememberNestedScrollInteropConnectionto stable. Introduced the ability to pass a root view torememberNestedScrollInteropConnection. This can help the custom view better react to scrolling constraints, specially in non-standard views (e.g.ModalBottomSheetDialog). (I9e107) - Added
ObserverNodeinterface that can be used byModifier.Nodeimplementations that need to be notified when a value that they had previously read has changed (I5728b, b/247716483) - Added a new constructor to
Paintthat accepts a nativeandroid.graphics.Paint. Also added an extension functiontoComposePaint()that converts an existing native Paint object to Compose Paint. (Ica91b) - Add new
FontFamily.Resolver.resolveAsTypefacefor use on Android. (I8950b) - Add
ToolingStateto allow tooling to change internal states of Composable (Ie6614) - Refactor tooling to have better support for new added animations (I8677b)
- Added
minLinesparameter into material and material3 Text,TextFieldandOutlinedTextFieldwhich allows setting the minimum height of the component in terms of number of lines (I4af1d)
Compose Animation: v1.3.1
November 9, 2022
androidx.compose.animation:animation:1.3.1, androidx.compose.animation:animation-core:1.3.1, and androidx.compose.animation:animation-graphics:1.3.1 are released. Version 1.3.1 contains these commits.
Compose Foundation: v1.3.1
November 9, 2022
androidx.compose.foundation:foundation:1.3.1 and androidx.compose.foundation:foundation-layout:1.3.1 are released. Version 1.3.1 contains these commits.
Bug Fixes
- Fix performance issue in
BeyondBoundsLayout(aosp/2255266) ContentInViewModifierwill not read layout coordinates unless attached (aosp/2241316)
Compose Material: v1.3.1
November 9, 2022
androidx.compose.material:material-*:1.3.1 is released. Version 1.3.1 contains these commits.
Compose Material 3: v1.0.1
November 9, 2022
androidx.compose.material3:material3:1.0.1 and androidx.compose.material3:material3-window-size-class:1.0.1 are released. Version 1.0.1 contains these commits.
Bug Fixes
- Updates Material3 Medium and Large top app bars to apply the same background color across their entire surface, and to allow setting overriding the default colors with transparent color values. (I67659, b/249688556, b/250838918)
Compose Runtime: v1.3.1
November 9, 2022
androidx.compose.runtime:runtime-*:1.3.1 is released. Version 1.3.1 contains these commits.
Compose UI: v1.3.1
November 9, 2022
androidx.compose.ui:ui-*:1.3.1 is released. Version 1.3.1 contains these commits.
DataStore: v1.1.0-alpha01
November 9, 2022
androidx.datastore:datastore-*:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
New Features
- Support multi-process use cases where data consistency is guaranteed among
DataStoreinstances across processes. AddMultiProcessDataStoreFactory#createto create suchDataStoreinstances. - New Storage interface which allows the underlying storage mechanism for
Datastoreto be switched out. Implementations for java.io and okio are provided.DataStorefactories have new methods which accept this Storage object.
API Changes
- Change APIs in datastore-core
MultiProcessDataStoreFactoryto use Storage. (Iac02f) - Move public APIs in datastore-multiprocess to datastore-core (I76d7c)
- Exposed
PreferencesSerializerfrom datastore-preferences-core (I4b788)
Games-Activity: v1.2.2-alpha01
November 9, 2022
androidx.games:games-activity:1.2.2-alpha01 is released. Version 1.2.2-alpha01 contains these commits.
API Changes
- API now also contains version information in the form of
GAMEACTIVITY_PACKED_VERSION. (I287e6) - Added
onContentRectChangedcallback which is called when the rectangle in the window where the content should be placed has changed. (I81396)
Bug Fixes
- Fixed events buffer overflow. Both
inputBuffer->keyEventsandmotionEventsare now dynamically-allocated buffers. (Ic00f6) - Fails gracefully if out of memory. Added handling of
realloc()errors during buffers resizing.
Games Frame Pacing 1.10: v1.10.2-alpha01
November 9, 2022
androidx.games:games-frame-pacing:1.10.2-alpha01 is released. Version 1.10.2-alpha01 contains these commits.
New Features
- No new changes
Games-Memory-Advice version 1.0.0: v1.0.0-beta03
November 9, 2022
androidx.games:games-memory-advice:1.0.0-beta03 is released. Version 1.0.0-beta03 contains these commits.
New Features
- No new changes
Games Performance Tuner 1.6: v1.6.1-alpha01
November 9, 2022
androidx.games:games-performance-tuner:1.6.1-alpha01 is released. Version 1.6.1-alpha01 contains these commits.
New Features
- No new changes
Games-Text-Input: v1.1.2-alpha01
November 9, 2022
androidx.games:games-text-input:1.1.2-alpha01 is released. Version 1.1.2-alpha01 contains these commits.
New Features
- No new changes
graphics: v1.0.0-alpha02
November 9, 2022
androidx.graphics:graphics-core:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
API Changes
- Fixed missing
RequiresApiannotation foraddTransactionCommitListenerwhich was introduced in Android S (I0a035) - Updated
onDraw<Front/Double>Buffer callbacks to provide a transform matrix that consumers can pass to their vertex shaders in addition to the current buffer width/height. Consumers are responsible for using these parameters to properly pre-rotate their OpenGL rendering code. (I82f9e)
Bug Fixes
- Improved graphics latency by pre-rotating buffers before issuing
SurfaceControltransactions. - Fixed issue where error logs would show error 300d (EGL_BAD_SURFACE).
- Fixed issue where
GLFrontBufferedRendererwould be invalid after the corresponding Activity it was used within was resumed. - Increased support for emulators and ChromeOS devices.
- Fixed issue where the front buffered layer maybe hidden prematurely.
Mediarouter: v1.4.0-alpha01
November 9, 2022
androidx.mediarouter:mediarouter:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.
New Features
- Add
SystemOutputSwitcherDialogController#showDialogto show the system’s output switcher dialog, or the Bluetooth Settings Fragment on Wear devices where the system output switcher is not available. (Ic3d78)
API Changes
- Add
MediaRouteDescriptor.Builder.clearControlFilters(I3a4e1) - Add missing
MainThreadannotations inMediaRouter. (I3ef6e)
Bug Fixes
- Fix device-specific crash caused by calling
MediaRouter.removeUserRoute(b/202931542). - Fix group descriptors not receiving volume handling updates consistently (461303).
- Add broadcast receiver export flags on API 33+ (b2a663).
- Fix crash caused by receiving invalid route descriptors from the platform (dd5c09).
Navigation: v2.6.0-alpha04
November 9, 2022
androidx.navigation:navigation-*:2.6.0-alpha04 is released. Version 2.6.0-alpha04 contains these commits.
New Features
- Custom subclasses of
NavTypecan now overrideserializeAsValueto serialize a value into a String, allowing both serialization and deserialization (viaparseValue) to be entirely encapsulated in theNavTypeclass.StringTypenow overrides this method to callUri.encodeon the givenString. (Ie5213, b/247637434) NavigationUInow provides logs when it fails to navigate via a selectedMenuItem. (I2af5a, b/247730357)
Bug Fixes
- Navigation deep links are now parsed lazily instead of on graph initialization which could improve app performance at start up. (Iab0ab)
- Fixed crash caused by navigating up after deep linking to a destination with null default arguments. (I51c24, b/243183636)
Dependency Update
- Navigation's support for Dynamic Feature Modules now depend on the granular Play Feature Delivery Library. (Ib4ddc)
- Navigation Safe Args now depends on Android Gradle Plugin version 7.3.0. This means it is now only compatible with versions 7.3.0+. (I47e49)
privacysandbox-tools: v1.0.0-alpha01
November 9, 2022
androidx.privacysandbox.tools:tools-*:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
- This is a new Jetpack library that contains apis for utilizing the Privacy Sandbox functionality. Please file bugs at our issue tracker component.
ProfileInstaller: v1.3.0-alpha02
November 9, 2022
androidx.profileinstaller:profileinstaller:1.3.0-alpha02 is released. Version 1.3.0-alpha02 contains these commits.
API Changes
- Added a hook for benchmarks to drop the shader cache, to ensure consistent performance for cold startups, especially when compiling with profiles from warmup iterations. This update is required to measure cold startups using
benchmark-macro-junit4:1.2.0-alpha05or later. For Benchmark library’s API changes, please refer to Benchmark 1.2.0-alpha07 page. (Ia5171, b/231455742)
Room: v2.5.0-beta02
November 9, 2022
androidx.room:room-*:2.5.0-beta02 is released. Version 2.5.0-beta02 contains these commits.
API Changes
- Fix various APIs that take query arguments from invariant (
Array<Any?>) to contravariant (Array<out Any?>) to match Java’s array behavior. (b/253531073)
Security: v1.1.0-alpha04
November 9, 2022
androidx.security:security-crypto:1.1.0-alpha04 and androidx.security:security-crypto-ktx:1.1.0-alpha04 are released. Version 1.1.0-alpha04 contains these commits.
New Features
- Removed log message “keyset not found, will generate a new one” on first app launch. (b/185219606)
- Upgraded Tink dependency to version 1.7.0.
API Changes
- Changes
EncryptedFile#openFileInput()to throw aFileNotFoundException, rather than a genericIOExceptionwhen the requested file doesn't exist. (I80e41, b/148804719) - Updated 'MasterKeys' class to require Android M rather than each of its methods. (I8b4b8)
- Changes all preference getters on
EncryptedSharedPreferences(ex#getString,#getInt) to throwSecurityExceptionin rare circumstances where the type of a value can not be matched with one of the defined enum variants. (b/241699427)
Bug Fixes
- Synchronized security-crypto-ktx library’s minimum SDK version with security-crypto by lowering it to v21 (b/193550375)
- Fixed concurrency bug when building multiple
EncryptedFiles (b/136590547)
External Contribution
- Received a fix for
EncryptedSharedPreferences.Editor#removefrom [email protected] (b/224994760, b/134197835, f44d44d)
Sqlite: v2.3.0-beta02
November 9, 2022
androidx.sqlite:sqlite:2.3.0-beta02, androidx.sqlite:sqlite-framework:2.3.0-beta02, and androidx.sqlite:sqlite-ktx:2.3.0-beta02 are released. Version 2.3.0-beta02 contains these commits.
- Fix various APIs that take query arguments from invariant (
Array<Any?>) to contravariant (Array<out Any?>) to match Java’s array behavior. (b/253531073)
Tracing Perfetto: v1.0.0-alpha07
November 9, 2022
androidx.tracing:tracing-perfetto:1.0.0-alpha07, androidx.tracing:tracing-perfetto-binary:1.0.0-alpha07, and androidx.tracing:tracing-perfetto-common:1.0.0-alpha07 are released. Version 1.0.0-alpha07 contains these commits.
- Reduced JNI overhead of
androidx.tracing:tracing-perfettoAPIs.
tv: v1.0.0-alpha02
November 9, 2022
androidx.tv:tv-foundation:1.0.0-alpha02 and androidx.tv:tv-material:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
Bug Fixes
- Improved scrolling performance when scrolling through a collection of
TvLazyRows/TvLazyColumnsby reducing the focus search space.(I723a3)
Wear Compose: v1.1.0-rc01
November 9, 2022
androidx.wear.compose:compose-foundation:1.1.0-rc01, androidx.wear.compose:compose-material:1.1.0-rc01, and androidx.wear.compose:compose-navigation:1.1.0-rc01 are released. Version 1.1.0-rc01 contains these commits.
Bug Fixes
- We have added baseline profile rules for
Placeholders,ScrollAway,RadioButton,Switch,Checkbox,OutlinedButton,OutlinedCompactButton,OutlinedChipandOutlinedCompactChip. (I8249c) - We have fixed a bug in
Modifier.scrollAwayso that if the specifieditemIndexis invalid (for example, if that item index is out of range), then theTimeTextwill now still be displayed. (I2137a) - We have updated the
SwipeToDismissBoxanimation to match the platform implementation. After the initial squeeze animation, the screen now slides off to the right once the dismissal has been triggered. (I41d34) - As an optimization, we have updated
Modifier.scrollAwayto only read thescrollStateinside the measure block to avoid recomposing the modifier after each remeasure. (I4c6f1) - We have added documentation and a sample to placeholders to show the correct ordering for
Modifier.placeholderandModifier.placeholderShimmerwhen applied to the same composable. (Ie96f4, b/256583229) - We have changed the default border width for an
OutlinedCompactChip/OutlinedChipfrom 2.dp to 1.dp to match final UX specs. (Ib3d8e) - We have fixed a bug in
rememberPickerStatewhere updated inputs were not saved, so that composables were not updated after changes to the inputs. (I49ff6, b/255323197) - We have made some UI updates to the placeholders, 1) change the shimmer gradient to 1.5x the screen size, 2) add easing (cubic bezier) of the shimmer progression and 3) speed up the wipe-off animation (250ms). (Id29c1)
- We have corrected a UI bug in the placeholder wipeOff effect where Chip and Card backgrounds were wiping off slightly early due to not taking the component’s position on screen into account. (I2c7cb)
- We have updated the placeholder background drawing to merge colors rather than layer them where possible to reduce the risk of alpha blending of the different cropped layers from allowing underlying colors to bleed through at the placeholder background edges. (I2ea26)
- We have corrected the calculation of
ScalingLazyListState.centerItemIndex/centerItemOffsetso that if two items sit either side of the viewport center line the one that is closest will be considered as thecenterItem. (I30709, b/254257769) - We have corrected a bug in the
ScalingLazyListState.layoutInfo.visibleItemsInfowhich was reporting incorrect offsets duringScalingLazyColumninitialization. Now an empty list will be returned until all list items are visible and have the correct offsets. Check forScalingLazyListState.layoutInfo.visibleItemsInfo.isNotEmpty()will confirm that theScalingLazyColumninitialization is complete and items are visible. (I3a3b8)
Wear Watchface: v1.2.0-alpha04
November 9, 2022
androidx.wear.watchface:watchface-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
New Features
- For Android T we’ve added support for two new complication types,
GoalProgressComplicationDataandWeightedElementsComplicationData. GoalProgressComplicationDatais similar toRangedValueComplicationDatabut it’s value is allowed to go past the target (forRangedValueComplicationDatathe value is clamped to the range [min .. max]) which has implications for visual design that might not suit all watch faces.GoalProgressComplicationDataadds support for pie charts and similar breakdowns of simple data.- We’ve added optional support for
ColorRampstoRangedValueComplicationData. - For Android T, We've added
ComplicationPersistencePolicyandsetCachePolicytoComplicationDatawhich currently allows a provider to control whether a complication is persisted or not (i.e. whether it's cached past reboot). Most complications won't need to set cache control, but doing so can fix corner cases with stale data for some complications that update frequently (e.g. health data complications). We've also addedComplicationDisplayPolicywhereDO_NOT_SHOW_WHEN_DEVICE_LOCKEDinstructs a compatible watch face to not display the complication when the device is locked. (Ic9574)
API Changes
GoalProgressComplicationData,WeightedElementsComplicationDataandColorRampare no longer experimental. (Ica9e2)ComplicationPersistencePolicyandComplicationDisplayPolicyare now properly marked as T APIs. (I31d88)- The deprecated
ComplicationSlotOverlayconstructor now hasDeprecationLevel.WARNINGallowing it to be called from java once again. (Ib308c) - We've fixed some java compat issues with
ComplicationRequestListener,CanvasComplication,ComplicationTapFilterandInteractiveWatchFaceClientby annotating them with@JvmDefaultWithCompatibility(Id94fc) - We've removed experimental
ProtoLayoutComplicationDataandListComplicationData. The developer story for these was unclear, we hope to revisit in future. (I9df05) - We've added a
ValueTypeback toRangedValueComplicationData.WeightedElementsComplicationDatanow supports a background color. We've removedDiscreteRangedValueComplicationDatabecause it's functionality is a subset ofWeightedElementsComplicationData. (I6446c)
Bug Fixes
- Include the
isForScreenShotin the equals and hash code. Make sure theonRenderParametersChangedgets a correctisForScreenshotvalue (I04a41) - Fixed leaks of
WatchFaceControlServicefrom headless clients. (e90e00)
Webkit: v1.6.0-alpha03
November 9, 2022
androidx.webkit:webkit:1.6.0-alpha03 is released. Version 1.6.0-alpha03 contains these commits.
New Features
- Add
ProcessGlobalConfigclass enabling users to set process global config before loadingWebView.WebViewhas some process-global configuration parameters that cannot be changed onceWebViewhas been loaded (e.g. theWebViewdata directory). This class allows apps to set these parameters. The configuration should be set up and applied as early as possible during application startup, to ensure that it happens before any other thread can call a method that loadsWebViewinto the process. (I7c0e0, b/250553687) - Adding new API to let applications explicitly send the app package name in the X-Requested-With header to allowlisted origins. The header has traditionally been sent on every request from
WebView. (I0adfe, b/226552535)
API Changes
- The
WebSettingsCompat#setAlgorithmicDarkeningAllowedAPI is supported on all Android versions inWebViewversion 105 and later. Previous versions ofWebViewonly supported the API on Android Q and later. As a result, this api is no longer marked@RequiresApi(Build.VERSION_CODES.Q). (I3ac1d)
WindowManager: v1.1.0-alpha04
November 9, 2022
androidx.window:window-*:1.1.0-alpha04 is released. Version 1.1.0-alpha04 contains these commits.
New Features
- Expose a method to determine if an
ActivityStackis empty forActivityEmbedding. - Removed experimental API tags from
ActivityEmbeddingAPIs. - Hide
ActivityRuleconstructor as theBuilderis the preferred way to construct. - Add an experimental method to get the
WindowInsetsonWindowMetrics. - Update
SplitPlaceholderFinishBehaviorto prevent finishing the placeholder. Finishing the placeholder caused some confusing behavior.
API Changes
- Make val
isEmptypublic to replace funisEmpty. - Rename
ActivityStackparameter activities toactivitiesInProcess. (Ia5055) - Remove
ActivityFilter#matchesClassNameandActivityFilter#matchesClassNameOrWildCardbecause they are confusing. - Add
ActivityFilter#componentNameabdActivityFilter#intentActionto allow the caller to distinguish different filters (I41f22) - Remove the
@DeprecatedAPIs from the experimental API (I216b3) - Remove
@ExperimentalWindowApifor Activity Embedding APIs (I69ebe) - Hide
ActivityRuleconstructor, use Builder instead. (If4eb6) - Add APIs to check if an Activity is part of the
ActivityFilter. (Ia43cf) - Update API files to reflect changes in
WindowMetricsandWindowMetricsCalculatorCompatclasses (I667fe) - Update
ActivityEmbeddingProperty Javadoc and class name (Ia1386) - Adding
ActivityEmbeddingproperty tag names to be used in AndroidManifest.xml (Id1ad4) - Added new API
SplitPlaceholderFinishBehaviorandSplitPlaceholderRule.finishPrimaryWithPlaceholder, this replaces existingSplitPlaceholderRule.finishPrimaryWithSecondarywhich defines when placeholder activites are finished, how associated activites in Activity Embedding should behave. (I64647)
Bug Fixes
- Introduces the
WindowAreaControllerand API's to enableRearDisplayMode to move the current window to the display that is aligned with the rear camera. (I388ab)
WorkManager: v2.8.0-beta02
November 9, 2022
androidx.work:work-*:2.8.0-beta02 is released. Version 2.8.0-beta02 contains these commits.
Bug Fixes
- Fixed
equalsmethod inWorkInfo, that previously didn’t take into account new generation information. (4977cc)