Make PlaybackService perpetually foreground

Make PlaybackService never leave the foreground unless forced to, will add an option to close the service later.
This commit is contained in:
OxygenCobalt
2020-10-31 20:03:42 -06:00
parent afa50ad531
commit 09971afb42
6 changed files with 37 additions and 13 deletions
+3
View File
@@ -27,6 +27,9 @@
<service
android:name=".playback.PlaybackService"
android:icon="@drawable/ic_launcher_foreground"
android:foregroundServiceType="mediaPlayback"
android:exported="false"
android:enabled="true"
android:description="@string/label_service_playback"
android:stopWithTask="false" />
</application>