From 07013b1ce7824ac30abd75af83b2aa152aedc636 Mon Sep 17 00:00:00 2001 From: badaix Date: Fri, 5 Apr 2024 10:11:55 +0200 Subject: [PATCH] Change sdk version and add mediaPlayback service type --- Snapcast/build.gradle | 8 ++++++-- Snapcast/src/main/AndroidManifest.xml | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Snapcast/build.gradle b/Snapcast/build.gradle index ca90072..517fd5b 100644 --- a/Snapcast/build.gradle +++ b/Snapcast/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 34 + compileSdk 34 defaultConfig { applicationId "de.badaix.snapcast" minSdkVersion 21 - targetSdkVersion 33 + targetSdkVersion 34 versionCode 2700 versionName '0.27.0.0' multiDexEnabled true @@ -41,6 +41,10 @@ android { disable 'MissingTranslation' } namespace 'de.badaix.snapcast' + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } } dependencies { diff --git a/Snapcast/src/main/AndroidManifest.xml b/Snapcast/src/main/AndroidManifest.xml index 4cde0f8..6384938 100644 --- a/Snapcast/src/main/AndroidManifest.xml +++ b/Snapcast/src/main/AndroidManifest.xml @@ -6,8 +6,9 @@ - - + + + + android:exported="true" + android:foregroundServiceType="mediaPlayback" />