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
This commit is contained in:
ibaker 2024-01-09 07:13:14 -08:00 committed by Copybara-Service
parent 324e1beef2
commit e54abaa75d
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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