Основной

Ориентируйтесь на новейшие функции платформы и API, одновременно поддерживая более старые устройства.

В этой таблице перечислены все артефакты, входящие в группу androidx.core .

Артефакт Стабильный релиз Предварительная версия для выпуска Бета-версия Альфа-версия
основной 1.19.0 - - -
основная анимация 1.0.0 - - -
core-google-shortcuts 1.1.0 - - 1.2.0-alpha01
основные показатели производительности 1.0.0 - - -
core-remoteviews 1.1.0 - - -
основная роль 1.1.0 - - -
основной заставочный экран 1.2.0 - - -
Последнее обновление этой библиотеки: 3 июня 2026 г.

Объявление зависимостей

Чтобы добавить зависимость от Core, необходимо добавить репозиторий Google Maven в ваш проект. Для получения дополнительной информации ознакомьтесь с информацией в репозитории Google Maven .

Добавьте зависимости для необходимых артефактов в файл build.gradle вашего приложения или модуля:

Классный

dependencies {
    def core_version = "1.19.0"

    // Java language implementation
    implementation "androidx.core:core:$core_version"
    // Kotlin
    implementation "androidx.core:core-ktx:$core_version"

    // To use RoleManagerCompat
    implementation "androidx.core:core-role:1.1.0"

    // To use the Animator APIs
    implementation "androidx.core:core-animation:1.0.0"
    // To test the Animator APIs
    androidTestImplementation "androidx.core:core-animation-testing:1.0.0"

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation "androidx.core:core-performance:1.0.0"

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation "androidx.core:core-google-shortcuts:1.1.0"

    // Optional - to support backwards compatibility of RemoteViews
    implementation "androidx.core:core-remoteviews:1.1.0"

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation "androidx.core:core-splashscreen:1.2.0"
}

Котлин

dependencies {
    val core_version = "1.19.0"

    // Java language implementation
    implementation("androidx.core:core:$core_version")
    // Kotlin
    implementation("androidx.core:core-ktx:$core_version")

    // To use RoleManagerCompat
    implementation("androidx.core:core-role:1.1.0")

    // To use the Animator APIs
    implementation("androidx.core:core-animation:1.0.0")
    // To test the Animator APIs
    androidTestImplementation("androidx.core:core-animation-testing:1.0.0")

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation("androidx.core:core-performance:1.0.0")

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation("androidx.core:core-google-shortcuts:1.1.0")

    // Optional - to support backwards compatibility of RemoteViews
    implementation("androidx.core:core-remoteviews:1.1.0")

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation("androidx.core:core-splashscreen:1.2.0")
}

Для получения дополнительной информации о зависимостях см. раздел «Добавление зависимостей сборки» .

Обратная связь

Ваши отзывы помогают улучшить Jetpack. Сообщите нам, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете проголосовать за существующую проблему, нажав кнопку со звездочкой.

Создать новую задачу

Для получения более подробной информации см. документацию по системе отслеживания ошибок .

Core и Core-ktx

Версия 1.19

Версия 1.19.0

3 июня 2026 г.

Выпущены androidx.core:core:1.19.0 , androidx.core:core-ktx:1.19.0 и androidx.core:core-testing:1.19.0 . Версия 1.19.0 содержит следующие коммиты .

Важные изменения по сравнению с версией 1.18.0:

Версия 1.19.0-rc01

19 мая 2026 г.

Выпущены androidx.core:core:1.19.0-rc01 , androidx.core:core-ktx:1.19.0-rc01 и androidx.core:core-testing:1.19.0-rc01 . Версия 1.19.0-rc01 содержит следующие коммиты .

Версия 1.19.0-alpha02

6 мая 2026 г.

Выпущены androidx.core:core:1.19.0-alpha02 , androidx.core:core-ktx:1.19.0-alpha02 и androidx.core:core-testing:1.19.0-alpha02 . Версия 1.19.0-alpha02 содержит следующие коммиты .

Изменения в API

  • Устаревшая BuildCompat.isAtLeastB* . Вместо этого вызывающие функции должны напрямую проверять SDK_INT(_FULL) ( I09666 , b/505015815 ).

Исправлены ошибки

  • Исправлена ​​ошибка тестирования в CallSessionTest на Android 17 (SDK 37), возникавшая из-за подавления тестов по устранению ошибок, специфичных для данной версии, на версиях платформы, не затронутых этой проблемой. ( I970a7 , b/502732317 )
  • Исправлена ​​ошибка в Android 14-16, из-за которой аудиозвонки могли неожиданно перенаправляться на динамик в начале вызова ( Ic7000 , b/491932378 ).
  • Исправлена ​​ошибка ( IllegalStateException ) в core-telecom , которая могла возникнуть, если платформа Telecom или удаленная служба отправляли события подключения несколько раз во время настройки расширения. ( I00f82 , b/476724351 )
  • Теперь телекоммуникационные компании будут использовать эвристический алгоритм резервного копирования для идентификации носимых устройств при принятии решений о маршрутизации звука в случае отказа в разрешении BLUETOOTH_CONNECT . ( Iec271 , b/499302063 )

Внешний вклад

  • Добавить TextAttributeCompat в качестве обратно совместимого варианта TextAttribute . ( Ib4a46 , b/460301602 )

Версия 1.19.0-alpha01

8 апреля 2026 г.

Выпущены androidx.core:core:1.19.0-alpha01 , androidx.core:core-ktx:1.19.0-alpha01 и androidx.core:core-testing:1.19.0-alpha01 . Версия 1.19.0-alpha01 содержит следующие коммиты .

Важные изменения

  • API-интерфейсы core-ktx были интегрированы в основную библиотеку. Все расширения Kotlin теперь являются частью основного артефакта ядра. core-ktx теперь представляет собой пустой артефакт для обеспечения совместимости. ( I6adbe )

Изменения в API

  • Добавлены новые API для получения и установки математической информации ( Ib5ad3 , b/394599312 )
  • Добавьте настройки вариантов, чтобы персонализировать загружаемые шрифты с переменными значениями ( Ifdc93 , b/223262013 ).
  • Добавлена unwrap() в AccessibilityNodeInfoCompat.SelectionCompat для получения базового объекта AccessibilityNodeInfo.Selection платформы. ( I3078a , b/479902413 )
  • Добавлены getView() и getVirtualDescendantId() в AccessibilityNodeInfoCompat.SelectionPositionCompat . ( Ib0c48 , b/362783892 )
  • Исправлено определение ACTION_ARGUMENT_SELECTION_PARCELABLE в AndroidX, чтобы оно соответствовало определению в SDK фреймворка и содержало один литерал действия. ( Ib40af , b/479852824 )
  • Добавить константу ключа EXTRA_PREFER_SMALL_ICON в NotificationCompat ( I713c9 , b/469460575 , b/478869887 )
  • Добавлена ​​поддержка MetricStyle , семантического стиля и связанных API в NotificationCompat . ( I6c194 , b/445685015 , b/446155056 , b/446157356 , b/467924497 )
  • Добавьте аннотацию `@ChecksSdkIntAtLeast` к ` BuildCompat.isAtLeastB_1 ( I18a28 , b/462789273 ).

Исправлены ошибки

  • Исправлено поведение метода equals() в AccessibilityNodeInfoCompat.SelectionPositionCompat и AccessibilityNodeInfoCompat.SelectionCompat для корректной оценки равенства. ( Icbe1d , b/495537199 )

Версия 1.18

Версия 1.18.0

11 марта 2026 г.

Выпущены androidx.core:core:1.18.0 , androidx.core:core-ktx:1.18.0 и androidx.core:core-testing:1.18.0 . Версия 1.18.0 содержит следующие коммиты .

Важные изменения по сравнению с версией 1.17.0:

  • compileSdk перешёл с API 36 на API 36.1.
  • Добавлен класс NotificationCompat.ProjectedExtender для поддержки уведомлений на проекционных устройствах.
  • Добавлена ​​функция PictureInPictureUiStateCompat для обработки различий в API для функции «картинка в картинке».
  • Добавлена AccessibilityNodeInfoCompat.SelectionCompat для обработки выбора специальных возможностей на устройствах, работающих под управлением API 36.1.

Версия 1.18.0-rc01

11 февраля 2026 г.

Выпущены androidx.core:core:1.18.0-rc01 , androidx.core:core-ktx:1.18.0-rc01 и androidx.core:core-testing:1.18.0-rc01 . Версия 1.18.0-rc01 содержит следующие коммиты .

Изменения в API

  • Удалите API onViewBoundsChanged ( IE56d0 , b/475328144 )
  • Добавьте классы BasicPictureInPicture и VideoPlaybackPictureInPicture для типичного использования режима «картинка в картинке» ( I7f989 , b/475328144 ).

Исправлены ошибки

  • Добавьте класс ViewBoundsTracker для непрерывного отслеживания границ представления при установке sourceRectHint в PictureInPictureParamsCompat ( Id203a , b/474454111 )

Версия 1.18.0-alpha01

14 января 2026 г.

Выпущены androidx.core:core:1.18.0-alpha01 , androidx.core:core-ktx:1.18.0-alpha01 и androidx.core:core-testing:1.18.0-alpha01 . Версия 1.18.0-alpha01 содержит следующие коммиты .

Изменения в API

  • Добавить поддержку getBoundingRects в WindowInsetsCompat ( I24f18 )
  • onCanUserUpdateSilence теперь является необязательным ( Ibb0c2 ).
  • Расширить интерфейс PictureInPictureProvider , включив в него также OnUserLeaveHintProvider ( I3125b , b/462178249 )
  • Устаревшая PermissionsDelegateCompat.onActivityResult , которая больше не вызывается функцией FragmentActivity . ( I59197 , b/460267600 )
  • Вынесите функции "Картинка в картинке" из ComponentActivity в отдельный интерфейс PictureInPictureProvider ( I068a3 , b/462178249 ).
  • Добавить API для информирования поверхностей о том, следует ли отображать микрофон или нет ( I55acf , b/445237449 )
  • Добавить API DisplayShapeCompat ( I490d4 , b/410851992 )
  • Введена функция PictureInPictureParamsCompat для обертывания класса android.app.PictureInPictureParams фреймворка. ( I8af9e , b/458803858 )
  • Добавлена ​​поддержка IntentSender в androidx-main am: 127eef7acc am: b4b1111b77 ( I5b30b )
  • Добавить поддержку IntentSender в androidx-main am: 127eef7acc ( I849b9 )
  • Добавить поддержку IntentSender в androidx-main
  • Добавлена ​​поддержка IntentSender ( Ia998d , b/445163724 )
  • Добавлены новые API для получения и установки выбранных элементов ( I05ec4 , b/362784540 )
  • Добавлена ​​известная проблема 452390376: Функция автоматического усиления экспозиции при слабом освещении (LLB) не может быть включена для потокового воспроизведения, например, VIDEO_CALL, на устройствах Pixel 10. ( Iba480 , b/452390376 )
  • Добавлены новые API для получения и установки направления сортировки ( I658de , b/394670064 )
  • В CallControlScope добавлены новые API для управления видеозвонками: getVideoState() для отслеживания состояния аудио/видео и requestVideoState(int) для запроса изменений состояния видео. ( I51065 , b/333074774 )
  • Добавить отсутствующие константы состояния проверки AccessibilityNodeInfoCompat . ( I40b4c )
  • Исправлена ​​ошибка, из-за которой отсутствовало расширенное значение intdef AccessibilityNodeInfoCompat . ( I75106 , b/435252704 )
  • BuildCompat.isAtLeastB1 : удалить @RequiresApi ( I42fe2 , b/430210979 )
  • Исправлена ​​ошибка, из-за которой отсутствовали развернутые константы состояния AccessibilityNodeInfoCompat . ( I1b1cd , b/435252704 )
  • CallsManager.registerAppWithTelecom теперь добавлен новый необязательный параметр backwardsCompatSdkLevel . Это позволяет разработчикам контролировать, какая базовая реализация платформы будет использоваться (устаревший ConnectionService или современные транзакционные API). Значение по умолчанию равно 33, что гарантирует использование современных API по умолчанию в SDK 34 и выше, но его можно установить выше, чтобы принудительно использовать устаревший путь в определенных диапазонах SDK. ( Ib9571 , b/444266242 )
  • Добавлена CallAttributesCompat.isLogExcluded , позволяющая указывать, следует ли исключать вызов из журнала вызовов ( Ia2a3a , b/447166999 ).
  • Добавить недостающие типы изменения контента. ( I52a3c )
  • Добавьте BuildCompat.isAtLeastB1 для проверки доступности API, добавленного в Baklava, минорный релиз 1 (SDK 36.1). ( I78513 , b/430210979 )
  • Представляем новый API RangingResultFailure для сообщения о сбое сеанса измерения расстояния и его причине. Для сообщения о сбое инициализации измерения расстояния также будет использоваться обратный вызов RangingResultFailure ранее сообщавшийся через RangingResultPeerDisconnected
  • Представляем новый API RangingResultFailure для сообщения о сбое сеанса измерения расстояния и его причине. Сбой инициализации измерения расстояния также будет использовать обратный вызов RangingResultFailure о котором ранее сообщалось через RangingResultPeerDisconnected ( If3715 ).
  • Функция расширения bundleOf(...) устарела, поскольку не обеспечивает типобезопасность на этапе компиляции и может привести к сбоям во время выполнения. Вместо этого используйте методы Bundle напрямую. ( I48af2 , b/434825212 )

Исправлены ошибки

  • Добавить релиз Pixel Dec в список исправленных отпечатков сборок в KI_398591036 ( I65f51 , b/398591036 )
  • Добавьте релиз Pixel Nov в список исправленных отпечатков сборок в KI_398591036 ( I60c10 , b/398591036 ).
  • Добавить релиз Pixel Oct в список исправленных отпечатков сборок в KI_398591036 ( I6438c , b/398591036 )
  • Удалены ссылки на класс FingerprintManager из FingerprintManagerCompat и все методы обновлены таким образом, чтобы возвращать false или ничего не делать. ( I0360b , b/330524057 )
  • Исправьте ссылки на код в документации для KI_452390376 ( I9a554 , b/454020407 ).
  • Отметьте конкретные сборки пикселей как исправленные. ( I4c751 , b/398591036 )
  • Добавлена ​​поддержка указания списка вручную протестированных отпечатков сборки для KnownIssue . ( Iea9f9 , b/453691379 )

Версия 1.17

Версия 1.17.0

13 августа 2025 г.

Выпущены androidx.core:core:1.17.0 , androidx.core:core-ktx:1.17.0 и androidx.core:core-testing:1.17.0 . Версия 1.17.0 содержит следующие коммиты .

Важные изменения с версии 1.16.0

  • Основная библиотека обновлена ​​для поддержки языка Kotlin 2.0 и требует использования плагина Kotlin Gradle версии 2.0.0 или новее.

Версия 1.17.0-rc01

30 июля 2025 г.

Выпущены androidx.core:core:1.17.0-rc01 , androidx.core:core-ktx:1.17.0-rc01 и androidx.core:core-testing:1.17.0-rc01 . Версия 1.17.0-rc01 не содержит изменений по сравнению с предыдущим бета-релизом.

Версия 1.17.0-beta01

2 июля 2025 г.

Выпущены androidx.core:core:1.17.0-beta01 , androidx.core:core-ktx:1.17.0-beta01 и androidx.core:core-testing:1.17.0-beta01 . Версия 1.17.0-beta01 не содержит изменений по сравнению с предыдущей альфа-версией.

Версия 1.17.0-alpha01

18 июня 2025 г.

Выпущены androidx.core:core:1.17.0-alpha01 , androidx.core:core-ktx:1.17.0-alpha01 и androidx.core:core-testing:1.17.0-alpha01 . Версия 1.17.0-alpha01 содержит следующие коммиты .

Новые функции

  • Основная библиотека обновлена ​​для поддержки языка Kotlin 2.0 и требует использования плагина Kotlin Gradle версии 2.0.0 или новее. ( Idb6b5 )

Изменения в API

Версия 1.16

Версия 1.16.0

9 апреля 2025 г.

Выпущены androidx.core:core:1.16.0 , androidx.core:core-ktx:1.16.0 и androidx.core:core-testing:1.16.0 . Версия 1.16.0 содержит следующие коммиты .

Важные изменения с версии 1.15.0

  • В этой библиотеке теперь используются аннотации JSpecify, определяющие наличие нулевого значения , которые относятся к использованию типов. Разработчикам Kotlin следует использовать следующий аргумент компилятора для обеспечения корректного использования: -Xjspecify-annotations=strict (это значение по умолчанию, начиная с версии 2.1.0 компилятора Kotlin). ( Iaf3e1 , b/326456246 )

Версия 1.16.0-rc01

26 марта 2025 г.

Выпущены androidx.core:core:1.16.0-rc01 , androidx.core:core-ktx:1.16.0-rc01 и androidx.core:core-testing:1.16.0-rc01 . Версия 1.16.0-rc01 не содержит изменений по сравнению с предыдущим бета-релизом.

Версия 1.16.0-beta01

12 марта 2025 г.

Выпущены androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 и androidx.core:core-testing:1.16.0-beta01 . Версия 1.16.0-beta01 содержит следующие коммиты .

Изменения в API

  • Уточнение API защиты вставок ( I7050d )
  • Добавляет новый ключ для получения границ символов в координатах окна без увеличения. ( If7a06 )
  • Добавлено новое логическое свойство, указывающее, является ли поле AccesibilityNodeInfo обязательным. ( I4fd2d )
  • Перенос функции View.transformMatrixToGlobal в ViewCompat ( If17e2 )

Версия 1.16.0-alpha02

29 января 2025 г.

Выпущены androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 и androidx.core:core-testing:1.16.0-alpha02 . Версия 1.16.0-alpha02 содержит следующие коммиты .

Изменения в API

  • Добавьте BuildCompat.isAtLeastB для проверки доступности API, добавленного в Baklava ( I0f89c ).
  • Добавьте экспериментальный API для получения списка встроенных дисплеев. ( Idda4d )
  • Добавить набор API, связанных с обеспечением контрастности системной панели ( I9849c ).

Исправлены ошибки

  • Исправлена ​​ошибка, из-за которой getLaunchDisplayId() возвращала некорректное значение по умолчанию, равное 0, в SDK < 26. ( Icd679 )
  • В этой библиотеке теперь используются аннотации JSpecify, определяющие наличие нулевого значения , которые относятся к использованию типов. Разработчикам Kotlin следует использовать следующий аргумент компилятора для обеспечения корректного использования: -Xjspecify-annotations=strict (это значение по умолчанию, начиная с версии 2.1.0 компилятора Kotlin). ( Iaf3e1 , b/326456246 )

Версия 1.16.0-alpha01

11 декабря 2024 г.

Выпущены androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 и androidx.core:core-testing:1.16.0-alpha01 . Версия 1.16.0-alpha01 содержит следующие коммиты .

Изменения в API

  • Добавлен setLaunchDisplayId в ActivityOptionsCompat . ( I39e77 , b/379669743 )
  • Добавлен API совместимости для SYSTEM_OVERLAYS . ( Ibd1fd , b/287470173 )
  • Добавлена OutcomeReceiverCompat , версия Android- OutcomeReceiver доступная на всех уровнях API. ( Ib8265 , b/380060342 )
  • Добавлен класс совместимости для android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Добавлена ViewCompat.addViewOverlay(View) в качестве альтернативы View.getOverlay().add(View) . Вариант ViewCompat исправляет проблему, из-за которой владельцы, такие как LifecycleOwner и ViewModelStoreOwner не могли быть определены между перекрываемым представлением и владельцем перекрываемого представления. ( I81413 )
  • Вводится понятие возможности наличия View непересекающегося родительского элемента. Непересекающийся родительский элемент представления — это другое представление, которое фактически является родительским элементом другого представления, но не задается с помощью свойства View.parent . См. документацию для получения дополнительной информации. ( Ib2950 )
  • Добавлен новый API ViewGroupCompat#installCompatInsetsDispatch для разработчиков, позволяющий исправить проблему с отправкой вставок, существовавшую до API 30. ( I11159 )
  • Добавлено целочисленное значение FontsContractCompat.TypefaceStyle для аннотирования стилей Typeface в FontsContractCompat . ( Ib3e5b )

Внешний вклад

  • Устаревшая BuildCompat.isAtLeastV . Вместо этого вызывающим сторонам следует проверять SDK_INT напрямую по значению 35. Спасибо Джейку Уортону! ( I294d1 )
  • Добавлен флаг изменяемости в TaskStackBuilder . Спасибо Камалу Фараджу! ( Ife0ec , b/371534781 )

Версия 1.15

Версия 1.15.0

30 октября 2024 г.

Выпущены androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 и androidx.core:core-testing:1.15.0 . Версия 1.15.0 содержит следующие коммиты .

Важные изменения с версии 1.14.0

  • Удалено ручное описание доступа к новым API платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или более поздней версии (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или более поздней версии (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( Ieb9ae , b/345472586 )
  • Внесены различные обновления в классы совместимости для обеспечения паритета с SDK Android 15.

Версия 1.15.0-rc01

16 октября 2024 г.

Выпущены androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 и androidx.core:core-testing:1.15.0-rc01 . Версия 1.15.0-rc01 не содержит изменений по сравнению с предыдущим релизом.

Версия 1.15.0-beta01

2 октября 2024 г.

Выпущены androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 и androidx.core:core-testing:1.15.0-beta01 . Версия 1.15.0-beta01 содержит следующие коммиты .

Изменения в API

  • Добавлены поля itemCount и importantForAccessibilityItemCount в CollectionInfoCompat . ( Ibaf34 )

Исправлены ошибки

  • Исправлены ошибки в документации в androidx.core.os.Profiling ( I2542f )

Версия 1.15.0-alpha02

21 августа 2024 г.

Выпущены androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 и androidx.core:core-testing:1.15.0-alpha02 . Версия 1.15.0-alpha02 содержит следующие коммиты .

Важные изменения

  • Удалено ручное описание доступа к новым API платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или более поздней версии (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или более поздней версии (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( Ieb9ae , b/345472586 )

Изменения в API

  • Добавлен XML-атрибут fallbackQuery к загружаемым определениям шрифтов, позволяющий использовать резервный вариант на уровне символов при загрузке шрифтов. ( Idd544 )
  • Добавляет вспомогательные API для использования ProfilingManager ( If2292 )
  • Добавить метод совместимости для ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 )
  • Добавлена ​​функция DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 )
  • Отменяет устаревание метода ParcelCompat.writeBoolean и делегирует его использование API платформы на уровне API 29 и выше. ( I9d243 , b/313834577 )
  • Создайте FontsContractCompat.requestFonts , который принимает исполнителей ( I03016 , b/302377512 ).
  • Отменяет устаревание LocationCompat.isMock и передает управление API платформы на уровне API 31 и выше. ( I55940 , b/313834577 )
  • Теперь уведомления можно помечать как голосовую почту. ( I068ab )

Версия 1.15.0-alpha01

12 июня 2024 г.

Выпущены androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 и androidx.core:core-testing:1.15.0-alpha01 . Эта версия разрабатывается во внутренней ветке и совместима с Android 15 Beta 3 ( android-35 ).

Изменения в API

  • Внесены различные обновления в классы совместимости для обеспечения паритета с SDK Android 15.

Версия 1.14

Версия 1.14.0-alpha01

1 мая 2024 г.

Выпущены androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 и androidx.core:core-testing:1.14.0-alpha01 . Версия 1.14.0-alpha01 содержит следующие коммиты .

Новые функции

  • Установите значение 21 в качестве значения minSdkVersion по умолчанию для библиотек androidx ( I6ec7f ).

Изменения в API

  • Дополнительные устаревшие методы совместимости следует считать устаревшими. ( IE4470 , b/313834577 )
  • Устаревшие методы совместимости. ( I01d90 , b/313834577 )
  • isAtLeastV() обновлена ​​и теперь возвращает true для финальной версии SDK V. ( I6339a )

Версия 1.13

Версия 1.13.1

1 мая 2024 г.

Выпущены androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 и androidx.core:core-testing:1.13.1 . Версия 1.13.1 содержит следующие коммиты .

Исправлены ошибки

  • Исправлена ​​ошибка, из-за которой при отображении панели инструментов рукописного ввода касание пальцем не переключалось на обычную клавиатуру ( I7f843 , b/332769437 ).

Версия 1.13.0

17 апреля 2024 г.

Выпущены androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 и androidx.core:core-testing:1.13.0 . Версия 1.13.0 содержит следующие коммиты .

Важные изменения с версии 1.12.0

  • minSdkVersion библиотеки повышена до 19 Многие API совместимости помечены как устаревшие, поскольку они были необходимы только до уровня API 19.
  • Некоторые классы были переписаны на Kotlin для обеспечения лучшей совместимости с потребителями Kotlin, сохраняя при этом совместимость с Java.
  • Удалён FingerprintManagerCompat , который начиная с Android V ничего не делает и не должен использоваться на более ранних платформах. Клиентам следует немедленно перейти на BiometricPrompt .
  • Добавлен PathParser , который может создавать экземпляр Path из строковых путей SVG.

Версия 1.13.0-rc01

3 апреля 2024 г.

Выпущены androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 и androidx.core:core-testing:1.13.0-rc01 . Версия 1.13.0-rc01 содержит следующие коммиты .

Исправлены ошибки

  • Исправлена ​​ошибка восстановления исходного внешнего вида системной панели на API 30+ ( I18596 , b/219993701 )

Версия 1.13.0-beta01

20 марта 2024 г.

Выпущены androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 и androidx.core:core-testing:1.13.0-beta01 . Версия 1.13.0-beta01 содержит следующие коммиты .

Изменения в API

  • PathParser теперь имеет final , interpolatePathDataNodes теперь выбрасывает исключение для несовместимых аргументов вместо возврата boolean , а nodesToPath теперь принадлежит PathParser , а не PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat был временно удалён перед его удалением из SDK платформы Android V. В ближайшем будущем его реализация будет заменена на ничего не делающий объект, и разработчикам следует немедленно отказаться от использования этого класса. ( I7ca1b )
  • Интерфейс Pool и его подклассы SimplePool и SynchronizedPool теперь написаны на Kotlin. Обобщенный тип объектов, хранящихся в Pool, теперь должен быть ненулевым. ( I08afe )

Внешний вклад

  • Функция GestureDetectorCompat теперь устарела, поскольку гарантируется наличие GestureDetector на платформе при минимальной версии SDK библиотеки. Спасибо Джейку Уортону за вклад. ( Icc4cd )
  • Параметр MarginLayoutParamsCompat теперь устарел, поскольку гарантированная доступность MarginLayoutParams на платформе обеспечивается минимальной версией SDK библиотеки. Спасибо Джейку Уортону за вклад. ( I4e0c3 )

Версия 1.13.0-alpha05

7 февраля 2024 г.

Выпущены androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 и androidx.core:core-testing:1.13.0-alpha05 . Версия 1.13.0-alpha05 содержит следующие коммиты.

Внешний вклад

  • Благодарим Мэтью Завислака за обновление документации ContextCompat.registerReceiver для обеспечения ее корректности. ( 8fd733 )

Версия 1.13.0-alpha04

24 января 2024 г.

Выпущены androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 и androidx.core:core-testing:1.13.0-alpha04 . Версия 1.13.0-alpha04 содержит следующие коммиты.

Новые функции

  • Добавлен API AlarmManagerCompat.canScheduleExactAlarms ( I62e95 , b/315440583 )

Преобразования в Kotlin

  • Класс androidx.core.util.Consumer был переписан на Kotlin и теперь требует, чтобы обобщенный тип T соответствовал возможности значения null, которое получает метод accept() . ( IE21E0 )
  • androidx.core.util.Supplier был преобразован в Kotlin, что гарантирует соответствие возможности получения значения null для типа, возвращаемого методом get() возможности получения значения null для обобщенного типа. ( I21e9c )
  • androidx.core.util.Function была переписана на Kotlin, что гарантирует соответствие допустимости значений null для входных и выходных данных функции используемым обобщенным типам. ( I09dd7 )

Внешний вклад

  • Благодарим Камала Фараджа за добавление API AlarmManagerCompat.canScheduleExactAlarms ( I62e95 , b/315440583 ).

Версия 1.13.0-alpha03

10 января 2024 г.

Выпущены androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 и androidx.core:core-testing:1.13.0-alpha03 . Версия 1.13.0-alpha03 содержит следующие коммиты.

Изменения в API

  • ListViewCompat устарел, используйте ListView напрямую. ( Iacce6 , b/318353933 )
  • Устаревшие API-функции ViewCompat.LAYOUT_DIRECTION_ . ( I51710 , b/317055535 )
  • Устаревшие методы совместимости в ViewCompat . ( I0bfc2 , b/313834577 )

Версия 1.13.0-alpha02

29 ноября 2023 г.

Выпущены androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 и androidx.core:core-testing:1.13.0-alpha02 . Версия 1.13.0-alpha02 содержит следующие коммиты.

Новые функции

  • Добавляет интерфейс OnUserLeaveHintProvider , позволяющий любому компоненту получать события onUserLeaveHint , необходимые для реализации режима «картинка в картинке». Это реализовано компонентом ComponentActivity в Activity 1.9.0-alpha01 . ( I54892 )

Изменения в API

  • Устаревшая функция androidx.core.os.CancellationSignal . Следует заменить её на предоставляемую платформой функцию android.os.CancellationSignal . ( Id45f6 , b/309499026 , b/309054079 )
  • Интерфейсы OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider и OnTrimMemoryProvider были преобразованы в Kotlin, чтобы гарантировать, что универсальные параметры объекта Consumer , которые принимают их методы-слушатели, имеют правильную возможность присвоения значения null (все они не являются null). ( Ib6237 )
  • Классы MultiWindowModeChangedInfo и PictureInPictureModeChangedInfo , отправляемые Consumer и добавленные в соответствующие интерфейсы поставщика, теперь написаны на Kotlin. ( IE08E2 )

Обновление зависимостей

Версия 1.13.0-alpha01

18 октября 2023 г.

Выпущены androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 и androidx.core:core-testing:1.13.0-alpha01 . Версия 1.13.0-alpha01 содержит следующие коммиты.

Изменения в API

  • Сделайте PathParser публичным. Класс сможет создавать экземпляр Path из строковых путей SVG. ( Ic7af2 , b/302376846 )
  • Добавлен метод совместимости для Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Сервис NotificationCompatSideChannelService помечен как устаревший. ( I18fd9 )
  • Новый API для дифференциального моделирования движения. ( I46b0d , Ia9f68 )
  • Дополнительные совместимые API для VelocityTracker для отслеживания SDK платформы. ( I32753 )

Исправлены ошибки

  • Переопределите методы equals и hashCode в Person . ( I610a5 )

Версия 1.12

Версия 1.12.0

6 сентября 2023 г.

Выпущены androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 и androidx.core:core-testing:1.12.0 . Версия 1.12.0 содержит эти коммиты.

Важные изменения с версии 1.11.0

  • Добавлено множество совместимых методов для обеспечения совместимости с SDK 34, включая TextView, AccessibilityNodeInfo и т.д.
  • Новые API-интерфейсы LocalePreferences помогут разработчикам легко получать доступ к данным о локали или пользовательским настройкам локали.
  • Устаревший app.BundleCompat заменен на os.BundleCompat .
  • Устаревшая BuildCompat.isAtLeastU() . Используйте SDK_INT >= 34 вместо неё.

Версия 1.12.0-rc01

9 августа 2023 г.

Выпущены androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 и androidx.core:core-testing:1.12.0-rc01 без существенных изменений. Версия 1.12.0-rc01 содержит следующие коммиты.

Версия 1.12.0-beta01

26 июля 2023 г.

Выпущены androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 и androidx.core:core-testing:1.12.0-beta01 . Версия 1.12.0-beta01 содержит следующие коммиты.

Изменения в API

  • Добавлена setLineHeight(unit, lineHeight) в классы совместимости TextView ( Ia9fa9 )
  • Добавлен TypedValueCompat.getUnitFromComplexDimension() из Android 14 ( I958e8 ).
  • Добавлена setLineHeight(unit, lineHeight) в классы совместимости TextView ( Ib2ee1 ).
  • Обратная совместимость различных API для обеспечения доступности ( Ic65ba )
  • Backport API 34 Методы AccessibilityNodeInfo ( I44182 )
  • Стабильная версия SDK для выпускников вышла из экспериментальной ( Ia9b35 ).
  • Обратная совместимость API AccessiiblityWindowInfo 34 ( I96a5d )
  • Устаревшая BuildCompat.isAtLeastU() . Используйте SDK_INT >= 34 вместо неё. ( I4f8e7 , b/289269026 )
  • Удалены случаи использования экспериментального API isAtLeastU() ( Ie9117 , b/289269026 )
  • Перенесено использование BuildCompat на Kotlin для улучшения работы. Устаревший тег ( I56775 , b/289269026 )
  • Добавлена setLineHeight(unit, lineHeight) в классы совместимости TextView ( I15716 )
  • Новое свойство совместимости accessibilityDataSensitive . ( I0c6e0 )
  • PendingIntentCompat.getActivity и getService могут возвращать null, если указан FLAG_NO_CREATE . ( Iffdf0 , b/289696515 )
  • Обновлены файлы API для аннотирования подавления совместимости ( I8e87a , b/287516207 )
  • Добавлен метод PendingIntentCompat.send() ( Iaf707 )
  • Добавляет совместимые версии функций Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() и Location.removeBearingAccuracy() . ( I5b640 )

Исправлены ошибки

  • Сделать представление важным для обеспечения доступности, если у этого представления есть делегат доступности. ( If2b54 )

Версия 1.12.0-alpha05

7 июня 2023 г.

Выпущены androidx.core:core:1.12.0-alpha05 , androidx.core:core-ktx:1.12.0-alpha05 и androidx.core:core-testing:1.12.0-alpha05 . Эта версия разрабатывается во внутренней ветке.

Исправлены ошибки

  • Обновлена ​​документация по классам ColorUtils для генерации цвета из параметров оттенка, насыщенности и тона Material 3 (M3HCT). ( I32979 , I21c8c )
  • Исправлена ​​ошибка устаревания метода replaceWith для android.os.Trace ( I730f9 )

Версия 1.12.0-alpha04

10 мая 2023 г.

Выпущены androidx.core:core:1.12.0-alpha04 , androidx.core:core-ktx:1.12.0-alpha04 и androidx.core:core-testing:1.12.0-alpha04 . Это было выпущено из внутренней ветки.

Версия 1.12.0-alpha03

12 апреля 2023 г.

Выпущены androidx.core:core:1.12.0-alpha03 , androidx.core:core-ktx:1.12.0-alpha03 и androidx.core:core-testing:1.12.0-alpha03 . Это было выпущено из внутренней ветки.

Изменения в API

  • Unhides NotificationCompat.TvExtender (aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a)
  • Добавлены общедоступные методы для доступа к параметрам M3HCT и преобразования значений M3HCT в ARGB (aosp/06810598aa94bee731bbe0d277933b8b9614934e)
  • Добавлена NotificationManager.getCurrentInterruptionFilter (aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710)
  • Добавлен getCurrentInterruptionFilter в NotifManagerCompat (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • Устаревший app.BundleCompat заменен на os.BundleCompat (aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40)
  • Добавлен TestConsumer , позволяющий разработчикам записывать значения в тесте. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf)
  • Добавлен TestConsumer , позволяющий разработчикам записывать значения в тесте. (aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7)

Исправлены ошибки

  • Исправлена ​​ошибка, из-за которой unregisterGnssMeasurementsCallback() некорректно работала в версиях Android ниже R. (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)

Версия 1.12.0-alpha01

8 марта 2023 г.

Выпущены версии androidx.core:core:1.12.0-alpha01 и androidx.core:core-ktx:1.12.0-alpha01 . Версия 1.12.0-alpha01 содержит следующие коммиты.

Новые функции

  • Предоставляет API, помогающие разработчикам легко получать доступ к пользовательским настройкам или данным о локали в ICU. Доступные данные о локали включают часовой цикл, тип календаря, единицу измерения температуры и первый день недели.

Изменения в API

  • Добавлен новый API LocalePreferences , который поможет разработчикам легко получать доступ к данным о локали или пользовательским настройкам локали.

Версия 1.11

Версия 1.11.0-beta02

7 июня 2023 г.

Выпущены androidx.core:core:1.11.0-beta02 , androidx.core:core-ktx:1.11.0-beta02 и androidx.core:core-testing:1.11.0-beta02 . Версия 1.11.0-beta02 содержит следующие коммиты.

Исправлены ошибки

  • Обновлена ​​документация по классам ColorUtils для генерации цвета из параметров оттенка, насыщенности и тона Material 3 (M3HCT). ( I32979 , I21c8c )
  • Исправлена ​​ошибка устаревания метода replaceWith для android.os.Trace ( I730f9 )

Версия 1.11.0-beta01

24 мая 2023 г.

Выпущены androidx.core:core:1.11.0-beta01 , androidx.core:core-ktx:1.11.0-beta01 и androidx.core:core-testing:1.11.0-beta01 . Версия 1.11.0-beta01 содержит следующие коммиты.

Изменения в API

  • Добавить поддержку ViewCompat в метод performHapticFeedback ( Ib02c6 )
  • Замените getDisplay на #getDisplayOrDefault ( I96ff9 )
  • Добавить ContextCompat#getDisplay(Context) ( I7011f , b/178183326 )
  • Добавьте ContextCompat#getContextForLanguage(Context) для получения локалей для каждого приложения в контексте, отличном от Activity ( I58e75 , b/243457462 )

Исправлены ошибки

  • Уточните документацию CollectionInfoCompat , особенно isHierarchical ( I14f6c ).

Версия 1.11.0-alpha04

10 мая 2023 г.

Выпущены androidx.core:core:1.11.0-alpha04 , androidx.core:core-ktx:1.11.0-alpha04 и androidx.core:core-testing:1.11.0-alpha04 . Версия 1.11.0-alpha04 содержит следующие коммиты.

Изменения в API

  • Добавлена LinkMovementMethodCompat , исправляющая обработку касаний при создании ссылок ( Ia632c ).
  • PendingIntent.getBroadcast() теперь корректно помечен @Nullable ( Ifff96 , b/277630907 )

Исправлены ошибки

  • Исправлена ​​утечка контекста в DisplayManagerCompat ( I3409b , b/279625765 )
  • Added a SoftwareKeyboardControllerCompat to provide direct methods to show and hide the software keyboard given a View. This backports workarounds for known issues when using the WindowInsetsController APIs on some API levels, and is the extraction of the backing implementation for WindowInsetsControllerCompat.show and hide for the IME inset types. ( Idd0a3 )

Version 1.11.0-alpha03

April 19, 2023

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

API Changes

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

Version 1.11.0-alpha02

5 апреля 2023 г.

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

API Changes

  • Adds getCurrentInterruptionFilter to NotifManagerCompat ( I8ec95 , b/243183646 )
  • Deprecate app.BundleCompat in favor of os.BundleCompat ( Idc3a2 , b/274577000 )
  • Add TestConsumer so developers can record values in a test. ( I937c1 )

Исправлены ошибки

  • Fix a bug where unregisterGnssMeasurementsCallback() does not work properly below Android R. ( Id1999 )

Version 1.11.0-alpha01

22 марта 2023 г.

androidx.core:core:1.11.0-alpha01 and androidx.core:core-ktx:1.11.0-alpha01 are released. Version 1.11.0-alpha01 contains these commits.

API Changes

  • In Android U, the ContentProvider API of getType requires that the caller hold the correct read permission. FileProvider now provides a default getTypeAnonymous implementation, which is the unrestricted version. ( I4773f )
  • Added compat classes for content capture APIs ( I09366 )
  • Added NotifCompat.Builder.setLargeIcon(Icon) ( Ic0a5b )
  • Adds a batch notification API to NotificationManagerCompat . Users are encouraged to use this API when posting multiple notifications. ( I2cd7f )
  • Added registerGnssMeasurementsCallback() with Executor support on pre-R platforms ( I579f8 )

Version 1.10

Version 1.10.1

10 мая 2023 г.

androidx.core:core:1.10.1 and androidx.core:core-ktx:1.10.1 are released. Version 1.10.1 contains these commits.

External Contribution

  • Fix BadParcelableException being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio

Version 1.10.0

5 апреля 2023 г.

androidx.core:core:1.10.0 and androidx.core:core-ktx:1.10.0 are released. Version 1.10.0 contains these commits.

Important changes since 1.9.0

  • Deprecated recycling of accessibility objects. We've found performance changes to be negligible for even the oldest supported OS versions. ( I0a961 )
  • Added BuildCompat constants for SDK extension versions. ( I6084c )
  • See release notes for pre-release versions of 1.10.0 for new APIs and bug fixes.

Version 1.10.0-rc01

8 марта 2023 г.

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.

Version 1.10.0-beta01

22 февраля 2023 г.

androidx.core:core:1.10.0-beta01 and androidx.core:core-ktx:1.10.0-beta01 are released. Version 1.10.0-beta01 contains these commits.

API Changes

  • The AccessibilityNodeInfoCompat APIs of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration. ( f46689 )
  • Added NotificationCompat.bigLargeIcon(Icon) ( I60855 )

Исправлены ошибки

  • Fix docs regarding default value of NotificationCompat.Builder.setShowWhen() ( ba52a2 )
  • Fix typo in AccelerateInterpolator / DecelerateInterpolator docs ( 2173505 )
  • Fix typo in ShortcutInfoCompat docs ( 44075f )
  • Fix up, down, spacebar and key variation keyboard actions with NestedScrollView and CoordinatorLayout ( bdd72e )

Version 1.10.0-alpha02

25 января 2023 г.

androidx.core:core:1.10.0-alpha02 and androidx.core:core-ktx:1.10.0-alpha02 are released. Version 1.10.0-alpha02 contains these commits.

API Changes

  • Added BuildCompat constant for AD_SERVICES extension version ( I51d98 )
  • Add BEHAVIOR_DEFAULT to WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE and BEHAVIOR_SHOW_BARS_BY_TOUCH are deprecated. ( I17b61 )

Version 1.10.0-alpha01

January 11, 2023

androidx.core:core:1.10.0-alpha01 and androidx.core:core-ktx:1.10.0-alpha01 are released. Version 1.10.0-alpha01 contains these commits.

API Changes

  • Adds CallStyle to NotificationCompat ( Id9a53 , b/199294989 )
  • Added BuildCompat constants for SDK extension versions ( I6084c )
  • Add APIs for setting initial focus on accessibility node. ( Id199a )
  • Add new APIs for content change rate limiting ( If4ea0 )
  • Adds compatibility methods for new APIs introduced in Android 13 for Parcels, Bundles, and Intents. Some ParcelCompat method signatures have been updated, and may require a source change on upgrade to confirm to the new signature. ( I57e94 , b/242048899 )
  • Deprecating recycling of accessibility objects. We've found performance changes to be negligible in even the oldest supported versions. ( I0a961 )
  • Updated return type nullability of deprecated-hidden functions ( Ibf7b0 )
  • Added times/div operator overloads for Point and PointF ( I8e557 , b/261574780 )

Исправлены ошибки

  • Add to AccessibilityEvent#TYPE_ANNOUNCEMENT with suggestion to avoid using it. ( I818bf )
  • Specify lists should have 1 row or 1 column for accessibility ( Ia1223 )

Версия 1.9

Version 1.9.0

September 7, 2022

androidx.core:core:1.9.0 and androidx.core:core-ktx:1.9.0 are released. Version 1.9.0 contains these commits.

Important changes since 1.8.0

  • Updated to improve compatibility with Android 13, including nullability changes and parity with framework APIs
  • Added IntentSanitizer to sanitize unsafe intents before launching them. ( Ib0be5 )
  • Adds support for BigPictureStyle using Icon ( Ice26d )
  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. ( Ie542e )
  • Improved parity between Android 13 accessibility framework APIs and compat APIs ( I93c97 , I5a074 , Iedf82 )

Version 1.9.0-rc01

August 24, 2022

androidx.core:core:1.9.0-rc01 and androidx.core:core-ktx:1.9.0-rc01 are released. Version 1.9.0-rc01 contains these commits.

Исправлены ошибки

  • IntentSanitizer.sanitizeByFiltering no longer writes to the log when filtering ( 69b3b55 )

Version 1.9.0-beta01

10 августа 2022 г.

androidx.core:core:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.

API Changes

Исправлены ошибки

  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. ( Ie542e , b/238790278 )
  • Adding support for API introduced in T." into androidx-platform-dev" ( )
  • Adding support for API introduced in T. ( I358f1 )
  • TypefaceCompate.create(..., weight, italic) will fallback to platform Typeface.create when compat impl cannot resolve on API 14-20 ( I1ee34 , b/145311058 )
  • Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" ( I5a074 )
  • Added accessibility framework constants previously absent from androidx. ( I93c97 )

External Contribution

  • Backported Typeface#create(Typeface, int, boolean) which allows creating typeface with specific weight from a font family ( I342dc )

Version 1.9.0-alpha05

15 июня 2022 г.

androidx.core:core:1.9.0-alpha05 and androidx.core:core-ktx:1.9.0-alpha05 are released. Version 1.9.0-alpha05 was developed in a private pre-release branch and has no public commits.

API Changes

  • Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
  • minCompileSdk is now 33 to align with Tiramisu Beta 3 SDK

Version 1.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.

Исправлены ошибки

  • Revert deprecation of BuildCompat.isAtLeastT() and accompanying SDK_INT checks

Version 1.9.0-alpha03

27 апреля 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.

Version 1.9.0-alpha02

March 23, 2022

androidx.core:core:1.9.0-alpha02 and androidx.core:core-ktx:1.9.0-alpha02 are released. Version 1.9.0-alpha02 contains all commits from 1.8.0-alpha06, but has been built against Tiramisu DP2.

Version 1.9.0-alpha01

February 23, 2022

androidx.core:core:1.9.0-alpha01 and androidx.core:core-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 was built from an internal branch and does not have publicly-visible commits.

This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.

Новые функции

  • Compatible with Android Tiramisu DP1.

Version 1.8

Версия 1.8.0

June 1, 2022

androidx.core:core:1.8.0 and androidx.core:core-ktx:1.8.0 are released. Version 1.8.0 contains these commits.

Important changes since 1.7.0

  • Significant clean-up of nullability annotations to improve Kotlin usability
  • Platform parity improvements to ShortcutInfoCompat , NotificationCompat , and more
  • New interfaces to allow components to receive picture-in-picture and multi-window mode change events, implemented by ComponentActivity in Activity library
  • Improvements to MenuProvider callback methods, including onPrepareMenu and onMenuClosed
  • Fixed issue where FileProvider would fail with IllegalArgumentException on certain devices
  • Fixed issue where TypefaceCompat applied incorrect typeface weight on API 29+ ( b/194553426 ) thanks to contribution from RikkaW

Version 1.8.0-rc02

May 18, 2022

androidx.core:core:1.8.0-rc02 and androidx.core:core-ktx:1.8.0-rc02 are released. Version 1.8.0-rc02 contains these commits.

Исправлены ошибки

  • Cast OnSharedElementsReadyListener to fully-qualified platform class to prevent ClassCastException ( 0029fed )

Version 1.8.0-rc01

May 11, 2022

androidx.core:core:1.8.0-rc01 and androidx.core:core-ktx:1.8.0-rc01 are released. Version 1.8.0-rc01 contains these commits.

API Changes

  • Added BuildCompat check for next pre-release cycle ( If5a8f , b/229859122 )
  • Updated BuildCompat.isAtLeastT() for finalized SDK_INT value. ( Iffae0 )

Version 1.8.0-beta01

April 20, 2022

androidx.core:core:1.8.0-beta01 and androidx.core:core-ktx:1.8.0-beta01 are released with no changes since 1.8.0-alpha07. Version 1.8.0-beta01 contains these commits.

Version 1.8.0-alpha07

6 апреля 2022 г.

androidx.core:core:1.8.0-alpha07 and androidx.core:core-ktx:1.8.0-alpha07 are released. Version 1.8.0-alpha07 contains these commits.

Исправлены ошибки

  • TypefaceCompat will now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are not FontWeight.Normal or FontWeight.Bold , as the actual loaded weight and style will be used. ( #212 , b/194553426 )

External Contribution

  • Thanks RikkaW for ensuring we correctly apply Typeface weight in TypefaceCompat on API 29+. #212

Version 1.8.0-alpha06

March 23, 2022

androidx.core:core:1.8.0-alpha06 is released. Version 1.8.0-alpha06 contains these commits.

API Changes

  • The MenuProvider interface now includes the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 )
  • The MenuProvider interface now includes the onMenuClosed() method to be used whenever a menu should be closed. ( If5a16 )
  • Updated IconCompat#getResId to have the proper resource annotation type to match the corresponding method in the framework in Icon#getResId ( I49700 )
  • Reverted previous change of relying solely on a View for WindowInsetsControllerCompat , and again require a Window which is required for managing some window flags. Deprecated ViewCompat.getWindowInsetsController in favor of WindowCompat.getInsetsController to ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 )
  • Updated nullability in core and appcompat to match Tiramisu DP2 ( I0cbb7 )
  • Adds a method to BitmapCompat for smoother downscaling of bitmaps. ( Ib706c )
  • Added nullability annotations to ActivityCompat.requestDragAndDropPermissions ( I0f2b0 , b/206113378 )
  • Added a work-around to FileProvider for OEMs stripping meta-data from manifests. ( I82f63 )

Исправлены ошибки

  • Consider parent visibility changes for a11y pane visibility status for <P ( I8e04f )

Version 1.8.0-alpha05

February 23, 2022

androidx.core:core:1.8.0-alpha05 and androidx.core:core-ktx:1.8.0-alpha05 are released. Version 1.8.0-alpha05 contains these commits.

API Changes

  • Updated nullability for androidx.core.os classes ( If18cd , b/206113622 )
  • Updated nullability for androidx.core.app classes ( I657eb , b/206113302 )
  • Updated nullability for androidx.core.text classes ( I08329 , b/206113384 )
  • Added ExtraData functions to AccessibilityNodeInfoCompat ( If2fc7 , b/137789185 )
  • Added zero-arg overload for bundleOf() to avoid an invisible array allocation when creating an empty bundle ( If7089 )
  • Added Continuation<T>.asFoo() adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types ( I6615e )
  • Added nullable Drawable.toBitmapOrNull method to avoid exceptions ( I2342a )

Version 1.8.0-alpha04

9 февраля 2022 г.

androidx.core:core:1.8.0-alpha04 and androidx.core:core-ktx:1.8.0-alpha04 are released. Version 1.8.0-alpha04 contains these commits.

API Changes

  • Adds the OnPictureInPictureModeChangedProvider interface to allow any component to receive picture-in-picture mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I9f567 )
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I62d91 )
  • Cleaned up nullability for a subset of androidx.core APIs. ( Ia0e2f , b/206113818 )

Version 1.8.0-alpha03

26 января 2022 г.

androidx.core:core:1.8.0-alpha03 and androidx.core:core-ktx:1.8.0-alpha03 are released. Version 1.8.0-alpha03 contains these commits.

API Changes

  • Converted WindowInsetsControllerCompat to depend on a View instead of a Window or the platform WindowInsetsController . This improves behavior with Dialogs, showing the IME, and ensures the non-deprecated creation methods workaround ( b/180881870 ). ( I29264 , b/207401542 , b/210121779 )
  • Cleaned up nullability for a subset of androidx.core APIs. ( Ib2583 , b/206113818 )
  • Fixed nullability of performAccessibilityAction params ( Ibbafe )
  • Added method for working around ColorStateList issues resulting from Theme-keyed caching and Theme.applyStyle ( I9188b , b/207739887 )
  • Update shortcut visibility api for better readability ( Ia58df )
  • Added zero-arg overload for persistableBundleOf() to avoid an unnecessary array allocation when creating an empty PersistableBundle ( Icd7a4 )

Version 1.8.0-alpha02

15 декабря 2021 г.

androidx.core:core:1.8.0-alpha02 and androidx.core:core-ktx:1.8.0-alpha02 are released. Version 1.8.0-alpha02 contains these commits.

API Changes

  • Adds experimental BuildCompat methods for future SDKs ( Iafd82 , b/207528937 )
  • Add utility methods to convert document into shortcut and vice versa. ( Id512c )
  • Update visibility api for shortcut for better readability ( I86dec )
  • Adds the OnNewIntentProvider , OnConfigurationChangedProvider , and onTrimMemoryProvider interfaces that can be used to denote that your custom activity can dispatch these events to any component that adds a listener. ( If1f8b , If623b , Ia9295 )

Version 1.8.0-alpha01

December 1, 2021

androidx.core:core:1.8.0-alpha01 and androidx.core:core-ktx:1.8.0-alpha01 are released. Version 1.8.0-alpha01 contains these commits.

API Changes

  • Significant clean-up of nullability annotations
  • Added a new API ShortcutInfoCompat.Builder#setHiddenFromLauncher to determine whether the shortcut should be hidden from the launcher. ( Ia2a71 )
  • Add NotificationCompat.Action#setAuthenticationRequired ( Ieeafa , b/202172887 )
  • Add NotificationCompat.BigPictureStyle.setContentDescription ( I3b483 )
  • Added extension function Map<String, Any?>.toPersistableBundle() ( I82c86 )

Исправлены ошибки

  • Adjusts the scroll distance for accessibility action ( If74ae )
  • Removed hardcoded language code in Javadocs ( Ie5d68 )

Version 1.7

Версия 1.7.0

October 27, 2021

androidx.core:core:1.7.0 and androidx.core:core-ktx:1.7.0 are released. Version 1.7.0 contains these commits.

Important changes since 1.6.0

  • 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. See IntentCompat.createManageUnusedAppRestrictionsIntent for more information.
  • Adds support for composing menu support in components, see MenuProvider for more information.

Version 1.7.0-rc01

October 13, 2021

androidx.core:core:1.7.0-rc01 and androidx.core:core-ktx:1.7.0-rc01 are released. Version 1.7.0-rc01 contains these commits.

Version 1.7.0-beta02

29 сентября 2021 г.

androidx.core:core:1.7.0-beta02 and androidx.core:core-ktx:1.7.0-beta02 released. Version 1.7.0-beta02 contains these commits.

Исправлены ошибки

  • MenuHostHelper will now properly remove all LifecycleObservers when a MenuProvider is removed prior to the Lifecycle being DESTROYED . ( Ibe2e1 , b/199788262 )
  • Update the descriptions of the Unused App Restrictions Constants to be clearer for developers ( I2858e )

Version 1.7.0-beta01

15 сентября 2021 г.

androidx.core:core:1.7.0-beta01 and androidx.core:core-ktx:1.7.0-beta01 are released. Version 1.7.0-beta01 contains these commits.

API Changes

  • LocationRequestCompat.toProvider can now return null ( Ib5a09 )

Version 1.7.0-alpha02

1 сентября 2021 г.

androidx.core:core:1.7.0-alpha02 and androidx.core:core-ktx:1.7.0-alpha02 are released. Version 1.7.0-alpha02 contains these commits.

Новые функции

  • Streamlining and unification of how lifecycle-aware menus are managed, see MenuProvider for more details.

API Changes

  • Added MenuHost interface for components that manage MenuProvider s. ( I83f23 )
  • Added MenuProvider interface that can be used to indicate that a component is supplying menu items. ( If8a40 )
  • Added MenuHostHelper to simplify implementing MenuHost in a component. ( I74f4a )
  • Added LocationRequestCompat.toLocationRequest() for converting to platform class. ( I71e75 )
  • Added DocumentsContractCompat class for parity with platform APIs. ( Ia9e91 )
  • Added NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean) for parity with platform APIs. ( I8cd88 )
  • Fixed an issue where checkSelfPermission from PermissionChecker would show mic/cam indicators. ( I572a9 )
  • Added explicit threading annotation for setImportantForAccessibility . ( I990fa )
  • Updated getUnusedAppRestrictionsStatus to conform to API guidelines. ( I28a18 )
  • Completed functionality for getUnusedAppRestrictionsStatus . ( I7c2d6 )
  • Added support to LocationCompat for vertical accuracy, speed accuracy, and bearing accuracy. ( I1d3e9 )
  • Added math compat functions to MathUtils . ( Idb590 )
  • Integrated OnReceiveContentListener into compat APIs. ( Ic6914 , b/173814913 )
  • Added ActivityCompat#isLaunchedFromBubble for platform parity. ( I6961a )
  • Added LocationRequest and LocationManager.hasProvider() for platform parity. ( I4f3e4 )

Исправлены ошибки

  • Removed the use of lambdas in PackageManagerCompat to avoid LambdaDesugaring bug. ( I36c87 )

Version 1.7.0-alpha01

June 30, 2021

androidx.core:core:1.7.0-alpha01 and androidx.core:core-ktx:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.

API Changes

  • Added an API to configure an InputConnection to use View.performReceiveContent to handle IME calls to InputConnection.commitContent . ( I3a2ad )
  • Combined two APIs' functionality into one ( I261df )
  • Modified two APIs' functionality for use with unused app restriction features (eg permission revocation, app hibernation) ( Ic1616 )
  • Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( I606d7 )
  • Added nullability annotations to several Compat classes ( I2802a , b/188452327 , b/189962089 )
  • Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( Icafee )
  • Addressed missing nullability annotation issues in ViewCompat ( Ic346e , b/188453571 )

Version 1.6

Версия 1.6.0

June 30, 2021

androidx.core:core:1.6.0 and androidx.core:core-ktx:1.6.0 are released. Version 1.6.0 contains these commits.

Important changes since 1.5.0

  • Add support for resolving theme attributes in nested ColorStateList s. ( I2e409 b/155579892 )
  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-rc01

16 июня 2021 г.

androidx.core:core:1.6.0-rc01 and androidx.core:core-ktx:1.6.0-rc01 are released. Version 1.6.0-rc01 contains these commits.

API Changes

  • JobIntentService has been deprecated in favor of WorkManager ( Ic7749 , b/149049019 )

Version 1.6.0-beta02

2 июня 2021 г.

androidx.core:core:1.6.0-beta02 and androidx.core:core-ktx:1.6.0-beta02 are released. Version 1.6.0-beta02 contains these commits.

Исправлены ошибки

  • Update BuildCompat to use current long press timeout on latest platforms ( b/185118174 )
  • Remove use of synchronized from ContextCompat , ContentLoadingProgress methods.

Version 1.6.0-beta01

May 18, 2021

androidx.core:core:1.6.0-beta01 and androidx.core:core-ktx:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.

API Changes

Version 1.6.0-alpha03

May 5, 2021

androidx.core:core:1.6.0-alpha03 and androidx.core:core-ktx:1.6.0-alpha03 are released. Version 1.6.0-alpha03 contains these commits.

Новые функции

  • Add support for resolving theme attributes in nested ColorStateList s. ( I2e409 b/155579892 )

Исправлены ошибки

  • Prevent NPE when handling null custom selection action mode callbacks on AppCompat-backed views. ( I033c7 , b/173435375 )

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

Version 1.6.0-alpha02

15 апреля 2021 г.

androidx.core:core:1.6.0-alpha02 and androidx.core:core-ktx:1.6.0-alpha02 are released. Version 1.6.0-alpha02 contains these commits.

API Changes

  • Add TelephoneManagerCompat and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

External Contribution

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-alpha01

March 24, 2021

androidx.core:core:1.6.0-alpha01 and androidx.core:core-ktx:1.6.0-alpha01 are released. Version 1.6.0-alpha01 contains these commits.

API Changes

  • Adds Handler.hasCallbacks() method for parity with platform SDK ( Idce1c , b/113855676 )
  • Adds capability related setter methods to ShortcutInfoCompat.Builder ( I45af6 )

Version 1.5

Версия 1.5.0

May 18, 2021

androidx.core:core:1.5.0 and androidx.core:core-ktx:1.5.0 are released. Version 1.5.0 contains these commits.

Important changes since 1.4.0

  • Support for new Insets Animation APIs
  • Updates to OnReceiveContentListener to support rich content
  • Backported WindowInsetsController and WindowInsetsCompat APIs to control system bar appearance
  • Updated ActivityCompat.recreate() to be safely called from any lifecycle state on any API level
  • Added APIs to supply and retrieve initial surrounding text via EditorInfoCompat , which allows IME apps to avoid additional IPC latency.
  • Various updates to improve parity with platform SDK APIs

Version 1.5.0-rc02

May 5, 2021

androidx.core:core:1.5.0-rc02 and androidx.core:core-ktx:1.5.0-rc02 are released. Version 1.5.0-rc02 contains these commits.

Исправлены ошибки

Version 1.5.0-rc01

March 24, 2021

androidx.core:core:1.5.0-rc01 and androidx.core:core-ktx:1.5.0-rc01 are released. Version 1.5.0-rc01 contains these commits.

Краткое содержание

  • No changes from previous beta03

Version 1.5.0-beta03

10 марта 2021 г.

androidx.core:core:1.5.0-beta03 and androidx.core:core-ktx:1.5.0-beta03 are released. Version 1.5.0-beta03 contains these commits.

API Changes

  • Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )

Version 1.5.0-beta02

February 24, 2021

androidx.core:core:1.5.0-beta02 and androidx.core:core-ktx:1.5.0-beta02 are released. Version 1.5.0-beta02 contains these commits.

Исправлены ошибки

  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( Iefa71 )
  • NotificationCompat.MessagingStyle.getText() was incorrectly marked as @NonNull ; it is now @Nullable ( I05cb7 )

Version 1.5.0-beta01

January 13, 2021

androidx.core:core:1.5.0-beta01 and androidx.core:core-ktx:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.

API Changes

  • Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
  • Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
  • Connection of the new Insets Animation API with the Platform implementation ( I078da )
  • Added the new Insets Animation APIs ( I8aebd )
  • Updated OnReceiveContentListener and related APIs:
    • Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
    • Removed getSupportedMimeTypes() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat method that sets the listener.
    • Wrapped arguments to OnReceiveContentListener.onReceiveContent() in an object.
    • Added linkUri as a param to onReceiveContent() to ensure backwards compatibility with the keyboard image API.
    • Added a Bundle param to onReceiveContent() to ensure backwards compatibility with the keyboard image API and to facilitate evolution of the API in the future.
    • Updated onReceiveContent() to return any content that was not consumed, as a means to delegate to the default handling.
    • Removed TextViewOnReceiveContentListener from the public API since the default behavior can now be triggered by returning any unconsumed content from the listener.
    • ( Ib4616 , b/173814913 )
  • Deprecated BuildCompat.isAtLeastR ( Idb37e )
  • Moved widget.RichContentReceiverCompat to view.OnReceiveContentListener . ( Ifdab7 , b/173814913 )
  • Added Preconditions.checkFlagsArgument . ( I43952 , b/174181100 )
  • Deprecate custom menu for outbound sharing. ( I7cd92 )
  • Notifications can now be tagged as missed calls. ( I14d90 )
  • Added PackageInfoCompat#getSignatures for retrieving the certificate array for a package ( I8e9a3 , b/159831205 )

Исправлены ошибки

  • Fix a bug where setting BigPictureStyle.bigLargeIcon would break the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

External Contribution

  • ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
  • Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )

Version 1.5.0-alpha05

November 11, 2020

androidx.core:core:1.5.0-alpha05 and androidx.core:core-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.

API Changes

  • Added support for new GnssStatus APIs ( Id8e22 )
  • Added overloads of FileProvider#getUriForFile to support custom filenames ( Ie870b )
  • Backported the WindowInsetsController APIs to control the system bar appearance. ( Ieb4ee )
  • Renamed getFont with boolean to getCachedFont ( Iea520 )
  • Backported the #hide() and #show() methods from WindowInsetsController APIs, added in API 30 ( I21573 )
  • Added new API ResourcesCompat#getFont with cacheOnly option ( Ic38cf )
  • Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )

Version 1.5.0-alpha04

1 октября 2020 г.

androidx.core:core:1.5.0-alpha04 and androidx.core:core-ktx:1.5.0-alpha04 are released. Version 1.5.0-alpha04 contains these commits.

API Changes

  • Fix incomplete Style recovery when using NotificationCompat.Builder.<init>(Context,Notification) ( Ib297a )
  • New notification categories types are now available ( I9521a )

Исправлены ошибки

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Version 1.5.0-alpha03

September 16, 2020

androidx.core:core:1.5.0-alpha03 and androidx.core:core-ktx:1.5.0-alpha03 are released. Version 1.5.0-alpha03 contains these commits.

API Changes

  • ViewCompat is a utility class and shouldn't be instantiated. ( If20fa )
  • APIs to supply and retrieve initial surrounding text were backported to EditorInfoCompat . They allow IME apps to avoid additional IPC latency. ( Ie3809 )
  • Query notification channels and groups with compat objects. ( I11d18 )

Исправлены ошибки

  • For pre-P, ensure panes are marked as important for accessibility and support CONTENT_CHANGE_TYPE_PANE_DISAPPEARED events. ( Iaeffc )

External Contribution

  • API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )

Version 1.5.0-alpha02

August 19, 2020

androidx.core:core:1.5.0-alpha02 and androidx.core:core-ktx:1.5.0-alpha02 are released. Version 1.5.0-alpha02 contains these commits.

Новые функции

  • The WindowInsetsCompat APIs have been updated to those in the platform in Android 11. This includes the new ime() inset type, which allows checking the visibility and size of the on-screen keyboard.

    • Some caveats about the ime() type, it works very reliably on API 23+ when your Activity is using the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

API Changes

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#toString(Object, String) but can be used pre-API 19. ( I26cdc )
  • Added NotificationCompat.Builder.recoverBuilder(Notification) ( I6f100 )
  • Add NotificationCompat.Builder.createContentView() and peers ( I6fe13 )
  • Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
  • Add NotificationCompat.Builder.setSettingsText and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

External Contribution

  • Add Uri overloads for MailTo methods ( I6fa6b )
  • Added MailTo API which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )

Version 1.5.0-alpha01

10 июня 2020 г.

androidx.core:core:1.5.0-alpha01 and androidx.core:core-ktx:1.5.0-alpha01 are released.

Новые функции

  • Provides parity with Android R platform SDK APIs for ShortcutManager , ShortcutInfo , AccessibilityNodeInfo , DisplayCutout , GnssStatus , and Notification classes

Исправлены ошибки

  • Make it clear that checking shouldShowPermissionRationale is recommended.
  • Change AtomicFile to use rename-into-place.
  • Adjust the Typeface display style with the style of given font. ( b/156853883 )
  • Fix failing Notification Builder Tests
  • Fix register/unregister bug LocationManagerCompat .

Version 1.4

Version 1.4.0-alpha01

May 20, 2020

androidx.core:core:1.4.0-alpha01 and androidx.core:core-ktx:1.4.0-alpha01 are released. Version 1.4.0-alpha01 contains these commits.

API Changes

  • Add common API for inserting rich content (eg pasting an image). The new callback provides a single API that apps can implement to support the different ways in which rich content may be inserted. For now the API is only added to AppCompatEditText and will be invoked for the following code paths:
    • paste from the clipboard
    • content insertion from the IME ( InputConnection.commitContent ) ( I22bf7 )
  • Backported android.os.Process.isApplicationUid(int) to help apps determine whether code is executing in a isolated process ( I4c83a , b/153014822 )
  • Backported LocusId to help apps correlate state between different subsystems such as content capture, shortcuts, and notifications. ( Ia3129 )
  • Added ancestry sequences to ViewGroup ( I5f75c , b/117976097 )

Исправлены ошибки

  • Added permissions validation for ActivityCompat.requestPermissions() ( I372cc , b/122163323 )
  • Extracted v28+ calls into a separate static class, which fixes a NoClassDefFoundError error for View#OnUnhandledKeyEventListener when building an app bundle ( Id3419 , b/153695093 )
  • Fixed a setChronometerCountDown crash bug ( I47282 , b/145770610 )

Версия 1.3

Version 1.3.2

1 октября 2020 г.

androidx.core:core:1.3.2 and androidx.core:core-ktx:1.3.2 are released. Version 1.3.2 contains these commits.

Исправлены ошибки

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Version 1.3.1

22 июля 2020 г.

androidx.core:core:1.3.1 and androidx.core:core-ktx:1.3.1 are released. Version 1.3.1 contains these commits.

Исправлены ошибки

  • Fixed an issue where the resolved font resource Typeface weight and style had the wrong values on API Level 29 ( b/156853883 )

Version 1.3.0

May 27, 2020

androidx.core:core:1.3.0 and androidx.core:core-ktx:1.3.0 are released. Version 1.3.0 contains these commits.

Major changes since 1.2.0

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • New APIs on ViewCompat to retrieve the original window insets that were dispatched to the view hierarchy

Version 1.3.0-rc01

15 апреля 2020 г.

androidx.core:core:1.3.0-rc01 and androidx.core:core-ktx:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.

Исправлены ошибки

  • WindowInsetsCompat now properly implements hashCode() and equals() on all supported API levels.

Version 1.3.0-beta01

1 апреля 2020 г.

androidx.core:core:1.3.0-beta01 and androidx.core:core-ktx:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.

Version 1.3.0-alpha02

4 марта 2020 г.

androidx.core:core:1.3.0-alpha02 and androidx.core:core-ktx:1.3.0-alpha02 are released. Version 1.3.0-alpha02 contains these commits.

API Changes

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • A new ViewCompat API to retrieve the original window insets that were dispatched to the view hierarchy

Version 1.3.0-alpha01

January 29, 2020

androidx.core:core:1.3.0-alpha01 and androidx.core:core-ktx:1.3.0-alpha01 are released. Version 1.3.0-alpha01 contains these commits .

Новые функции

  • Added ContentProviderCompat
  • Added WindowInsetsCompat.Builder

API changes

  • Added a NotificationCompat API to silence a notification instance
  • Added ResourcesCompat.NULL_ID
  • Deprecated CarExtender.UnreadConversation in NotificationCompat
  • Added a DisplayCompat API to get the physical size of the device

Исправлены ошибки

  • Improved the handling actions with no icons in NotificationCompat
  • Fixed drawable tinting on TextView relative to compound drawables on API Level 23 ( aosp/1172194 )
  • Ensured the base context is always a wrapper
  • Fixed an issue where RecyclerView should not populate Collection[Item]Info by default

Version 1.2

Version 1.2.0

February 5, 2020

androidx.core:core:1.2.0 and androidx.core:core-ktx:1.2.0 are released. Version 1.2.0 contains these commits .

Major changes since 1.1.0

  • Added new APIs and bug fixes in NotificationCompat
  • Added new APIs to work with BlendMode introduced in AndroidQ in backwards-compatible way
  • Added new APIs and bug fixes in accessibility compat
  • Added new APIs to work with ShortcutInfo
  • Added new APIs to work with WindowInsets
  • Fixed backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat , ShareCompat , WakefulBroadcastReceiver and InputConnectionCompat

Version 1.2.0-rc01

November 20, 2019

androidx.core:core:1.2.0-rc01 and androidx.core:core-ktx:1.2.0-rc01 are released with no changes since 1.2.0-beta02 . Version 1.2.0-rc01 contains these commits .

Version 1.2.0-beta02

November 7, 2019

androidx.core:core:1.2.0-beta02 and androidx.core:core:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits .

Исправлены ошибки

  • Updated translations for en-rCA and en-rXC locales.

Version 1.2.0-beta01

October 9, 2019

androidx.core:core:1.2.0-beta01 and androidx.core:core-ktx:1.2.0-beta01 released. Version 1.2.0-beta01 contains these commits .

API Changes

  • Added support for creating NotificationCompat Actions using IconCompat and deprecated a public field (and its getter) using resource IDs to represent icons for Actions. ( aosp/1119192 )
  • Add MathUtils.clamp for longs ( aosp/1117300 )
  • Added setChronometerCountDown to NotificationCompat ( b/138601213 )

Исправлены ошибки

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

External Contribution

  • Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )

Version 1.2.0-alpha04

5 сентября 2019 г.

androidx.core:core:1.2.0-alpha04 and androidx.core:core-ktx:1.2.0-alpha04 are released. The commits included in this version can be found here .

API changes

  • Deprecated ShortcutInfoCompat.Builder#setLongLived() and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

Исправлены ошибки

Version 1.2.0-alpha03

August 7, 2019

androidx.core:core:1.2.0-alpha03 and androidx.core:core-ktx:1.2.0-alpha03 are released. The commits included in this version can be found here .

Новые функции

  • Added UriCompat.toSafeString(Uri) to provide URI escaping that is updatable separately from the platform. ( b/130878326 )
  • Added Predicate<T> interface to provide Java 8-style predicates without requiring Java 8 language features.

API changes

  • Made removeDynamicShortuct() static ( b/134993204 )
  • Created factory method for BlendMode Color Filter ( b/135943149 )
  • Added async , counter , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

Исправлены ошибки

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat implementation ( aosp/1012534 )
  • Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )

Version 1.2.0-alpha02

13 июня 2019 г.

androidx.core:core:1.2.0-alpha02 and androidx.core:core-ktx:1.2.0-alpha02 are released. The commits included in this version can be found here .

API changes

  • Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances

Version 1.2.0-alpha01

May 7, 2019 androidx.core:core:1.2.0-alpha01 are androidx.core:core-ktx:1.2.0-alpha01 are released.

Новые функции

  • Add ACTION_PAGE_UP/DOWN/NEXT/PREVIOUS accessibility actions
  • Add CATEGORY_NOTIFICATION to NotificationCompat
  • Add support for contextual Notification Actions
  • Add support for bubbles in NotificationCompat
  • Added BlendModeCompat APIs to leverage the BlendMode APIs on Android 10 and falling back to PorterDuff.Mode equivalents wherever possible
  • Add new getters to WindowInsetsCompat and ViewCompat
  • Add support for tap-to-edit in notifications
  • DrawerLayout system gesture exclusion rects
  • Add NotificationCompat API for whether to allow system generated contextual actions
  • Handle disabled <activity-alias> components in NavUtils
  • Add AccessibilityNodeInfoCompat.setEntryKey

Исправлены ошибки

  • Fix exception when loading fonts in TypefaceCompat
  • Various DayNight fixes
  • Fix backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat, ShareCompat, WakefulBroadcastReceiver and InputConnectionCompat

Version 1.1

Версия 1.1.0

5 сентября 2019 г.

androidx.core:core:1.1.0 and androidx.core:core-ktx:1.1.0 are released. The commits included in this version can be found here .

Important Changes since 1.0.0

  • Updated accessibility APIs to match the Android 10 platform accessibility APIs
  • Added improvements to Nested Scrolling; see NestedScrollingChild3 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.collection dependency to your library or app. This change is source-incompatible but retains binary compatibility. The Collection dependency is still a transitive dependency of Core but as an implementation detail instead of part of its API.
  • Worked around an IPC compatibility issue caused by refactor to androidx ( aosp/948725 , aosp/938269 )
  • Added a variety of fixes for AppCompat DayNight ( aosp/942956 )

Version 1.1.0-rc03

August 7, 2019

androidx.core:core:1.1.0-rc03 and androidx.core:core-ktx:1.1.0-rc03 are released. The commits included in this version can be found here .

Исправлены ошибки

  • Make the hidden androidx.core.app.ComponentActivity implement LifecycleOwner to maintain binary compatibility with androidx.fragment:fragment:1.0.0 ( aosp/1094409 )

Version 1.1.0-rc02

July 2, 2019

androidx.core:core:1.1.0-rc02 and androidx.core:core-ktx:1.1.0-rc02 are released. The commits included in this version can be found here .

Исправлены ошибки

  • FingerprintManagerCompat#getFingerprintManagerOrNull on API level 23 should not check PackageManager ( b/124066957 ) ( aosp/987433 )
  • Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )

Version 1.1.0-rc01

5 июня 2019 г.

androidx.core:core:1.1.0-rc01 and androidx.core:core-ktx:1.1.0-rc01 are released. The commits included in this version can be found here .

Исправлены ошибки

  • Make image keyboard API backport compatible to all previous impls ( aosp/968220 )
  • Remove Guava ListenableFuture from androidx.core:core library dependencies ( b/133171974 , aosp/965393 )
  • Fix incorrect velocity while flinging with nested scrolling. ( aosp/961642 )
  • Add test for mutating TransitionDrawable ( b/37033322 )

Version 1.1.0-beta01

May 7, 2019

androidx.core:core:1.1.0-beta01 and androidx.core:core-ktx:1.1.0-beta01 are released. The commits included in this version can be found here .

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

API changes

  • Undeprecated capability setters ( aosp/937281 )
  • RemoteActionCompat is now a 1VersionedParcelable` ( aosp/928534 )

Исправлены ошибки

  • AppCompatTextView in core tests should be created with an appcompat theme ( aosp/951636 )
  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
  • Fixed bug in DayNight updates when in background ( aosp/942956 )
  • Implemented text entry key API for accessibility services in AOSP Keyboard ( aosp/943897 )
  • Fixed exception when loading font on devices running API Level 20 and lower
  • Handle disabled <activity-alias> components in NavUtils ( aosp/940788 )

Version 1.1.0-alpha05

March 13, 2019

androidx.core:core:1.1.0-alpha05 and androidx.core:core-ktx:1.1.0-alpha05 are released. The full list of commits included in this version can be found here .

Новые функции

  • New ActivityCompat.recreate() API for working around pre-28 platform bugs ( aosp/898940 )
  • New LocationManagerCompat class ( aosp/894736 )

API changes

  • This library no longer exposes the 'collection' dependency as part of its API. If you were depending on the 'collection' types implicitly through a dependency on 'core', you will need to add an explicit 'collection' dependency to your library or app. This change is source-incompatible but retains binary compatibility. The 'collection' dependency is still a transitive dependency of 'core' but as an implementation detail instead of part of its API.

Исправлены ошибки

  • Fixed bug with default tint mode for ImageView on devices running API level 21

Version 1.1.0-alpha04

January 30, 2019

androidx.core:core 1.1.0-alpha04 and androidx.core:core-ktx 1.1.0-alpha04 are released.

API changes

  • Change value of EXTRA_SHORTCUT_ID to be consistent with the platform ( aosp/877712 )
  • Add CATEGORY_NOTIFICATION to NotificationCompat ( aosp/861067 )

Исправлены ошибки

  • Fix for fontFamily not working on devices running API level 24 and lower ( aosp/807054 )
  • Fixed bug where replacing accessibility actions, and adding accessibility actions, didn't remove old accessibility actions ( aosp/848314 )

Version 1.1.0-alpha03

December 17, 2018

androidx.core 1.1.0-alpha03 and androidx.core-ktx 1.1.0-alpha03 are released with the following changes. androidx.core-ktx 1.1.0-alpha02 is released to provide a ktx match for androidx.core 1.1.0-alpha02 .

Новые функции

  • Added Notification channels methods to NotificationManagerCompat so developers can use only NotificationManagerCompat when working with notifications. Special thanks to Zdeněk Kořán for this new feature!

API changes

  • Added new APIs to ShortcutManagerCompat to publish and update dynamic shortcuts.

Version 1.1.0-alpha01

5 ноября 2018 г.

androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.

New features and API changes

  • NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
  • NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
  • ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
  • Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
  • Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
  • Added compatibility implementation of Resources.getFloat.
  • Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
  • Added Kotlin extension functions for TextView TextWatcher actions.
  • Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
  • Added AccessibilityPane to ViewCompat.
  • Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
  • Deprecated AccessibilityNodeInfoCompat.setFocusable() , setClickable() , setLongClickable() , setScrollable() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan s accessible back through API 19.

Исправлены ошибки

  • Fixed bug that caused ResourcesCompat.getFont() crash when the network fails, when using downloadable fonts.
  • Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when ContentResolver returned null.
  • Fixed type error in Array Utils where it expected ColorStateList but got raw colors.

Версия 1.0

Версия 1.0.2

May 7, 2019

androidx.core:core:1.0.2 , and androidx.core:core-ktx:1.0.2 are released. This release includes 2 commits.

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

Исправлены ошибки

  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )

Version 1.0.1

November 7, 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

Исправлены ошибки

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . b/113070424

Core-Ktx Version 1.0.1

5 ноября 2018 г.

androidx.core-ktx 1.0.1 is released with the following bug fixes:

  • Fixed bug where implementation of union and intersection were swapped.

Core-google-shortcuts

Version 1.2

Version 1.2.0-alpha01

26 июля 2023 г.

androidx.core:core-google-shortcuts:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

API Changes

Version 1.1

Версия 1.1.0

October 24, 2022

androidx.core:core-google-shortcuts:1.1.0 is released. Version 1.1.0 contains these commits.

Important changes since 1.0.0

  • Migrated from using com.google.firebase:firebase-appindexing to the new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.google.firebase:firebase-appindexing . Developers should avoid using both libraries to avoid build errors.

Version 1.1.0-rc01

October 5, 2022

androidx.core:core-google-shortcuts:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.

Новые функции

  • Migrated from using com.google.firebase:firebase-appindexing to the new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.google.firebase:firebase-appindexing . Developers should avoid using both libraries to avoid build errors.

Version 1.1.0-beta01

September 21, 2022

androidx.core:core-google-shortcuts:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.

Новые функции

  • Removed unused dependency. No new features.

Version 1.1.0-alpha03

September 7, 2022

androidx.core:core-google-shortcuts:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.

Новые функции

  • Removed unused dependency. No new features.

Version 1.1.0-alpha02

August 24, 2022

androidx.core:core-google-shortcuts:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.

Новые функции

  • Update dependency from com.google.firebase:firebase-appindexing to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.google.firebase:firebase-appindexing , as the two libraries are now incompatible.

Version 1.1.0-alpha01

4 августа 2021 г.

androidx.core:core-google-shortcuts:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

Новые функции

  • Indexing support for URI based icons in Donated shortcuts to be displayed by Google apps.

Версия 1.0

Version 1.0.1

May 18, 2022

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

Исправлены ошибки

  • Fix proguard rule to prevent a method from being unintentionally removed

Версия 1.0.0

June 30, 2021

androidx.core:core-google-shortcuts:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

Include this module to allow shortcuts saved using ShortcutManagerCompat to also be donated to Google. This will unlock additional features with those shortcuts for users, such as displaying them as suggestions or allowing Google Assistant to fulfill them through voice query. There is no limit to the number of shortcuts that can be donated, and those that are donated this way are saved on-device. For more information, see the full documentation on pushing dynamic shortcuts to Assistant .

Version 1.0.0-rc01

16 июня 2021 г.

androidx.core:core-google-shortcuts:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.

Version 1.0.0-beta01

May 18, 2021

androidx.core:core-google-shortcuts:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.

Новые функции

  • Shortcuts added via core-google-shortcuts library will be saved as a Shortcut object in firebase appindexing, instead of a generic schema.org/Thing object.

Исправлены ошибки

  • Removed the minSdkVersion requirement from the library. The library will still only work for API version 21 and above, but apps will no longer be required to set their own app's minSdkVersion to 21.

Version 1.0.0-alpha03

May 5, 2021

androidx.core:core-google-shortcuts:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

Исправлены ошибки

  • No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to ShortcutManagerCompat#pushDynamicShortcut .

Version 1.0.0-alpha02

15 апреля 2021 г.

androidx.core:core-google-shortcuts:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Новые функции

  • By depending on androidx.core:core-google-shortcuts as an optional component along with androidx.core ; you can start using ShortcutManagerCompat to donate shortcuts to be used by Google.
  • A new TrampolineActivity will be merged with apps depending on this module. The TrampolineActivity is used to open shortcuts donated by this module.

API Changes

  • Added ShortcutInfoChangeListenerImpl , to be used by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core-Performance

Версия 1.0

Версия 1.0.0

10 января 2024 г.

androidx.core:core-performance:1.0.0 , androidx.core:core-performance-play-services:1.0.0 , and androidx.core:core-performance-testing:1.0.0 are released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • Core Performance - Provides a reliable mechanism for developers to identify the device's level of performance at runtime to help optimize an app's user experience accordingly.
  • Core Performance Play Services - Google-specific implementation providing up-to-date media performance class information for tested devices and OS versions.
  • Core Performance Testing - Test doubles for Core Performance.

Исправлены ошибки

  • Fixed a crash when initializing PlayServicesDevicePerformance found in version 1.0.0-beta2 . ( b/318803680 )

Version 1.0.0-rc01

December 13, 2023

androidx.core:core-performance:1.0.0-rc01 , androidx.core:core-performance-play-services:1.0.0-rc01 , and androidx.core:core-performance-testing:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

Новые функции

  • Core Performance - Updated library implementation. ( DevicePerformance generic implementation).
  • Core Performance Play Services - Initial library implementation. (Google specific DevicePerformance implementation).
  • Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).

API Changes

  • Initial RC release of DevicePerformance specific API.

Version 1.0.0-beta02

4 октября 2023 г.

androidx.core:core-performance:1.0.0-beta02 , androidx.core:core-performance-play-services:1.0.0-beta02 , and androidx.core:core-performance-testing:1.0.0-beta02 are released. Version 1.0.0-beta02 contains these commits.

Новые функции

  • Test related refactoring.

API Changes

  • Unchanged API usage pattern.

Version 1.0.0-beta01

6 сентября 2023 г.

androidx.core:core-performance:1.0.0-beta01 , androidx.core:core-performance-play-services:1.0.0-beta01 , and androidx.core:core-performance-testing:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.

Новые функции

  • Core Performance - Updated library implementation. ( DevicePerformance generic implementation).
  • Core Performance Play Services - Initial library implementation. (Google specific DevicePerformance implementation).
  • Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).

API Changes

  • Initial beta release of DevicePerformance specific API.

Version 1.0.0-alpha03

23 августа 2023 г.

androidx.core:core-performance:1.0.0-alpha03 , androidx.core:core-performance-play-services:1.0.0-alpha03 , and androidx.core:core-performance-testing:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.

Новые функции

  • Initial library implementation of core-performance-testing , containing test doubles for core-performance.
  • Initial library implementation or core-performance-play-services . Google specific implementation provides up to date media performance class information.

API Changes

  • Add optional module providing media performance class from Google Play Services.
  • core-performance constructors changed to support optional implementation.

Version 1.0.0-alpha02

March 23, 2022

androidx.core:core-performance:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Новые функции

  • Provide an easy and reliable mechanism for developers to identify at runtime the device's level of performance in order to deliver an optimized app experience.
  • This initial release uses a list of hand-tested devices that are granted performance class values higher than the level declared in Build.VERSION.MEDIA_PERFORMANCE_CLASS

Version 1.0.0-alpha01

15 декабря 2021 г.

androidx.core:core-performance:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Core-Remoteviews

Version 1.1

Версия 1.1.0

12 июня 2024 г.

androidx.core:core-remoteviews:1.1.0 is released. Version 1.1.0 contains these commits .

Important changes since 1.0.0

  • Core RemoteViews moves to 1.1.0 stable.

Version 1.1.0-rc01

14 мая 2024 г.

androidx.core:core-remoteviews:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .

Новые функции

  • Move RemoteViews 1.1.0 to Release Candidate.

Исправлены ошибки

  • Move to 21 as the default minSdkVersion of androidx libraries. ( I6ec7f )

Version 1.1.0-beta02

17 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta02 is released. No major changes since the last release.

Version 1.1.0-beta01

3 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits .

Version 1.1.0-alpha01

7 февраля 2024 г.

androidx.core:core-remoteviews:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

Новые функции

  • Version bump to match dependency versions.

Версия 1.0

Версия 1.0.0

6 сентября 2023 г.

androidx.core:core-remoteviews:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • Move core-remoteviews to stable version 1.0.0

Version 1.0.0-beta04

10 мая 2023 г.

androidx.core:core-remoteviews:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.

Исправлены ошибки

  • Fixes ArrayOutOfBoundsException being thrown in corner cases in compat library.

Version 1.0.0-beta03

October 5, 2022

androidx.core:core-remoteviews:1.0.0-beta03 is released. Version 1.0.0-beta03 contains these commits.

Новые функции

  • No new features were added.

Version 1.0.0-beta02

10 августа 2022 г.

androidx.core:core-remoteviews:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.

Исправлены ошибки

  • Version fix

Version 1.0.0-beta01

29 июня 2022 г.

androidx.core:core-remoteviews:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.

Новые функции

  • Moves Core-RemoteViews to beta.

Version 1.0.0-alpha03

February 23, 2022

androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

Исправлены ошибки

  • Fix for infrastructure.

Version 1.0.0-alpha02

26 января 2022 г.

androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Version 1.0.0-alpha01

15 декабря 2021 г.

androidx.core:core-remoteviews:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Новые функции

  • Backport of the new RemoteViews.setRemoteAdapter API.
  • Kotlin Extension functions to avoid reflection when calling RemoteViews methods.
  • Library with helper functions for working with App Widget sizing APIs.

Основной заставочный экран

Version 1.2

Version 1.2.0

November 05, 2025

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

Version 1.2.0-rc01

2 июля 2025 г.

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

Version 1.2.0-beta02

April 23, 2025

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

Version 1.2.0-beta01

26 февраля 2025 г.

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

Version 1.2.0-alpha02

4 сентября 2024 г.

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

Исправлены ошибки

  • Add isLightTheme attribute to themes of SplashScreen ( I01000 , b/238522114 )
  • Get splashscreen icon by AppCompatResources ( Ib05e , b/289242141 , b/263972037 )
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )

Version 1.2.0-alpha01

17 апреля 2024 г.

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

Исправлены ошибки

  • Change the cutout mode of Base.Theme.SplashScreen to always since v30.( Idfc3f )
  • Reset enforceNavigationBarContrast to system default value from API 31, so the splash screen theme won't corrupt activity's theme. From API 31+, the splash screen isn't create as PhoneWindow , so it's unnecessary to inherit the value from API 29. Also remove the override action from applyAppSystemUiTheme , since enforceNavigationBarContrast could already changed from app side during launch, override it from attribute doesn't make sense.( Ic2cd9 )
  • Set default light navigation bar which respects day/night theme. So for API 33+ platform, the splash screen theme won't cause flicker while removing the splash screen. ( I8023a )
  • Do not overwrite activity theme after receiving the splash screen view from api 33.( I10587b )

Version 1.1

Version 1.1.0-rc01

3 апреля 2024 г.

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

Исправлены ошибки

Version 1.1.0-alpha02

6 сентября 2023 г.

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

Исправлены ошибки

  • Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )

Dependency Update

  • Core-Splashscreen now compiles against API 34.

Version 1.1.0-alpha01

22 февраля 2023 г.

androidx.core:core-splashscreen:1.1.0-alpha01 is released. This was developed in an internal branch.

Исправлены ошибки

  • Fixed a NullPointerException when SplashScreenView#getIconView returned null. ( e231ab )

Версия 1.0

Version 1.0.1

April 19, 2023

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

Исправлены ошибки

  • Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )

Версия 1.0.0

July 27, 2022

The core SplashScreen library brings the new Android 12 splash screen to all devices from API 23. Using the splash screen library, your application doesn't need any custom SplashScreen Activity and leverages the right APIs for a fast launch of your application. To use it, simply follow the steps outlined in our guide . For more information about the Android 12 splash screen, visit the official documentation .

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

Version 1.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.

Version 1.0.0-beta02

March 23, 2022

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

Исправлены ошибки

  • Fixed Lateinit property platformView has not been initialized ( b/214835299 )

External Contribution

  • Fix rendering issue on MIUI with dark mode and Explicitly set android:animateLayoutChanges to false to avoid the fading animation when removing the splash screen in the OnExitAnimationListener ( #327 )

Version 1.0.0-beta01

January 12, 2022

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

Исправлены ошибки

  • Better night mode handling ensures that night mode is handled when the default parameters are used on all APIs. 2d1d182

Fixes bugs introduced in the new splash screen on Android 12:

  • Fix systemBar flickering on API 31: Ensure that the system bars do not flicker when customizing the exit animation. 5a75362
  • Fix insets handling when using OnExitAnimationListener: Ensures that the content does not jump when the OnExitAnimationListener is used. 4c8f264

Version 1.0.0-alpha02

29 сентября 2021 г.

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

Новые функции

  • Better insets support: The splash screen now shows full screen on all APIs even when the OnExitAnimationListener is set.
  • postSplashScreenTheme is optional: you can simply call activity.setTheme() before onCreate() to set your app theme after the splash screen is shown.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , you can add a background to the splash screen icon.
  • The sizing of the icon has been corrected to match the platform's specs.

API Changes

Исправлены ошибки

  • Make postSplashScreenTheme optional ( I8c4bf )

Version 1.0.0-alpha01

June 30, 2021

androidx.core:core-splashscreen:1.0.0-alpha01 is released.

Новые функции

  • core-splashscreen provides backward compatibility for the new Splash Screen APIs . This first alpha version contains all the new APIs backported down to API 23, with the exception of the icon background.
  • See the KDocs in androidx.core.splashscreen for usage information.

Core-Animation и Core-Animation-Testing

Версия 1.0

Версия 1.0.0

1 мая 2024 г.

androidx.core:core-animation:1.0.0 and androidx.core:core-animation-testing:1.0.0 are released. Version 1.0.0 contains these commits .

Major features of 1.0.0

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Version 1.0.0-rc01

26 июля 2023 г.

androidx.core:core-animation:1.0.0-rc01 , androidx.core:core-animation-testing:1.0.0-rc01 , and androidx.core:core-remoteviews:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

Новые функции

  • RemoteViews moves moved to rc01 after stabilizing in beta.

Version 1.0.0-beta01

April 20, 2022

androidx.core:core-animation:1.0.0-beta01 is released with no changes since 1.0.0-alpha02. Version 1.0.0-beta01 contains these commits.

Core-Animation Core-Animation-Testing Version 1.0.0-alpha02

August 19, 2020

androidx.core:core-animation:1.0.0-alpha02 and androidx.core:core-animation-testing:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

Исправлены ошибки

  • Fix AnimatorSet with multiple Animators for a single property. ( aosp/1351310 )

Core-Animation Version 1.0.0-alpha01

15 апреля 2020 г.

androidx.core:core-animation:1.0.0-alpha01 and androidx.core:core-animation-testing:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

Новые функции

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Core-Backported-Fixes

Версия 1.0

Версия 1.0.0

17 декабря 2025 г.

androidx.core:core-backported-fixes:1.0.0 is released. Version 1.0.0 contains these commits .

Version 1.0.0-rc01

3 декабря 2025 г.

androidx.core:core-backported-fixes:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .

Исправлены ошибки

Version 1.0.0-beta02

November 05, 2025

androidx.core:core-backported-fixes:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits .

API Changes

Исправлены ошибки

  • Mark specific pixel builds as fixed. ( I4c751 , b/398591036 )
  • Add support for specifying a list of manually tested build fingerprints for a KnownIssue. ( Iea9f9 , b/453691379 )

Version 1.0.0-beta01

24 сентября 2025 г.

androidx.core:core-backported-fixes:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha01

13 августа 2025 г.

androidx.core:core-backported-fixes:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

Новые функции

  • The Core Backported Fixes library lets you check if a critical bug fix has been applied to a device. This is useful because it can take a long time for bug fixes to be rolled out to all devices, and this API provides a way for you to know when it is safe to use features that depend on a fix.

    val fixManager = BackportedFixManager()
        if (fixManager.isFixed(KnownIssues.KI_1234)) {
          Offer_experience_that_needs_fix()
        } else {
          Offer_experience_that_avoids_the_bug()
      }
    

This release includes

  • KnownIssues.KI_398591036 : Abnormal color tone when capturing JPEG-R images on some Pixel devices. Fix by using JPEG outputs until this KI is resolved.

Core-i18n

Версия 1.0

Версия 1.0.0

9 апреля 2025 г.

androidx.core:core-i18n:1.0.0 is released.

The component makes it easier to create properly internationalized applications, focusing on two main areas:

  • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
  • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.

The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-rc01

26 марта 2025 г.

androidx.core:core-i18n:1.0.0-rc01 is released with no notable changes since the last beta. Version 1.0.0-rc01 contains these commits .

Version 1.0.0-beta01

12 марта 2025 г.

androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

Новые функции

  • This is the first release of the core-i18n component. The component makes it easier to create properly internationalized applications, focusing on two main areas:
    • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
    • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.
    • The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-alpha01

26 июля 2023 г.

androidx.core:core-i18n:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Core-location-altitude

Версия 1.0

Version 1.0.0-rc01

11 марта 2026 г.

androidx.core:core-location-altitude:1.0.0-rc01 , androidx.core:core-location-altitude-external-protobuf:1.0.0-rc01 , and androidx.core:core-location-altitude-proto:1.0.0-rc01 are released with no notable changes since last beta. Version 1.0.0-rc01 contains these commits .

Version 1.0.0-beta01

November 05, 2025

androidx.core:core-location-altitude:1.0.0-beta01 , androidx.core:core-location-altitude-external-protobuf:1.0.0-beta01 , and androidx.core:core-location-altitude-proto:1.0.0-beta01 are released with no notable changes since the last alpha. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha03

October 16, 2024

androidx.core:core-location-altitude:1.0.0-alpha03 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha03 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits .

Security fix

  • As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on androidx.core:core-location-altitude-proto and androidx.core:core-location-altitude-external-protobuf to 1.1.0-alpha03 to address the vulnerability risk.

Исправлены ошибки

  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )

Version 1.0.0-alpha02

12 июня 2024 г.

androidx.core:core-location-altitude:1.0.0-alpha02 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits .

Исправлены ошибки

  • Fixes proguard failure caused by the repackaging of proto libraries.

External Contribution

  • Bug fix above provided by andrekir@pm.me

Version 1.0.0-alpha01

26 июля 2023 г.

androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

Новые функции

  • Added AltitudeConverterCompat class with a single static method addMslAltitudeToLocation(Context, Location) ( I11168 ).

Корон-трубка

Версия 1.0

Version 1.0.0-alpha02

11 февраля 2026 г.

androidx.core:core-pip:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits .

Новые функции

  • Added BasicPictureInPicture and VideoPlaybackPictureInPicture to streamline standard implementations. The new VideoPlaybackPictureInPicture class allows the library to handle view-bounds tracking automatically, ensuring smoother visual transitions.

API Changes

  • Remove the onViewBoundsChanged API ( Ie56d0 , b/475328144 )
  • Add BasicPictureInPicture and VideoPlaybackPictureInPicture classes for typical PiP usages ( I7f989 , b/475328144 )

Исправлены ошибки

  • Add ViewBoundsTracker class to continuously track the view bounds for setting sourceRectHint in PictureInPictureParamsCompat . ( Id203a , b/474454111 )

Version 1.0.0-alpha01

14 января 2026 г.

androidx.core:core-pip:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

Новые функции

The PiP Jetpack library is introduced to address several challenges in Android's Picture-in-Picture (PiP) mode:

  • OS Fragmentation: The library handles differences in PiP API calls across Android versions, such as enterPictureInPictureMode before Android S and isAutoEnterEnabled after.
  • Incorrect PiP Parameters: It provides a unified solution for setting correct PiP parameters, especially for playback, to ensure smooth animations (eg, source rect hint).
  • Fragmented PiP State Callbacks: The library consolidates onPictureInPictureModeChanged and onPictureInPictureUiStateChanged into a single, unified callback interface for simplified state management.

API Changes

  • PictureInPictureDelegate class that helps setup PiP (Picture-in-Picture) functionalities on behalf of the given PictureInPictureProvider instance ( 8cf9588 ).
  • PictureInPictureDelegate.onPictureInPictureEvent interface that provides a unified callback for application to listen on Picture-in-Picture events ( 8cf9588 ).

Исправлены ошибки

  • Add PictureInPictureParamsValidator class to validate the app provided PictureInPictureParamsCompat ( I89b4d , b/470149490 )
  • A dedicated :core:core-pip library is introduced to help app developers implementing the Android PiP (Picture-in-Picture) feature ( I8ebc5 , b/462178249 )

Основная роль

Version 1.1

Версия 1.1.0

12 марта 2025 г.

androidx.core:core-role:1.1.0 is released. Version 1.1.0 contains these commits .

Version 1.1.0-rc01

15 декабря 2021 г.

androidx.core:core-role:1.1.0-rc01 is released with no changes since 1.1.0-alpha01 . Version 1.1.0-rc01 contains these commits.

Core-Role Version 1.1.0-alpha01

15 апреля 2020 г.

androidx.core:core-role:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

API Changes

  • Added role name for system gallery.

Версия 1.0

Версия 1.0.0

February 10, 2021

androidx.core:core-role:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Core-Role Version 1.0.0-rc01

15 апреля 2020 г.

androidx.core:core-role:1.0.0-rc01 is released with no changes since 1.0.0-beta01 . Version 1.0.0-rc01 contains these commits.

Core-Role Version 1.0.0-beta01

November 20, 2019

androidx.core:core:1.0.0-beta01 is released with no changes since 1.0.0-alpha01 . Version 1.0.0-beta01 contains these commits .

Core-Role Version 1.0.0-alpha01

July 2, 2019

androidx.core:core-role:1.0.0-alpha01 is released. This is the first release of androidx.core:core-role . The commits included in this initial version can be found here .

Новые функции

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Core-telecom

Version 1.1

Version 1.1.0-alpha05

22 апреля 2026 г.

androidx.core:core-telecom:1.1.0-alpha05 is released. Version 1.1.0-alpha05 contains these commits .

Исправлены ошибки

  • Fixed an issue on Android 14-16 where audio calls might unexpectedly route to speaker on the call start ( Ic7000 , b/491932378 )
  • Fixed a crash ( IllegalStateException ) in core-telecom that could occur if the Telecom framework or a remote service dispatched connection events multiple times during extension setup. ( I00f82 , b/476724351 )
  • Telecom will now use a fallback heuristic to identify wearable devices for audio routing decisions when the BLUETOOTH_CONNECT permission is denied. ( Iec271 , b/499302063 )

Version 1.1.0-alpha04

March 25, 2026

androidx.core:core-telecom:1.1.0-alpha04 is released. Version 1.1.0-alpha04 contains these commits .

Исправлены ошибки

  • Fixed an issue on older Android versions where incoming or upgraded video calls would sometimes incorrectly route audio to the earpiece. The library now enforces a switch to the speaker if this misrouting is detected. ( I0fc797 , I29fd22 )
  • Removed A2DP Bluetooth devices from the list of available endpoints shown in the pre-call screen, as these devices are not supported for voice communication by the Android platform Telecom framework. This aligns the available devices with platform behavior. ( I98b729 )
  • Skipped running call extensions logic for managed calls to prevent potential crashes or unexpected behavior. ( I177905 )

Version 1.1.0-alpha03

11 февраля 2026 г.

androidx.core:core-telecom:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits .

Новые функции

  • Opt-out of Premium Network Slicing: Introduced a new capability, CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK , in CallsManager . This allows VoIP applications to signal that they wish to opt-out of the system's default behavior of requesting premium network slices for voice and video calls. By default, the system may automatically request a premium network slice to improve call quality. This capability can be passed during registerAppWithTelecom . ( I2dfdb )
  • Control Microphone Mute Capability: Added APIs to allow VoIP apps to inform remote surfaces (like Android Auto, wearables) whether the user should be able to control the microphone state. This is useful in scenarios where the user is restricted from changing their mute state, such as being in a moderated meeting, joining as a passive viewer, or using Companion Mode. ( I55acf )

API Changes

  • Added CallsManager.CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK : Use this flag with registerAppWithTelecom(int) to prevent the system from automatically requesting premium network capabilities. kotlin val callsManager = CallsManager(context) // Register with Telecom, opting out of premium network requests callsManager.registerAppWithTelecom(CallsManager.CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK)
  • onCanUserUpdateSilence is now an optional ( Ibb0c2 )
  • Add APIs to inform surfaces on whether the mic should be shown or not ( I55acf )

Исправлены ошибки

  • Fixed a NullPointerException in JetpackConnectionService caused by a race condition when accessing pending connection requests. This was resolved by switching to a CopyOnWriteArrayList for thread-safe iterations. ( I24306 )
  • Corrected an issue in the Meeting Summary extension where a literal string "null" was emitted instead of a true null value for the current speaker. ( Idae9a )

Version 1.1.0-alpha01

October 8th, 2025

androidx.core:core-telecom:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits .

Новые функции

  • Added the ability for applications to request that a specific call not be saved in the system call log, even if the app has generally opted into call logging. This feature is only effective on devices running Build.VERSION.SDK_INT_FULL >= Build.VERSION_CODES_FULL.BAKLAVA_1 .

API Changes

  • Introduced the optional isLogExcluded Boolean property to the CallAttributesCompat data class. Setting this to true requests the system to exclude the call from the call log. On older platform versions, this property has no effect. Please note that VoIP calls are not logged to the system call log by default. Developers must first explicitly opt-in their application to participate in system call logging. This requires declaring an intent handler for android.telecom.action.CALL_BACK in the app's manifest. The new isLogExcluded property provides a per-call exclusion option for apps that have already enabled this integration. ( d14695 )

Версия 1.0

Version 1.0.1

27 августа 2025 г.

androidx.core:core-telecom:1.0.1 is released. Version 1.0.1 is a bug-fix release that includes the following improvements which can be found in the these commits .

Исправлены ошибки

  • Audio Routing and Endpoint Handling
    • Resolved an issue where a user's selected pre-call audio endpoint (eg, Earpiece) would be incorrectly switched to Speaker when a video call starts. The library now ensures the user's preferred audio route is maintained. ( 8fa4ba7 , 71d7be8 )
    • Improved the audio switching logic to prevent calls from automatically switching from Bluetooth headset to Speaker, especially when the Bluetooth device takes a moment to connect. This check requires the BLUETOOTH_CONNECT permission to differentiate between device types.( de83f3e )
    • Optimized the auto-speaker functionality for video calls for users without Bluetooth devices. The library now performs a less intrusive check for Bluetooth devices before requesting the BLUETOOTH_CONNECT permission, improving the experience for non-Bluetooth users. ( 721f4e2 )
  • Stability and Crash Fixes
    • Fixed NullPointerException crashes that could occur during audio endpoint processing. The library now correctly handles inconsistent state management in PreCallEndpointsUpdater and filters null elements from the system's AudioDeviceInfo array to improve stability. ( 23dd075 , 03eb616 )

Версия 1.0.0

7 мая 2025 г.

androidx.core:core-telecom:1.0.0 is released. Version 1.0.0 contains these commits .

Major features of 1.0.0

  • Initial stable release of core-telecom API, focusing on CallsManager API surface for integration of VoIP calls into the Android platform.

Version 1.0.0-rc01

9 апреля 2025 г.

androidx.core:core-telecom:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .

Новые функции

New experimental API call extensions. The new experimental extensions added in this release are:

  • Support for a Meeting Summary Remote Extension, allowing a remote surface to receive meeting summary information (current speaker and participant count) from the connected VoIP application. ( 7cf095f )
  • Support for a Call Icon Extension that allows a VoIP app to send an Icon Uri to a remote InCallService (auto, watch face, etc.). The Icon can be updated throughout the call and can have the same URI value. ( 8e1813e )

Version 1.0.0-beta01

11 декабря 2024 г.

androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

Новые функции

Beta release for the following new features:

  • Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
  • Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
    • Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
      • Raising and lowering the hands of participants.
      • Kicking participants.
    • Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.

API Changes

  • Rename addLocalSilenceExtension to addLocalCallsilenceExtension ( If4a9c )
  • Change preferredStartingCallEndpoint from var to val . ( Iab6b7 )
  • Add local call silence APIs ( I29dd0 )
  • Implement the compareTo function for the CallEndpointCompat class ( Ia06b7 )
  • Adds experimental app actions API. ( Ifb796 )
  • Add new CallsManager API getAvailableStartingCallEndpoints ( Ia8bcf )
  • Update ExperimentalAppActions annotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )

Исправлены ошибки

  • Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
  • Fixes an issue where only the latest connected InCallService would be able to send action events ( I39599 )
  • Implements ICS Extensions API for voip app actions. ( I1274c )
  • Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
  • addCall now properly throws Exceptions through the API instead of the parent coroutine ( I83334 )
  • Add a placeholder value to extras bundle ( Iebf7f )
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
  • Adds experimental support for extensions to CallsManager#addCall . ( I24d92 )
  • Core-Telecom will now throw a CallException if the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )

Version 1.0.0-alpha03

17 апреля 2024 г.

androidx.core:core-telecom:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits .

Исправлены ошибки

  • Refactor of JetpackConnectionService to correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactored JetpackConnectionService is also resilient to unexpected NULL values from Telecom platform APIs.
  • Improvements to addCall/CallControlScope API documentation.
  • Test reliability improvements.

Version 1.0.0-alpha02

4 октября 2023 г.

androidx.core:core-telecom:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
  • Moved the CallControlCallback methods as lambda args to addCall to remove the need to explicitly provide a callback in the call scope.

Исправлены ошибки

  • Fixed a bug in the ConnectionService compatibility layer which would have resulted in no call audio when running against pre-U SDKs.
  • Improve API documentation.

Version 1.0.0-alpha01

10 мая 2023 г.

androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.

Новые функции

  • Introduces the CallsManager API which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.

    The CallsManager API wraps the legacy ConnectionService API for devices running older versions of Android.

Core-viewtree

Версия 1.0

Версия 1.0.0

26 февраля 2025 г.

androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.

This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. See the documentation for more information.

Version 1.0.0-rc01

12 февраля 2025 г.

androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.

Version 1.0.0-beta01

29 января 2025 г.

androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha01

11 декабря 2024 г.

androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

Новые функции

  • Initial release of core-viewtree , transitively exposed by androidx core.

  • This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by transition. You can also specify your own disjoint parents for views. See the documentation for more information.

API Changes

  • Adds ViewParent.getParentOrViewTreeDisjointParent() and ViewParent.setViewTreeDisjointParent(View, ViewParent?) methods ( Ib2950 )