Skip to content

Commit 2d3f464

Browse files
toniheiicbaker
authored andcommitted
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
1 parent c64d9fd commit 2d3f464

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

constants.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ project.ext {
1515
releaseVersion = '1.1.0'
1616
releaseVersionCode = 1_001_000_3_00
1717
minSdkVersion = 16
18-
appTargetSdkVersion = 33
18+
appTargetSdkVersion = 34
1919
// API version before restricting local file access.
2020
// https://developer.android.com/training/data-storage/app-specific
2121
mainDemoAppTargetSdkVersion = 29
2222
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
2323
// additional robolectric config.
2424
targetSdkVersion = 30
25-
compileSdkVersion = 33
25+
compileSdkVersion = 34
2626
dexmakerVersion = '2.28.3'
2727
junitVersion = '4.13.2'
2828
// Use the same Guava version as the Android repo:

demos/session/src/main/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<uses-sdk/>
2121
<uses-permission android:name="android.permission.INTERNET" />
2222
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
23+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
2324

2425
<application
2526
android:name="androidx.multidex.MultiDexApplication"

0 commit comments

Comments
 (0)