From e54abaa75d1e464acf92c68f2b08d8d95c486117 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 9 Jan 2024 07:13:14 -0800 Subject: [PATCH] Increase `minSdk` to 19 This is aligned with all other AndroidX libraries, and is required for us to upgrade to the latest versions of our AndroidX dependencies: https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html PiperOrigin-RevId: 596923511 --- RELEASENOTES.md | 4 ++++ constants.gradle | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 7b3ec23040..e3a7bb9f13 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -11,6 +11,10 @@ lower-case. * Define ads with a full `MediaItem` instead of a single `Uri` in `AdPlaybackState`. + * Increase `minSdk` to 19 (Android KitKat). This is + [aligned with all other AndroidX libraries](https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html), + and is required for us to upgrade to the latest versions of our AndroidX + dependencies. * ExoPlayer: * Add `PreloadMediaSource` and `PreloadMediaPeriod` that allows apps to preload the media source at a specific start position before playback, diff --git a/constants.gradle b/constants.gradle index aeb8bbd3a5..231938bcc8 100644 --- a/constants.gradle +++ b/constants.gradle @@ -14,7 +14,7 @@ project.ext { releaseVersion = '1.2.1' releaseVersionCode = 1_002_001_3_00 - minSdkVersion = 16 + minSdkVersion = 19 // See https://developer.android.com/training/cars/media/automotive-os#automotive-module automotiveMinSdkVersion = 28 appTargetSdkVersion = 34