Releases: mahozad/androidx-release-notes
2022-06-01
Annotation: v1.4.0-rc01
June 1, 2022
androidx.annotation:annotation:1.4.0-rc01 is released. Version 1.4.0-rc01 contains these commits.
- API surface and functionality have been finalized for release.
Appcompat: v1.4.2
June 1, 2022
androidx.appcompat:appcompat:1.4.2 and androidx.appcompat:appcompat-resources:1.4.2 are released. Version 1.4.2 contains these commits.
Bug Fixes
- Fix crash where
AppCompatDelegateImplmade an internal call toensureSubDecorbefore the action bar was created (aosp/2048349, b/226648941)
Benchmark: v1.1.0-rc03
June 1, 2022
androidx.benchmark:benchmark-*:1.1.0-rc03 is released. Version 1.1.0-rc03 contains these commits.
Bug Fixes
Avoid reinstalling the target package on every benchmark iteration. ( aosp/2093027, b/231976084)
Remove the
300msdelay frompressHome(). (aosp/2086030, b/231322975)Improve Macrobenchmark iteration speed by optimizing Shell commands used under the hood. (aosp/2086023, b/231323582)
Support for Managed Gradle Devices when generating Baseline Profiles with Macrobenchmarks. (aosp/2062228, b/228926421)
Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0-rc02
June 1, 2022
androidx.camera:camera-*:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.
Bug Fixes
- Fixed
NullPointerExceptiononImageCapture.takePicture(). (I92366, b/230454568, b/229766155) - Fixed a bug where
AssertionErrornot being handled when getting theCONTROL_ZOOM_RATIO_RANGEcharacteristic. (Ia248a, b/231701345)
CameraX: v1.2.0-alpha02
June 1, 2022
androidx.camera:camera-*:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.
New Features
- Expose CameraX Zero-Shutter Lag API as experimental.
API Changes
- Add new capture mode
CAPTURE_MODE_ZERO_SHUTTER_LAGinImageCaptureand addisZslSupportedinCameraInfoto query the device capability.CAPTURE_MODE_ZERO_SHUTTER_LAGmode is aiming to provide the minimum latency for instant capture. It is implemented based on a ring buffer, which caches intermediate capture results for later reprocessing when the user presses buttons to take pictures. If {@link VideoCapture} is bound or flash mode is not OFF or OEM Extension is ON, this mode will be disabled automatically. (I9ae74) - Add
ImageAnalysis.getBackgroundExecutor()method (Icc945)
Bug Fixes
- Fixed
ImageCapturetakePicture method turns torch off on the reported devices. (Ib5eb5, b/228272227) - Fixed a bug where
AssertionErrornot being handled when getting theCONTROL_ZOOM_RATIO_RANGEcharacteristic.(/Ia248a, b/231701345)
Compose Animation: v1.2.0-beta03
June 1, 2022
androidx.compose.animation:animation:1.2.0-beta03, androidx.compose.animation:animation-core:1.2.0-beta03, and androidx.compose.animation:animation-graphics:1.2.0-beta03 are released. Version 1.2.0-beta03 contains these commits.
API Changes
- Added Experimental Easing Curves for Animations (I64a38)
Compose Compiler: v1.2.0-beta03
June 1, 2022
androidx.compose.compiler:compiler:1.2.0-beta03 is released. Version 1.2.0-beta03 contains these commits.
Compose Foundation: v1.2.0-beta03
June 1, 2022
androidx.compose.foundation:foundation:1.2.0-beta03 and androidx.compose.foundation:foundation-layout:1.2.0-beta03 are released. Version 1.2.0-beta03 contains these commits.
API Changes
- Added new experimental
IntervalListandMutableIntervalList. It allows to represent some list of values via multiple intervals. It will be useful when you want to define your own dsl similar to the one used byLazyColumnwhere list items can be defined via multiple item/items calls. (I2d05e, b/228580728)
Bug Fixes
- Clarified the documentation for
WindowInsets.imeto state thatimeinsets are reported as far back as API 23, but only animated on 30+. (Ia7fc0, b/230756508) - Pressing the forward delete key when the cursor is at the end of a text field will no longer crash.
DeleteSurroundingTextCommandandDeleteSurroundingTextInCodePointsCommandnow require their constructor arguments to be non-negative. (Ica8e6, b/199919707)
Compose Material: v1.2.0-beta03
June 1, 2022
androidx.compose.material:material-*:1.2.0-beta03 is released.
2022-05-25
Constraintlayout: v2.1.4
May 20, 2022
androidx.constraintlayout:constraintlayout:2.1.4 is released.
For more information, see what's New in 2.1.4 on GitHub.
Constraintlayout: v1.0.1
May 20, 2022
androidx.constraintlayout:constraintlayout-compose:1.0.1 is released.
Please note MotionLayout API is experimental and requires opt in.
For more information, see what's New in Compose 1.0.1 on GitHub.
Constraintlayout: v2.2.0-alpha01
May 20, 2022
androidx.constraintlayout:constraintlayout:2.2.0-alpha01 is released.
Includes a preview of the new Grid helper.
For more information, see what's New in 2.2.0-alpha01 on GitHub.
Constraintlayout: v1.1.0-alpha01
May 20, 2022
androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha01 is released.
Please note MotionLayout API is experimental and requires opt in.
For more information, see what's New in Compose 1.1.0-alpha01 on GitHub.
2022-05-18
Activity: v1.6.0-alpha04
May 18, 2022
androidx.activity:activity:1.6.0-alpha04 and androidx.activity:activity-ktx:1.6.0-alpha04 are released.
Bug Fixes
- Fixed an error in
PickVisualMediaRequestwhere attempting to create a request, either via the Builder or the top level Kotlin function, would result in a stack overflow. - Integrated changes in Android 13 Dev Beta 2 into
ComponentDialog.
Annotation: v1.4.0-beta01
May 18, 2022
androidx.annotation:annotation:1.4.0-beta01 is released. Version 1.4.0-beta01 contains these commits.
- No changes since the last alpha. API surface has been locked down for Beta release.
Appcompat: v1.6.0-alpha04
May 18, 2022
androidx.appcompat:appcompat:1.6.0-alpha04 and androidx.appcompat:appcompat-resources:1.6.0-alpha04 are released. This library was developed against a private pre-release branch, so no commit log is available.
API Changes
- Add an API to override SwitchCompat width restriction for use by MDC-Android
Bug Fixes
- Avoid managed configuration when config changes outside of attachBaseConfig
CameraX: v1.2.0-alpha01
May 18, 2022
androidx.camera:camera-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- New library camera-mlkit-vision is launched
Bug Fixes
- Fixed
QualitySelectorfails to record a UHD video when a fallback strategy is enabled. The issue happens whenVideoCaptureis bound withImageCaptureand Preview on a FULL or higher hardware level camera device. A fallback strategy ofQualitySelectorcausesVideoCaptureincorrectly to get a FHD resolution. UHD resolution is actually supported for this use case combination and should be adopted. (I0e788, b/230651237) - Fixed
NullPointerExceptiononImageCapture.takePicture(). (I92366, b/230454568, b/229766155) - Fix async pause behavior of
androidx.camera.video.Recorder(Ia8ce8)
Compose Animation: v1.2.0-beta02
May 18, 2022
androidx.compose.animation:animation:1.2.0-beta02, androidx.compose.animation:animation-core:1.2.0-beta02, and androidx.compose.animation:animation-graphics:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits.
Compose Compiler: v1.2.0-beta02
May 18, 2022
androidx.compose.compiler:compiler:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
Compose Foundation: v1.2.0-beta02
May 18, 2022
androidx.compose.foundation:foundation:1.2.0-beta02 and androidx.compose.foundation:foundation-layout:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits.
- Downloadable font resolution that does not change the layout size of Text or
TextFieldpreviously would not redraw, leading to stale font display. This bugfix ensures that text layout always triggers redraw (b/229727404). (I1d49e, b/229727404)
Compose Material: v1.2.0-beta02
May 18, 2022
androidx.compose.material:material-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
Compose Material 3: v1.0.0-alpha12
May 18, 2022
androidx.compose.material3:material3:1.0.0-alpha12 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha12 are released. Version 1.0.0-alpha12 contains these commits.
Bug Fixes
- Slider parent can now have 0 width. (b/231707291)
Compose Runtime: v1.2.0-beta02
May 18, 2022
androidx.compose.runtime:runtime-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
Compose UI: v1.2.0-beta02
May 18, 2022
androidx.compose.ui:ui-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
API Changes
- Reusing functionality in other preview types (I19f39)
Bug Fixes
ViewCompositionStrategy.DisposeOnDetachedFromWindowIfNotInPoolingContainerhas been renamed toDisposeOnDetachedFromWindowOrReleasedFromPoolto better reflect that when disposals do occur, rather than simply when they do not occur. (If15ca)
Core and Core-ktx: v1.9.0-alpha04
May 18, 2022
androidx.core:core:1.9.0-alpha04 and androidx.core:core-ktx:1.9.0-alpha04 are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.
Bug Fixes
- Revert deprecation of
BuildCompat.isAtLeastT()and accompanyingSDK_INTchecks
Core Google Shortcuts: v1.0.1
May 18, 2022
androidx.core:core-google-shortcuts:1.0.1 is released. Version 1.0.1 contains these commits.
Bug Fixes
- Fix proguard rule to prevent a method from being unintentionally removed
Core Splashscreen: v1.0.0-rc01
May 18, 2022
androidx.core:core-splashscreen:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.
- No changes since the last beta release.
Core and Core-ktx: v1.8.0-rc02
May 18, 2022
androidx.core:core:1.8.0-rc02 and androidx.core:core-ktx:1.8.0-rc02 are released.
2022-05-10
Activity: v1.5.0-rc01
May 11, 2022
androidx.activity:activity:1.5.0-rc01, androidx.activity:activity-compose:1.5.0-rc01, and androidx.activity:activity-ktx:1.5.0-rc01 are released with no changes from 1.5.0-beta01. Version 1.5.0-rc01 contains these commits.
Benchmark: v1.1.0-rc02
May 11, 2022
androidx.benchmark:benchmark-*:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.
- Note that this release includes a behavior change, as apps are now fully reinstalled in between each benchmark to ensure accurate measurements.
Bug Fixes/Behavior Changes
Fixed an issue where app compilation was not correctly reset between macrobenchmarks, and not reset at all on unrooted builds. This fixes many cases where running multiple tests would result in
CompilationModehaving little to no effect on measurements. To workaround this problem, the target app is now fully reinstalling each test method, which will clear application data between each macrobenchmark. (I31c74, b/230665435)As this prevents apps from setting up state before tests, it is now possible to skip compilation / reinstallation to enable working around this. You can for example fully compile the target with a shell command
cmd package compile -f -m speed <package>, and then bypass macrobenchmark's compilation step.E.g. in Your macrobenchmark's build.gradle:
android { defaultConfig { testInstrumentationRunnerArgument 'androidx.benchmark.compilation.enable, 'false' } }Or from the Gradle command line:
./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.compilation.enable=falseMade it possible to share a module between macrobenchmarks and baseline profile generating tests by adding
androidx.benchmark.enabledRulesinstrumentation argument. Pass in 'Macrobenchmark', or 'BaselineProfile' to just run one type of test, e.g. when generatingBaselineProfileson an emulator. (I756b7, b/230371561)E.g. in Your macrobenchmark's build.gradle:
android { defaultConfig { testInstrumentationRunnerArgument 'androidx.benchmark.enabledRules', 'BaselineProfile' } }Or from the Gradle command line:
./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0-rc01
May 11, 2022
androidx.camera:camera-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
New Features
- Release the first RC version for camera-video, camera-view, and camera-extension
Bug Fixes
- Fixed an issue where the video codec wasn't released when
VideoCapture<Recorder>was unbound, causing subsequent uses ofVideoCapture<Recorder>to fail on recording withMediaCodec.CodecException, especially on API 21-22 devices. (Ie7f68) - Fix captured images of
CameraExtensionsActivitydo not be deleted inImageCaptureTest
Compose Animation: v1.2.0-beta01
May 11, 2022
androidx.compose.animation:animation:1.2.0-beta01, androidx.compose.animation:animation-core:1.2.0-beta01, and androidx.compose.animation:animation-graphics:1.2.0-beta01 are released. Version 1.2.0-beta01 contains these commits.
- This is the first beta release of 1.2! There are no changes since the last alpha.
Compose Compiler: v1.2.0-beta01
May 11, 2022
androidx.compose.compiler:compiler:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.
- This is the first beta release of 1.2! There are no changes since the last alpha.
New Features
- Added support for Kotlin
1.6.21
Compose Foundation: v1.2.0-beta01
May 11, 2022
androidx.compose.foundation:foundation:1.2.0-beta01 and androidx.compose.foundation:foundation-layout:1.2.0-beta01 are released. Version 1.2.0-beta01 contains these commits.
New Features
- This is the first beta release of 1.2!
API Changes
- Added experimental
BeyondBoundsIntervalthat can be used by custom implementations ofLazyListwhen they layout items beyond visible bounds (Ifabfb, b/184670295) LineHeightBehavioris renamed asLineHeightStyleLineVerticalAlignmentis renamed asLineHeightStyle.Alignment- Renames
LineHeightTrimis renamed asLineHeightStyle.Trim - Default constructor values from
LineHeightStyleis removed (I582bf, b/181155707) - Added default values for the optional members of
LazyLayoutItemProviderinterface. (Iba8a0) - In the
LazyLayoutItemProviderapi instead of a factory returning the composable lambda by index we now have a simpler composable function Item accepting the index. (Id2196) - LazyLayoutItemsProvider is renamed to LazyLayoutItemProvider (I0638c)
LazyLayoutItemsProvider.itemsCountis renamed toitemCount(Id409c)- Added Brush to
TextStyleandSpanStyleto provide a way to draw text with gradient coloring. (I53869, b/187839528) trimFirstLineTop,trimLastLineBottomattributes ofLineHeightBehaviorchanged into a single enum:LineHeightTrim.LineHeightTrimhave values of 4 states defined by two booleans:FirstLineTop
2022-04-28
Runner 1.5.0: runner 1.5.0-alpha03
April 28, 2022
androidx.test:runner:1.5.0-alpha03 is released.
Bug fixes
- Report the process crash immediately in the orchestrator instrumentation listener.
Rules 1.4.1: rules 1.4.1-alpha06
April 28, 2022
androidx.test:rules:1.4.1-alpha06 is released.
Monitor aka Platform 1.6.0: monitor 1.6.0-alpha03
April 28, 2022
androidx.test:monitor:1.6.0-alpha03 is released.
Bug fixes
- Remove 'Activities that are still in CREATED to STOPPED' log spam
Espresso 3.5.0: Espresso 3.5.0-alpha06
April 28, 2022
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.5.0-alpha06androidx.test.espresso:espresso-core:3.5.0-alpha06androidx.test.espresso:espresso-contrib:3.5.0-alpha06androidx.test.espresso:espresso-idling-resource:3.5.0-alpha06androidx.test.espresso:espresso-intents:3.5.0-alpha06androidx.test.espresso:espresso-remote:3.5.0-alpha06androidx.test.espresso:espresso-web:3.5.0-alpha06androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha06androidx.test.espresso.idling:idling-net:3.5.0-alpha06
Bug Fixes
- Remove unncessary
interruptEspressoTaskswarning logs for each Espresso interaction on Robolectric.
Test:
JUnit Extensions 1.1.4: ext.junit 1.1.4-alpha06
April 28, 2022
androidx.test.ext:junit:1.1.4-alpha06 and androidx.test.ext:junit-ktx:1.1.4-alpha06 are released.
Bug Fixes
- Minor fix to the
AndroidJUnit4javadoc.
Truth Extensions 1.5.0: ext.truth 1.5.0-alpha06
April 28, 2022
androidx.test.ext:truth:1.5.0-alpha06 is released.
Services 1.4.2: services 1.4.2-alpha03
April 28, 2022
androidx.test.services:test-services:1.4.2-alpha03 androidx.test.services:storage:1.4.2-alpha03 are released.
Orchestrator 1.4.2: orchestrator 1.4.2-alpha03
April 28, 2022
androidx.test:orchestrator:1.4.2-alpha03 is released.
2022-04-26
Activity: v1.6.0-alpha03
April 20, 2022
androidx.activity:activity:1.6.0-alpha03, androidx.activity:activity-compose:1.6.0-alpha03, and androidx.activity:activity-ktx:1.6.0-alpha03 are released.
- Note: This version will only compile against the Android 13 Developer Beta 1 SDK.
New Features
- Added
ActivityResultContracts.PickVisualMediaandActivityResultContracts.PickMultipleVisualMediafor providing a backward compatible contract that usesMediaStore.ACTION_PICK_IMAGESwhen the Photo Picker is available andIntent.ACTION_OPEN_DOCUMENTwhen it is not available. - Integrated changes in Android 13 Dev Beta 1 into
ComponentActivity.
Appcompat: v1.6.0-alpha03
April 20, 2022
androidx.appcompat:appcompat:1.6.0-alpha03 and androidx.appcompat:appcompat-resources:1.6.0-alpha03 are released.
This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
New Features
- Support for app-wide custom language selection via
AppCompatDelegate.setApplicationLocales(). Delegates to platform implementation on API 33 and above.
Core and Core-ktx: v1.9.0-alpha03
April 20, 2022
androidx.core:core:1.9.0-alpha03 and androidx.core:core-ktx:1.9.0-alpha03 are released. Version 1.9.0-alpha04 contains all commits from 1.8.0-beta01, but has been built against Android 13 Beta 1.
This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
2022-04-20
Activity: v1.5.0-beta01
April 20, 2022
androidx.activity:activity:1.5.0-beta01, androidx.activity:activity-compose:1.5.0-beta01, and androidx.activity:activity-ktx:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.
Dependency updates
- Activity now depends on Lifecycle
2.4.0-beta01.
Benchmark: v1.1.0-rc01
April 20, 2022
androidx.benchmark:benchmark-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
Bug Fixes
- Baseline profile output links in Android Studio now use a unique file name. This way the output always reflects the latest results of using a
BaselineProfileRule. ( aosp/2057008, b/228203086 )
Compose Animation: v1.2.0-alpha08
April 20, 2022
androidx.compose.animation:animation:1.2.0-alpha08, androidx.compose.animation:animation-core:1.2.0-alpha08, and androidx.compose.animation:animation-graphics:1.2.0-alpha08 are released. Version 1.2.0-alpha08 contains these commits.
Compose Compiler: v1.2.0-alpha08
April 20, 2022
androidx.compose.compiler:compiler:1.2.0-alpha08 is released. Version 1.2.0-alpha08 contains these commits.
Compose Foundation: v1.2.0-alpha08
April 20, 2022
androidx.compose.foundation:foundation:1.2.0-alpha08 and androidx.compose.foundation:foundation-layout:1.2.0-alpha08 are released. Version 1.2.0-alpha08 contains these commits.
API Changes
- Display all available weights for systems fonts on Android when using
FontFamily.SansSerif. This will use fallback font names like sans-serif-medium internally on API 21-28. This is a behavior change as previously only weights 400 and 700 were supported on API 21-28. (I380fe, b/156048036, b/226441992) - Paragraph and MultiParagraph are now accepting Constraints parameter. Passing
Constraints.maxHeightis a no-op at the moment but will allow to do some calculation in the future, like ellipsizing based on the height. (I6afee, b/168720622) SubcomposeSlotReusePolicy.getSlotsToRetain()now accepts a custom MutableSet-like class which doesn't allow adding new items in it. (Icd314)- Partial consumption (down OR position) has been deprecated in
PointerInputChange. You can useconsume()to consume the change completely. You can useisConsumedto determine whether or not someone else has previously consumed the change. PointerInputChange::copy()now always makes a deep copy. It means that copies ofPointerInputChangewill be consumed once one of the copies is consumed. If you want to create an unboundPointerInputChange, use constructor instead. (Ie6be4, b/225669674)- New experimental
LazyLayoutAPI is introduced. This allows you to build your own components likeLazyColumnofLazyVerticalGrid. Note that the API is in its early stages and can be changed in the future releases. (Iba2bc, b/166591700) AndroidFontnow takestypefaceLoaderas a constructor parameter. (I2c971)WindowInsetscompanion now exposes the visibility (whether they are on the screen, regardless of whether they intersect with the window) and the size they could be if they are available on the device, but not currently active. (I65182, b/217770337)
Compose Material: v1.2.0-alpha08
April 20, 2022
androidx.compose.material:material-*:1.2.0-alpha08 is released. Version 1.2.0-alpha08 contains these commits.
API Changes
- Partial consumption (down OR position) has been deprecated in
PointerInputChange. You can useconsume()to consume the change completely. You can useisConsumedto determine whether or not someone else has previously consumed the change. PointerInputChange::copy()now always makes a deep copy. It means that copies ofPointerInputChangewill be consumed once one of the copies is consumed. If you want to create an unboundPointerInputChange, use constructor instead. (Ie6be4, b/225669674)
Compose Material 3: v1.0.0-alpha10
April 20, 2022
androidx.compose.material3:material3:1.0.0-alpha10 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha10 are released. Version 1.0.0-alpha10 contains these commits.
New Features
material3-window-size-classis a new library that provides support for window size classes: a set of opinionated viewport breakpoints for you to design, develop, and test resizable application layouts against. You can usecalculateWindowSizeClassto retrieve a window size class instance, which you can use to determine how your UI should appear, such as showing a navigation rail instead of bottom navigation for larger window sizes. For more information and sample usage see the API reference documentation forWindowSizeClass. For more information on window size class definitions, see the public guidance on supporting different screen sizes.
API Changes
2022-04-05
Activity: v1.5.0-alpha05
April 6, 2022
androidx.activity:activity:1.5.0-alpha05, androidx.activity:activity-compose:1.5.0-alpha05, and androidx.activity:activity-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.
Bug Fixes
ComponentActivity'sonPanelClosed()now calls the superonPanelClosed()as well, fixing an issue where theonContextMenuClosedmethod would not be called. (Ib6f77)
Appcompat: v1.5.0-alpha01
April 6, 2022
androidx.appcompat:appcompat:1.5.0-alpha01 and androidx.appcompat:appcompat-resources:1.5.0-alpha01 are released. Version 1.5.0-alpha01 contains these commits.
API Changes
- Added a new API to expose switch thumb's position to subclasses (I9bfb4)
- Updated nullability to match Tiramisu DP2 (I0cbb7)
- Backported compound drawable tinting to TextView-derived widgets (Idf98c, b/165822337)
AppCompatDialognow extendsComponentDialogfor compatibility withOnBackPressedDispatcher(Id9b91, b/217620781)SearchView.onQueryRefine()is now protected visibility to allow overrides (I6cce0, b/212882845)
Bug Fixes
- AppCompat
Toolbarnow callsMenuHostHelper'sonPrepareMenu()API. (I9b9b5, b/227376894) AppCompatEditText,AppCompatAutoCompleteEditText,AppCompatMultiAutoCompleteEditTextwill no longer reset clickable or longClickable in the constructor when set in XML (Ic5066, b/221094907)AppCompatEditText,AppCompatAutoCompleteTextView, andAppCompatMultiAutoCompleteTextViewwill not call overriddensetKeyListenerduring the constructor (I5c13a, b/208480173)- Appcompat will not wrap instances of
NumberKeyListenerpassed tosetKeyListener, allowingTextViewto correctly configure the locale onNumberKeyListeners(Ibf113, b/207119921) - Fixed issue with all
NumberKeyListenersubclasses introduced in AppCompat 1.4.0 that allowed unexpected characters such as punctuation to be input (Iede7a, b/207119921)
Benchmark: v1.1.0-beta06
April 6, 2022
androidx.benchmark:benchmark-*:1.1.0-beta06 is released. Version 1.1.0-beta06 contains these commits.
Bug Fixes
- Fix trace recording crash on API 21/22 (If7fd6, b/227509388)
- Overhaul activity launch completion detection to fix 'Unable to read any metrics' exception in startup macrobenchmarks. (Ia517c)
Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0-beta03
April 6, 2022
androidx.camera:camera-*:1.1.0-beta03 is released. Version 1.1.0-beta03 contains these commits.
API Changes
- Made
CaptureRequestOptionsconstructor restricted. (I261b6) - Added an experimental API for using
CameraControllerwith external image processing libraries. e.g. MLKit (I4ea71)
Bug Fixes
- Fixed the issue that preview becomes sideway in
PreviewViewwhen activity is not restarted after rotating devices in multi-window. (I1ea36, b/223488673) - Fix a multi-window issue that when focus changes back to the app it fails to resume the camera when (1) other high priority app opens a different camera (2) the device is Samsung Android 12 devices. (I7e9f2)
- Workaround included for devices that crash when checking availability of flash. These devices will not have torch available. (If26a3, b/216667482)
- Fix
AbstractMethodErrorissue happened when apps use extensions and enable proguard. (I7cbaf, b/222726805) - Force disable bokeh extension mode on Motorola razr 5G device which will cause black preview screen issue. (I35d49)
- Fixed audio/video out of sync after pause and resume on some Samsung devices pre-API 29. (I64622, b/202798609, b/202798572)
- Fixed audio/video out of sync after pause and resume on Sony G3125. (I2a1a5, b/202799148)
- Fixed a crash when the Recorder encountered an
InvalidConfigException. However, this fix only prevents app from crashing, but doesn't resolve the cause of theInvalidConfigException. If theRecorderstill cannot be configured, applications will receive error callback when it starts recording. (I89c29, b/213617227)
External Contribution
- updated :compose:ui:ui-test api (updateApi) due to test-coroutines-lib migration (
2022-03-23
Activity: v1.6.0-alpha01
March 23, 2022
androidx.activity:activity:1.6.0-alpha01, androidx.activity:activity-compose:1.6.0-alpha01, and androidx.activity:activity-ktx:1.6.0-alpha01 are released.
- Note: This version will only compile against the Android 13 Developer Preview 2 SDK.
New Features
- Integrated changes in Android 13 Dev Preview 2 into
ComponentActivity.
Activity: v1.5.0-alpha04
March 23, 2022
androidx.activity:activity:1.5.0-alpha04, androidx.activity:activity-compose:1.5.0-alpha04, and androidx.activity:activity-ktx:1.5.0-alpha04 are released. Version 1.5.0-alpha04 contains these commits.
Bug Fixes
SavedStateViewFactorynow supports usingCreationExtraseven when it was initialized with aSavedStateRegistryOwner. If extras are provided, the initialized arguments are ignored. (I6c43b, b/224844583)
Benchmark: v1.1.0-beta05
March 23, 2022
androidx.benchmark:benchmark-*:1.1.0-beta05 is released. Version 1.1.0-beta05 contains these commits.
Bug Fixes
- Kill package after skipping profile installation when using
CompilationMode.None. (aosp/1991373) - Fixed an issue where Macrobenchmarks is unable to collect startup metrics when using
StartupMode.COLD. (aosp/2012227 b/218668335)
Car App: v1.2.0-rc01
March 23, 2022
androidx.car.app:app-*:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.
- This is a stabilization release, and there are no API changes compared to
v1.2.0-beta02. New experimental features (API level 5) have been added that are intended for future Android Auto and Android Automotive releases.
Bug Fixes
- Fixed an exception that happens if the screen stack is modified after
State.DESTROYED. (I3c8eb) - Updated
CarSensorsAPI to indicate that they are not implemented for AAOS (Idd57b) - Updated
PlaceListMapTempalte.Builder#setCurrentLocationEnabledto indicate that ACCESS_COARSE_LOCATION would be sufficient for the feature (I510c2) - Made exit number optional for roundabout-with-angle maneuver types (Ife7d1)
Compose Animation: v1.2.0-alpha06
March 23, 2022
androidx.compose.animation:animation:1.2.0-alpha06, androidx.compose.animation:animation-core:1.2.0-alpha06, and androidx.compose.animation:animation-graphics:1.2.0-alpha06 are released. Version 1.2.0-alpha06 contains these commits.
API Changes
- Updated parsing of vector drawables to support auto mirroring to flip the content of a
VectorPainterif the current layout direction is RTL. (I79cd9, b/185760237)
Bug Fixes
- Updated Vector graphics APIs to use the proper composable annotation
@VectorComposableinstead of@UiComposable(I942bc)
Compose Compiler: v1.2.0-alpha06
March 23, 2022
androidx.compose.compiler:compiler:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
Compose Foundation: v1.2.0-alpha06
March 23, 2022
androidx.compose.foundation:foundation:1.2.0-alpha06 and androidx.compose.foundation:foundation-layout:1.2.0-alpha06 are released. Version 1.2.0-alpha06 contains these commits.
API Changes
- Added
RequestFocussemantics action to request focus on the focusable target. (I17b71) FocusOrderhas now been merged intoFocusPropertiesandfocusProperties()now has all the capabilities offocusOrder().FocusOrderandfocusOrder()have been deprecated.focusOrder()that accepts afocusRequestershould be replaced with afocusRequester()modifier in combination withfocusProperties(). This allows the modifiers to have a stronger separation of concerns. (I601b7)WindowInsets.asPaddingValues(Density)was added to allow developers to do the conversion without needing to be in composition. (I94c35)- Updated parsing of vector drawables to support auto mirroring to flip the content of a
VectorPainterif the current layout direction is RTL. (I79cd9, b/185760237)
Bug Fixes
- Scroll modifiers (
Modifier.verticalScroll(),Modifier.horizontalScroll(), andModifier.scrollable()) will now scroll to keep the focused composable visible if the scroll area is resized and the focused composable was previously visible. - TextFields will now be kept above the keyboard when they are focused and the keyboard is shown, when inside a non-lazy scrollable and the soft input mode is
ADJUST_RESIZE. (I4a485, b/190539358, b/192043120, b/216842427)
Compose Material: v1.2.0-alpha06
March 23, 2022
androidx.compose.material:material-*:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
API Changes
- Updates to the clickable Card API to follo...
2022-03-18
Runner 1.5.0: runner 1.5.0-alpha02
Mar 21, 2022
androidx.test:runner:1.5.0-alpha02 is released.
Bug Fixes
- Ensure Trace.endSection is called before Instrumentation#finish.
Rules 1.4.1: rules 1.4.1-alpha05
Mar 21 2022
androidx.test:rules:1.4.1-alpha05 is released.
Monitor aka Platform 1.6.0: monitor 1.6.0-alpha02
Mar 21, 2022
androidx.test:monitor:1.6.0-alpha02 is released.
Bug fixes
- Make HardwareRendererCompat logging less severe.
- Ensure Trace.endSection is called before Instrumentation#finish.
Espresso 3.5.0: Espresso 3.5.0-alpha05
Mar 21, 2022
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.5.0-alpha05androidx.test.espresso:espresso-core:3.5.0-alpha05androidx.test.espresso:espresso-contrib:3.5.0-alpha05androidx.test.espresso:espresso-idling-resource:3.5.0-alpha05androidx.test.espresso:espresso-intents:3.5.0-alpha05androidx.test.espresso:espresso-remote:3.5.0-alpha05androidx.test.espresso:espresso-web:3.5.0-alpha05androidx.test.espresso.idling:idling-concurrent:3.5.0-alpha05androidx.test.espresso.idling:idling-net:3.5.0-alpha05
Bug Fixes
- Remove timeout in CloseKeyboardAction when running under Robolectric
Core 1.4.1: Core Core-ktx 1.4.1-alpha05
Mar 21, 2022
androidx.test:core:1.4.1-alpha05 and androidx.test:core-ktx:1.4.1-alpha05 are released.
JUnit Extensions 1.1.4: ext.junit 1.1.4-alpha05
Mar 21, 2022
androidx.test.ext:junit:1.1.4-alpha05 and androidx.test.ext:junit-ktx:1.1.4-alpha05 are released.
Truth Extensions 1.5.0: ext.truth 1.5.0-alpha05
Mar 21, 2022
androidx.test.ext:truth:1.5.0-alpha05 is released.
Bug fixes
- Make Intent matchers fail explicitly for null intent
Services 1.4.2: services 1.4.2-alpha02
Mar 21, 2022
androidx.test.services:test-services:1.4.2-alpha02 androidx.test.services:storage:1.4.2-alpha02 are released.
Orchestrator 1.4.2: orchestrator 1.4.2-alpha02
Mar 21, 2022
androidx.test:orchestrator:1.4.2-alpha02 is released.