Update demo app target SDKs to 34

This helps to highlight and document new requirements for apps,
e.g. to add the FOREGROUND_SERVICE_MEDIA_PLAYBACK permission for
background playback.

Issue: google/ExoPlayer#11239
PiperOrigin-RevId: 548666056
This commit is contained in:
tonihei 2023-07-17 14:06:29 +01:00 committed by Ian Baker
parent c64d9fd6da
commit 2d3f464008
2 changed files with 3 additions and 2 deletions

View File

@ -15,14 +15,14 @@ project.ext {
releaseVersion = '1.1.0'
releaseVersionCode = 1_001_000_3_00
minSdkVersion = 16
appTargetSdkVersion = 33
appTargetSdkVersion = 34
// API version before restricting local file access.
// https://developer.android.com/training/data-storage/app-specific
mainDemoAppTargetSdkVersion = 29
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
// additional robolectric config.
targetSdkVersion = 30
compileSdkVersion = 33
compileSdkVersion = 34
dexmakerVersion = '2.28.3'
junitVersion = '4.13.2'
// Use the same Guava version as the Android repo:

View File

@ -20,6 +20,7 @@
<uses-sdk/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<application
android:name="androidx.multidex.MultiDexApplication"