mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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:
parent
c64d9fd6da
commit
2d3f464008
@ -15,14 +15,14 @@ project.ext {
|
|||||||
releaseVersion = '1.1.0'
|
releaseVersion = '1.1.0'
|
||||||
releaseVersionCode = 1_001_000_3_00
|
releaseVersionCode = 1_001_000_3_00
|
||||||
minSdkVersion = 16
|
minSdkVersion = 16
|
||||||
appTargetSdkVersion = 33
|
appTargetSdkVersion = 34
|
||||||
// API version before restricting local file access.
|
// API version before restricting local file access.
|
||||||
// https://developer.android.com/training/data-storage/app-specific
|
// https://developer.android.com/training/data-storage/app-specific
|
||||||
mainDemoAppTargetSdkVersion = 29
|
mainDemoAppTargetSdkVersion = 29
|
||||||
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
||||||
// additional robolectric config.
|
// additional robolectric config.
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 30
|
||||||
compileSdkVersion = 33
|
compileSdkVersion = 34
|
||||||
dexmakerVersion = '2.28.3'
|
dexmakerVersion = '2.28.3'
|
||||||
junitVersion = '4.13.2'
|
junitVersion = '4.13.2'
|
||||||
// Use the same Guava version as the Android repo:
|
// Use the same Guava version as the Android repo:
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<uses-sdk/>
|
<uses-sdk/>
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name="androidx.multidex.MultiDexApplication"
|
android:name="androidx.multidex.MultiDexApplication"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user