aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/main/AndroidManifest.xml5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 25af8101..8401ac53 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -6,7 +6,7 @@ android {
defaultConfig {
applicationId "github.daneren2005.dsub"
minSdkVersion 15
- targetSdkVersion 28
+ targetSdkVersion 29
versionCode 205
versionName '5.5.1'
setProperty("archivesBaseName", "DSub $versionName")
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 11ae1768..2572bbb5 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -22,7 +22,7 @@
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
@@ -91,7 +91,8 @@
</activity>
<service android:name="github.daneren2005.dsub.service.DownloadService"
- android:label="DSub Playback Service"/>
+ android:label="DSub Playback Service"
+ android:foregroundServiceType="location"/>
<service android:name="github.daneren2005.dsub.service.AutoMediaBrowserService"
android:exported="true">