AndroidX Core

Frameworks & LibrariesAI extracted

AndroidX's backports of the newest platform APIs and Kotlin extensions over them (core and core-ktx).

Latest 1.19.1 · by GoogleWebsiteRSS

Release activity

Release activity — 8 releases across 8 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026
MondayNo releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026
TuesdayNo releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026
WednesdayNo releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 20261 release on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026
ThursdayNo releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026
FridayNo releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026
SaturdayNo releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026

8 releases in the last year

Changelog

1.19.1

Latest
Changed 1
  • Updated the androidx.lifecycle:lifecycle-runtime dependency to version 2.10.0, which is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later.

From AndroidX Core

androidx.lifecycle:lifecycle-runtime dependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. ( Ic4c56, b/556807521)

View originalPermalink
How 1.19.1 went

1.19.0-alpha02

Added 1
  • Added TextAttributeCompat as a backwards compatible variant of TextAttribute
Changed 1
  • Telecom now uses a fallback heuristic to identify wearable devices for audio routing decisions when the BLUETOOTH_CONNECT permission is denied
Fixed 3
  • Fixed a test failure in CallSessionTest on Android 17 (SDK 37) by suppressing version-specific bug mitigation tests on unaffected platform versions
  • Fixed an issue on Android 14-16 where audio calls might unexpectedly route to speaker on call start
  • Fixed an IllegalStateException crash in core-telecom that could occur if the Telecom framework or a remote service dispatched connection events multiple times during extension setup
Deprecated 1
  • Deprecate BuildCompat.isAtLeastB*; callers should check SDK_INT(_FULL) directly instead
View originalRead the notes
How 1.19.0-alpha02 went

1.19.0-alpha01

Added 6
  • Added new APIs to get and set math info
  • Added variation settings to customize downloadable variable fonts
  • Added unwrap() to AccessibilityNodeInfoCompat.SelectionCompat to retrieve the underlying platform AccessibilityNodeInfo.Selection object
  • Added getView() and getVirtualDescendantId() to AccessibilityNodeInfoCompat.SelectionPositionCompat
  • Added EXTRA_PREFER_SMALL_ICON key constant to NotificationCompat
  • Added support for MetricStyle, semantic style, and related APIs in NotificationCompat
Changed 3
  • core-ktx APIs have been merged into the core library so all Kotlin extensions are now part of the main core artifact
  • core-ktx is now an empty artifact kept for compatibility
  • Annotated BuildCompat.isAtLeastB_1 with @ChecksSdkIntAtLeast
Fixed 2
  • Corrected ACTION_ARGUMENT_SELECTION_PARCELABLE definition in AndroidX to match the framework SDK by using a single action literal
  • Fixed equals() behavior in AccessibilityNodeInfoCompat.SelectionPositionCompat and AccessibilityNodeInfoCompat.SelectionCompat so equality is properly evaluated
View originalRead the notes
How 1.19.0-alpha01 went

1.18.0

Added 3
  • NotificationCompat.ProjectedExtender added to support notifications on projected devices
  • PictureInPictureUiStateCompat added to help handle API differences for the picture-in-picture feature
  • AccessibilityNodeInfoCompat.SelectionCompat added to help handle accessibility selection on devices running API 36.1
Changed 1
  • compileSdk changed from API 36 to API 36.1
View originalRead the notes
How 1.18.0 went

1.18.0-rc01

Added 3
  • Add BasicPictureInPicture class for typical picture-in-picture usages
  • Add VideoPlaybackPictureInPicture class for typical picture-in-picture usages
  • Add ViewBoundsTracker class to continuously track view bounds for setting sourceRectHint in PictureInPictureParamsCompat
Removed 1
  • Remove the onViewBoundsChanged API
View originalRead the notes
How 1.18.0-rc01 went

1.18.0-alpha01

Added 14
  • Add support for getBoundingRects in WindowInsetsCompat
  • Abstract the Picture-in-Picture functions from ComponentActivity into a dedicated PictureInPictureProvider interface
  • Add APIs to inform surfaces on whether the mic should be shown or not
  • Add DisplayShapeCompat APIs
  • PictureInPictureParamsCompat is introduced to wrap the framework android.app.PictureInPictureParams class
  • Add support for IntentSender
Changed 4
  • onCanUserUpdateSilence is now an optional
  • Extend PictureInPictureProvider interface to include also OnUserLeaveHintProvider
  • BuildCompat.isAtLeastB1: remove @RequiresApi
  • CallsManager.registerAppWithTelecom now includes a new optional backwardsCompatSdkLevel parameter, giving developers control over which underlying platform implementation (legacy ConnectionService vs. modern transactional APIs) is used; it defaults to 33 so modern APIs are used by default on SDK 34+, and can be set higher to force the legacy path on specific SDK ranges
Fixed 2
  • Fix bug for missing AccessibilityNodeInfoCompat expanded state intdef
  • Fix bug for missing AccessibilityNodeInfoCompat expanded state constants
Deprecated 2
  • Deprecated PermissionsDelegateCompat.onActivityResult which is no longer called by FragmentActivity
  • Deprecated the bundleOf(...) extension function, which does not provide compile time type safety and may lead to crashes at run time; use Bundle methods directly instead
View originalRead the notes
How 1.18.0-alpha01 went

1.17.0

Changed 1
  • Core library has been updated to target Kotlin 2.0 language level and requires use of Kotlin Gradle Plugin 2.0.0 or newer.
View originalRead the notes
How 1.17.0 went

1.17.0-rc01

androidx.core:core:1.17.0-rc01, androidx.core:core-ktx:1.17.0-rc01, and androidx.core:core-testing:1.17.0-rc01 are released. Version 1.17.0-rc01 contains no changes since the previous beta release.

View originalRead the notes
How 1.17.0-rc01 went

1.17.0-beta01

androidx.core:core:1.17.0-beta01, androidx.core:core-ktx:1.17.0-beta01, and androidx.core:core-testing:1.17.0-beta01 are released. Version 1.17.0-beta01 contains no changes since the previous alpha version.

View originalRead the notes
How 1.17.0-beta01 went

1.17.0-alpha01

Added 3
  • Added NotificationCompat.ProgressStyle for progress centric notifications
  • Added NotificationCompat.Builder.setRequestPromotedOngoing() for Live Updates notifications
  • Added Parcel.use extension function for safe handling of Parcel resources
Changed 1
  • Core library now targets Kotlin 2.0 language level and requires Kotlin Gradle Plugin 2.0.0 or newer
View originalRead the notes
How 1.17.0-alpha01 went

1.16.0

Changed 1
  • The library now uses JSpecify nullness annotations, which are type-use annotations.
View originalRead the notes
How 1.16.0 went

1.16.0-rc01

androidx.core:core:1.16.0-rc01, androidx.core:core-ktx:1.16.0-rc01, and androidx.core:core-testing:1.16.0-rc01 are released. Version 1.16.0-rc01 contains no changes from the previous beta release.

View originalRead the notes
How 1.16.0-rc01 went

1.16.0-beta01

Added 3
  • Added a new key to get character bounds in unmagnified window coordinates.
  • Added a new boolean property to represent whether an AccessibilityNodeInfo represents a required field.
  • Backported View.transformMatrixToGlobal to ViewCompat.
Changed 1
  • Refined insets protection APIs.
View originalRead the notes
How 1.16.0-beta01 went

1.16.0-alpha02

Added 3
  • Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available
  • Add an experimental API to get a list of built-in displays
  • Add a set of APIs related to ensuring system bar contrast
Changed 1
  • This library now uses JSpecify nullness annotations, which are type-use; Kotlin developers should use the compiler argument -Xjspecify-annotations=strict (the default starting with Kotlin compiler version 2.1.0)
Fixed 1
  • Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26
View originalRead the notes
How 1.16.0-alpha02 went

1.16.0-alpha01

Added 9
  • Added setLaunchDisplayId to ActivityOptionsCompat.
  • Added compat API for SYSTEM_OVERLAYS.
  • Added OutcomeReceiverCompat, a version of Android's OutcomeReceiver available on all API levels.
  • Added compat class for android.view.ScrollFeedbackProvider.
  • Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View).
  • Introduced the concept of a View being able to have a disjoint parent, a different view that effectively parents the other view without being set via the View.parent property.
Fixed 1
  • ViewCompat.addViewOverlay(View) fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner.
Deprecated 1
  • Deprecated BuildCompat.isAtLeastV; callers should check SDK_INT against 35 directly instead.
View originalRead the notes
How 1.16.0-alpha01 went

1.15.0

Changed 1
  • Updated compatibility classes for parity with the Android 15 SDK.
Removed 1
  • Removed manual outlining of access to new platform APIs, since this now happens automatically via API modeling when using R8 with AGP 7.3 or later or D8 with AGP 8.1 or later.
View originalRead the notes
How 1.15.0 went

1.15.0-rc01

androidx.core:core:1.15.0-rc01, androidx.core:core-ktx:1.15.0-rc01, and androidx.core:core-testing:1.15.0-rc01 are released. Version 1.15.0-rc01 contains no changes since the previous release.

View originalRead the notes
How 1.15.0-rc01 went

1.15.0-beta01

Added 1
  • Added itemCount and importantForAccessibilityItemCount fields to CollectionInfoCompat.
Fixed 1
  • Fixed documentation issues in androidx.core.os.Profiling.
View originalRead the notes
How 1.15.0-beta01 went

1.15.0-alpha02

Added 6
  • Added fallbackQuery XML attribute to downloadable font definitions, allowing character-level fallback with downloadable fonts
  • Added helper APIs for using ProfilingManager
  • Added compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode
  • Added DisplayCutoutCompat.getCutoutPath
  • Created FontsContractCompat.requestFonts that takes executors
  • Notifications can now be tagged as voicemail
Changed 3
  • Removed manual outlining of access to new platform APIs, since this now happens automatically via API modeling when using R8 with AGP 7.3 or later and for all builds when using AGP 8.1 or later
  • Reverted deprecation of ParcelCompat.writeBoolean and delegated to the platform API on API level 29 and above
  • Reverted deprecation of LocationCompat.isMock and delegated to the platform API on API level 31 and above
View originalRead the notes
How 1.15.0-alpha02 went

1.15.0-alpha01

Changed 1
  • Various updates to compatibility classes for parity with Android 15 SDK.
View originalRead the notes
How 1.15.0-alpha01 went

1.14.0-alpha01

Changed 2
  • Moved to API level 21 as the default minSdkVersion of AndroidX libraries
  • Updated isAtLeastV() to return true for the finalized V SDK
Deprecated 2
  • Deprecated additional obsolete compat methods
  • Deprecated obsolete compat methods
View originalRead the notes
How 1.14.0-alpha01 went

1.13.1

Fixed 1
  • Fixed an issue where, when the handwriting toolbar is shown, a finger tap could not switch to the regular keyboard
View originalRead the notes
How 1.13.1 went

1.13.0

Added 1
  • PathParser has been added, which can create a Path instance from SVG path strings.
Changed 2
  • The library's minSdkVersion has been raised to 19.
  • Several classes have been rewritten in Kotlin to provide better interoperability with Kotlin consumers while preserving Java compatibility.
Removed 1
  • FingerprintManagerCompat has been removed, as it is a no-op starting in Android V and should not be used on earlier platforms; clients should migrate to BiometricPrompt.
Deprecated 1
  • Many compatibility APIs have been marked deprecated since they were only needed prior to API level 19.
View originalRead the notes
How 1.13.0 went

1.13.0-rc01

Fix retrieving initial system bar appearance on API 30+ ( I18596, b/219993701)

View originalRead the notes
How 1.13.0-rc01 went

1.13.0-beta01

Changed 5
  • PathParser is now final
  • interpolatePathDataNodes now throws an exception for incompatible arguments instead of returning a boolean
  • nodesToPath now belongs to PathParser rather than PathParser.PathDataNode
  • The Pool interface and its subclasses, SimplePool and SynchronizedPool, are now written in Kotlin
  • The generic type of objects stored in the Pool must now be non-null
Removed 1
  • FingerprintManagerCompat has been soft-removed prior to its removal from the Android V platform SDK; developers should migrate away from this class immediately
Deprecated 2
  • GestureDetectorCompat is deprecated because GestureDetector is guaranteed to be available in the platform at the library's minimum SDK version
  • MarginLayoutParamsCompat is deprecated because MarginLayoutParams is guaranteed to be available in the platform at the library's minimum SDK version
View originalRead the notes
How 1.13.0-beta01 went

1.13.0-alpha05

Fixed 1
  • Updated the ContextCompat.registerReceiver documentation for correctness
View originalRead the notes
How 1.13.0-alpha05 went

1.13.0-alpha04

Added 1
  • Added AlarmManagerCompat.canScheduleExactAlarms API
Changed 3
  • The androidx.core.util.Consumer class has been rewritten in Kotlin and now enforces that the generic type T matches the nullability of what the accept() method receives
  • androidx.core.util.Supplier has been converted to Kotlin, ensuring that the nullability of the type returned by get() matches the nullability of the generic type
  • androidx.core.util.Function has been rewritten in Kotlin, ensuring that the nullability of the input and outputs of the function match the generic types used
View originalRead the notes
How 1.13.0-alpha04 went

1.13.0-alpha03

Deprecated 3
  • ListViewCompat is deprecated; use ListView directly.
  • ViewCompat.LAYOUT_DIRECTION_ APIs are deprecated.
  • Obsolete compat methods in ViewCompat are deprecated.
View originalRead the notes
How 1.13.0-alpha03 went

1.13.0-alpha02

Added 1
  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture
Changed 3
  • The OnMultiWindowModeChangedProvider, OnNewIntentProvider, OnPictureInPictureModeChangedProvider, OnConfigurationChangedProvider, and OnTrimMemoryProvider interfaces have been converted to Kotlin so that the generic parameters on their listener Consumer have correct non-null nullability
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes sent to the Consumer of their respective Provider interfaces are now written in Kotlin
  • Core now depends on Lifecycle 2.6.2
Deprecated 1
  • androidx.core.os.CancellationSignal is deprecated; usages should be replaced with the platform-provided android.os.CancellationSignal
View originalRead the notes
How 1.13.0-alpha02 went

1.13.0-alpha01

Added 3
  • Added compat method for Context.createAttributionContext
  • New API for differential motion fling
  • Additional compat APIs for VelocityTracker to track platform SDK
Changed 2
  • Make PathParser public so it can create a Path instance from SVG path strings
  • Override equals and hashCode methods in Person
Deprecated 1
  • Marks NotificationCompatSideChannelService as deprecated
View originalRead the notes
How 1.13.0-alpha01 went

1.12.0

Added 2
  • Many compat methods added for SDK 34 parity with TextView, AccessibilityNodeInfo, and other APIs
  • New LocalePreferences APIs to help developers easily access locale data or the user's locale preferences
Deprecated 2
  • app.BundleCompat is deprecated in favor of os.BundleCompat
  • BuildCompat.isAtLeastU() is deprecated; use SDK_INT >= 34 instead
View originalRead the notes
How 1.12.0 went

1.12.0-rc01

androidx.core:core:1.12.0-rc01, androidx.core:core-ktx:1.12.0-rc01, and androidx.core:core-testing:1.12.0-rc01 are released with no major changes.

View originalRead the notes
How 1.12.0-rc01 went

1.12.0-beta01

Added 8
  • Added setLineHeight(unit, lineHeight) to TextView compat classes
  • Added TypedValueCompat.getUnitFromComplexDimension() from Android 14
  • Backported miscellaneous Accessibility APIs
  • Backported API 34 AccessibilityNodeInfo methods
  • Backported AccessibilityWindowInfo 34 APIs
  • New accessibilityDataSensitive compat property
  • Added PendingIntentCompat.send()
  • Added compat versions of Location.removeVerticalAccuracy(), Location.removeSpeedAccuracy(), and Location.removeBearingAccuracy()
Changed 5
  • Graduated stable SDK checks out of experimental
  • Removed usages of experimental isAtLeastU() API
  • Migrated BuildCompat to Kotlin for enhanced Deprecated tag
  • Updated API files to annotate compatibility suppression
  • Made a view important for accessibility if the view has an accessibility delegate
Fixed 1
  • PendingIntentCompat.getActivity and getService may return null when FLAG_NO_CREATE is specified
Deprecated 1
  • Deprecated BuildCompat.isAtLeastU(); use SDK_INT >= 34 instead
View originalRead the notes
How 1.12.0-beta01 went

1.11.0-beta02

Changed 1
  • Updated the documentation on the ColorUtils classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters.
Fixed 1
  • Fixed the deprecation replaceWith for android.os.Trace.
View originalRead the notes
How 1.11.0-beta02 went

1.12.0-alpha05

Changed 1
  • Updated the documentation on the ColorUtils classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters.
Fixed 1
  • Fixed the deprecation replaceWith for android.os.Trace.
View originalRead the notes
How 1.12.0-alpha05 went

1.11.0-beta01

Added 3
  • Add ViewCompat support to method performHapticFeedback
  • Add ContextCompat#getDisplay(Context)
  • Add ContextCompat#getContextForLanguage(Context) for getting per-app locales in non-Activity context
Changed 2
  • Change getDisplay to #getDisplayOrDefault
  • Clarify CollectionInfoCompat docs, especially isHierarchical
View originalRead the notes
How 1.11.0-beta01 went

1.12.0-alpha04

This version will only compile against the Android 14 Beta 2 SDK.

View originalRead the notes
How 1.12.0-alpha04 went

1.10.1

Fixed 1
  • Fixed BadParcelableException being thrown for a null result
View originalRead the notes
How 1.10.1 went

1.11.0-alpha04

Added 2
  • Added LinkMovementMethodCompat that fixes link touch handling
  • Added a SoftwareKeyboardControllerCompat to provide direct methods to show and hide the software keyboard given a View
Changed 1
  • PendingIntent.getBroadcast() is now correctly marked @Nullable
Fixed 2
  • Fixed Context leak in DisplayManagerCompat
  • Backports workarounds for known issues when using the WindowInsetsController APIs on some API levels
View originalRead the notes
How 1.11.0-alpha04 went

1.11.0-alpha03

Added 2
  • Add public methods to access M3HCT parameters
  • Add public methods to turn M3HCT values into ARGB
Changed 2
  • Update BuildCompat in preparation for Android 14 Beta 2
  • Unhide NotificationCompat.TvExtender
View originalRead the notes
How 1.11.0-alpha03 went

1.12.0-alpha03

Added 5
  • Unhides NotificationCompat.TvExtender
  • Added public methods to access M3HCT parameters and turn M3HCT values into ARGB
  • Added NotificationManager.getCurrentInterruptionFilter
  • Added getCurrentInterruptionFilter to NotifManagerCompat
  • Added TestConsumer so developers can record values in a test
Fixed 1
  • Fixed a bug where unregisterGnssMeasurementsCallback() does not work properly below Android R
Deprecated 1
  • Deprecated app.BundleCompat in favor of os.BundleCompat
View originalRead the notes
How 1.12.0-alpha03 went

1.10.0

Added 1
  • BuildCompat constants are added for SDK extension versions
Deprecated 1
  • Recycling of accessibility objects is deprecated
View originalRead the notes
How 1.10.0 went

1.11.0-alpha02

Added 2
  • Adds getCurrentInterruptionFilter to NotifManagerCompat
  • Add TestConsumer so developers can record values in a test
Fixed 1
  • Fix a bug where unregisterGnssMeasurementsCallback() does not work properly below Android R
Deprecated 1
  • Deprecate app.BundleCompat in favor of os.BundleCompat
View originalRead the notes
How 1.11.0-alpha02 went

1.11.0-alpha01

Added 4
  • Compat classes for content capture APIs
  • NotificationCompat.Builder.setLargeIcon(Icon)
  • Batch notification API in NotificationManagerCompat, which users are encouraged to use when posting multiple notifications
  • registerGnssMeasurementsCallback() with Executor support on pre-R platforms
Changed 1
  • FileProvider now provides a default getTypeAnonymous implementation, the unrestricted version of getType, because in Android U the ContentProvider getType API requires the caller to hold the correct read permission
View originalRead the notes
How 1.11.0-alpha01 went

1.12.0-alpha01

Added 1
  • Added new LocalePreferences APIs that give developers easy access to user locale preferences and ICU locale data, including hour cycle, calendar type, temperature unit, and first day of week.
View originalRead the notes
How 1.12.0-alpha01 went

1.10.0-rc01

androidx.core:core:1.10.0-rc01 and androidx.core:core-ktx:1.10.0-rc01 are released with no changes from the previous beta.

View originalRead the notes
How 1.10.0-rc01 went

1.10.0-beta01

Added 1
  • Added NotificationCompat.bigLargeIcon(Icon)
Changed 1
  • The AccessibilityNodeInfoCompat APIs set/getMinMillisBetweenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration
Fixed 4
  • Fixed docs regarding default value of NotificationCompat.Builder.setShowWhen()
  • Fixed typo in AccelerateInterpolator and DecelerateInterpolator docs
  • Fixed typo in ShortcutInfoCompat docs
  • Fixed up, down, spacebar and key variation keyboard actions with NestedScrollView and CoordinatorLayout
View originalRead the notes
How 1.10.0-beta01 went

1.10.0-alpha02

Added 2
  • Added BuildCompat constant for AD_SERVICES extension version
  • Added BEHAVIOR_DEFAULT to WindowInsetsControllerCompat
Deprecated 2
  • BEHAVIOR_SHOW_BARS_BY_SWIPE in WindowInsetsControllerCompat is deprecated
  • BEHAVIOR_SHOW_BARS_BY_TOUCH in WindowInsetsControllerCompat is deprecated
View originalRead the notes
How 1.10.0-alpha02 went

1.10.0-alpha01

Added 6
  • Adds CallStyle to NotificationCompat
  • Added BuildCompat constants for SDK extension versions
  • Add APIs for setting initial focus on accessibility node
  • Add new APIs for content change rate limiting
  • Adds compatibility methods for new APIs introduced in Android 13 for Parcels, Bundles, and Intents
  • Added times/div operator overloads for Point and PointF
Changed 3
  • Some ParcelCompat method signatures have been updated and may require a source change on upgrade to conform to the new signature
  • Updated return type nullability of deprecated-hidden functions
  • Specify that lists should have 1 row or 1 column for accessibility
Deprecated 2
  • Deprecating recycling of accessibility objects because performance changes were found to be negligible in even the oldest supported versions
  • Added documentation to AccessibilityEvent#TYPE_ANNOUNCEMENT with a suggestion to avoid using it
View originalRead the notes
How 1.10.0-alpha01 went

1.9.0

Added 3
  • Added IntentSanitizer to sanitize unsafe intents before launching them
  • Adds support for BigPictureStyle using Icon
  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above
Changed 2
  • Updated to improve compatibility with Android 13, including nullability changes and parity with framework APIs
  • Improved parity between Android 13 accessibility framework APIs and compat APIs
View originalRead the notes
How 1.9.0 went

1.9.0-rc01

Changed 1
  • IntentSanitizer.sanitizeByFiltering no longer writes to the log when filtering
View originalRead the notes
How 1.9.0-rc01 went

1.9.0-beta01

Added 8
  • Added compatibility for ACTION_SHOW_TEXT_SUGGESTIONS and setTextSelectable.
  • Added IntentSanitizer to sanitize unsafe intents before launching them.
  • Added support for BigPictureStyle using Icon.
  • Added LocationManagerCompat.registerGnssMeasurementsCallback to work around Android R bugs.
  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above.
  • Added support for APIs introduced in Android T.
  • Added accessibility framework constants previously absent from AndroidX.
  • Backported Typeface#create(Typeface, int, boolean) to create a typeface with a specific weight from a font family.
Changed 1
  • Updated nullability annotations.
Fixed 1
  • TypefaceCompat.create(..., weight, italic) falls back to platform Typeface.create when the compat implementation cannot resolve on API 14-20.
View originalRead the notes
How 1.9.0-beta01 went

1.9.0-alpha05

Changed 2
  • Nullability annotations updated to align with the finalized API surface in the Tiramisu Beta 3 SDK
  • minCompileSdk raised to 33 to align with the Tiramisu Beta 3 SDK
View originalRead the notes
How 1.9.0-alpha05 went

1.8.0

Added 1
  • Added new interfaces that allow components to receive picture-in-picture and multi-window mode change events, implemented by ComponentActivity in the Activity library
Changed 3
  • Cleaned up nullability annotations to improve Kotlin usability
  • Improved platform parity for ShortcutInfoCompat and NotificationCompat
  • Improved MenuProvider callback methods, including onPrepareMenu and onMenuClosed
Fixed 2
  • Fixed an issue where FileProvider would fail with IllegalArgumentException on certain devices
  • Fixed an issue where TypefaceCompat applied an incorrect typeface weight on API 29+
View originalRead the notes
How 1.8.0 went

1.9.0-alpha04

Revert deprecation of BuildCompat.isAtLeastT and accompanying SDK_INT checks

View originalRead the notes
How 1.9.0-alpha04 went

1.8.0-rc02

Fixed 1
  • Cast OnSharedElementsReadyListener to the fully-qualified platform class to prevent ClassCastException
View originalRead the notes
How 1.8.0-rc02 went

1.8.0-rc01

Added 1
  • Added BuildCompat check for next pre-release cycle
Changed 1
  • Updated BuildCompat.isAtLeastT() for finalized SDK_INT value
View originalRead the notes
How 1.8.0-rc01 went

1.9.0-alpha03

Version 1.9.0-alpha04 contains all commits from 1.8.0-beta01, but has been built against Android 13 Beta 1.

View originalRead the notes
How 1.9.0-alpha03 went

1.8.0-alpha07

Changed 1
  • TypefaceCompat now respects both requested and loaded style information on API 29 and above
View originalRead the notes
How 1.8.0-alpha07 went

1.8.0-alpha06

Added 3
  • The MenuProvider interface now includes the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown.
  • The MenuProvider interface now includes the onMenuClosed() method to be used whenever a menu should be closed.
  • Adds a method to BitmapCompat for smoother downscaling of bitmaps.
Changed 3
  • Updated IconCompat#getResId to have the proper resource annotation type to match the corresponding method in the framework in Icon#getResId.
  • Updated nullability in core and appcompat to match Tiramisu DP2.
  • Added nullability annotations to ActivityCompat.requestDragAndDropPermissions.
Fixed 3
  • Reverted the previous change of relying solely on a View for WindowInsetsControllerCompat and again require a Window, which is required for managing some window flags.
  • Added a work-around to FileProvider for OEMs that strip meta-data from manifests.
  • Parent visibility changes are now considered for accessibility pane visibility status for versions earlier than P.
Deprecated 1
  • ViewCompat.getWindowInsetsController is deprecated in favor of WindowCompat.getInsetsController to ensure the correct Window is used, such as when the View is in a dialog.
View originalRead the notes
How 1.8.0-alpha06 went

1.9.0-alpha02

Changed 1
  • Release 1.9.0-alpha02 includes all commits from 1.8.0-alpha06 and is built against Tiramisu DP2
View originalRead the notes
How 1.9.0-alpha02 went

1.9.0-alpha01

Changed 2
  • Compatible with Android Tiramisu DP1, which is required to compile this version
  • Not guaranteed to be runtime-compatible with future Android Tiramisu developer previews
View originalRead the notes
How 1.9.0-alpha01 went

1.8.0-alpha05

Added 4
  • Added ExtraData functions to AccessibilityNodeInfoCompat
  • Added zero-argument overload for bundleOf() to avoid an invisible array allocation when creating an empty bundle
  • Added Continuation<T>.asFoo() adapters to create callbacks for writing suspend wrappers for Android APIs that accept common or generic callback types
  • Added nullable Drawable.toBitmapOrNull method to avoid exceptions
Changed 3
  • Updated nullability annotations for androidx.core.os classes
  • Updated nullability annotations for androidx.core.app classes
  • Updated nullability annotations for androidx.core.text classes
View originalRead the notes
How 1.8.0-alpha05 went

1.8.0-alpha04

Added 2
  • Adds the OnPictureInPictureModeChangedProvider interface to allow any component to receive picture-in-picture mode change events, implemented by ComponentActivity in Activity 1.5.0-alpha02
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events, implemented by ComponentActivity in Activity 1.5.0-alpha02
Changed 1
  • Cleaned up nullability for a subset of androidx.core APIs
View originalRead the notes
How 1.8.0-alpha04 went

1.8.0-alpha03

Added 2
  • Added a method for working around ColorStateList issues resulting from Theme-keyed caching and Theme.applyStyle
  • Added a zero-argument overload for persistableBundleOf() to avoid an unnecessary array allocation when creating an empty PersistableBundle
Changed 3
  • WindowInsetsControllerCompat now depends on a View instead of a Window or the platform WindowInsetsController, improving behavior with Dialogs and showing the IME
  • Cleaned up nullability for a subset of androidx.core APIs
  • Updated the shortcut visibility API for better readability
Fixed 1
  • Fixed nullability of performAccessibilityAction parameters
View originalRead the notes
How 1.8.0-alpha03 went

1.8.0-alpha02

Added 3
  • Adds experimental BuildCompat methods for future SDKs
  • Adds utility methods to convert a document into a shortcut and vice versa
  • Adds the OnNewIntentProvider, OnConfigurationChangedProvider, and OnTrimMemoryProvider interfaces that can be used to denote that a custom activity can dispatch these events to any component that adds a listener
Changed 1
  • Updates the visibility API for shortcuts for better readability
View originalRead the notes
How 1.8.0-alpha02 went

1.8.0-alpha01

Added 4
  • Added a new API ShortcutInfoCompat.Builder#setHiddenFromLauncher to determine whether the shortcut should be hidden from the launcher
  • Added NotificationCompat.Action#setAuthenticationRequired
  • Added NotificationCompat.BigPictureStyle.setContentDescription
  • Added extension function Map<String, Any?>.toPersistableBundle()
Changed 3
  • Significant clean-up of nullability annotations
  • Adjusted the scroll distance for accessibility action
  • Removed hardcoded language code in Javadocs
View originalRead the notes
How 1.8.0-alpha01 went

1.7.0

Added 2
  • Adds support for interacting with SDK 30 and later's permission revocation and app hibernation features, with backporting down to SDK 23 on supported devices.
  • Adds support for composing menu support in components, see MenuProvider for more information.
View originalRead the notes
How 1.7.0 went

1.7.0-beta02

Changed 1
  • Updated the descriptions of the Unused App Restrictions constants to be clearer for developers
Fixed 1
  • MenuHostHelper now properly removes all LifecycleObservers when a MenuProvider is removed prior to the Lifecycle being DESTROYED
View originalRead the notes
How 1.7.0-beta02 went

1.7.0-beta01

LocationRequestCompat.toProvider can now return null ( Ib5a09)

View originalRead the notes
How 1.7.0-beta01 went

1.7.0-alpha02

Added 13
  • MenuHost interface for components that manage MenuProviders
  • MenuProvider interface that can be used to indicate that a component is supplying menu items
  • MenuHostHelper to simplify implementing MenuHost in a component
  • LocationRequestCompat.toLocationRequest() for converting to the platform class
  • DocumentsContractCompat class for parity with platform APIs
  • NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean) for parity with platform APIs
Changed 2
  • getUnusedAppRestrictionsStatus updated to conform to API guidelines
  • lambdas removed from PackageManagerCompat to avoid a LambdaDesugaring bug
Fixed 1
  • checkSelfPermission from PermissionChecker no longer shows mic/cam indicators
View originalRead the notes
How 1.7.0-alpha02 went

1.6.0

Added 2
  • Add support for resolving theme attributes in nested ColorStateLists.
  • Backport tintable background and check mark for CheckedTextView.
View originalRead the notes
How 1.6.0 went

1.6.0-rc01

Deprecated 1
  • JobIntentService has been deprecated in favor of WorkManager
View originalRead the notes
How 1.6.0-rc01 went

1.6.0-beta02

Changed 2
  • Update BuildCompat to use the current long press timeout on latest platforms
  • Remove use of synchronized from ContextCompat and ContentLoadingProgress methods
View originalRead the notes
How 1.6.0-beta02 went

1.5.0

Added 3
  • Support for new Insets Animation APIs
  • Backported WindowInsetsController and WindowInsetsCompat APIs to control system bar appearance
  • APIs in EditorInfoCompat to supply and retrieve initial surrounding text, allowing IME apps to avoid additional IPC latency
Changed 3
  • Updates to OnReceiveContentListener to support rich content
  • ActivityCompat.recreate() can be safely called from any lifecycle state on any API level
  • Various updates to improve parity with platform SDK APIs
View originalRead the notes
How 1.5.0 went

1.5.0-rc02

Add support for setSystemBarsBehavior on SDK < 30. ( I062c8, b/173203649)

View originalRead the notes
How 1.5.0-rc02 went

1.6.0-alpha03

Added 2
  • Add support for resolving theme attributes in nested ColorStateLists
  • Add support for setSystemBarsBehavior on SDK < 30
Fixed 1
  • Prevent NPE when handling null custom selection action mode callbacks on AppCompat-backed views
View originalRead the notes
How 1.6.0-alpha03 went

1.6.0-alpha02

Added 5
  • Add TelephoneManagerCompat and SubscriptionManagerCompat.
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder.
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation().
  • Add ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid().
  • Backport tintable background and check mark for CheckedTextView.
Removed 1
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat.
Deprecated 2
  • Deprecate the old addCapabilityBinding method on ShortcutInfoCompat.Builder.
  • Deprecate ModeCompat.isNative, which is replaced by DisplayCompat.getMode.
View originalRead the notes
How 1.6.0-alpha02 went

1.6.0-alpha01

Added 2
  • Adds Handler.hasCallbacks() method for parity with platform SDK
  • Adds capability related setter methods to ShortcutInfoCompat.Builder
View originalRead the notes
How 1.6.0-alpha01 went

1.5.0-beta03

Added 1
  • Added ExecutorCompat, which creates an Executor from a Handler
View originalRead the notes
How 1.5.0-beta03 went

1.5.0-beta02

Changed 1
  • NotificationCompat.MessagingStyle.getText() is now annotated as @Nullable instead of @NonNull
Deprecated 1
  • ModeCompat.isNative is deprecated and replaced by DisplayCompat.getMode
View originalRead the notes
How 1.5.0-beta02 went

1.5.0-beta01

Added 3
  • Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener
  • Connection of the new Insets Animation API with the Platform implementation
  • Added the new Insets Animation APIs
Changed 1
  • Follow API guidelines for Bounds Compat/Platform interoperability
View originalRead the notes
How 1.5.0-beta01 went
View all

Discussion