all: use compat when stopping foreground services

Use ServiceCompat.stopForeground instead of stopForeground.

This is preliminary preparation for Android 13. I can only change SDK
versions however when the Android Gradle Plugin makes a new release
though.
This commit is contained in:
OxygenCobalt
2022-06-16 15:35:16 -06:00
parent f187900d0c
commit cf8e887f9a
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
<string name="lbl_relative_path">Parent path</string>
<string name="lbl_format">Format</string>
<string name="lbl_size">Size</string>
<string name="lbl_bitrate">Bitrate</string>
<string name="lbl_bitrate">Bit rate</string>
<string name="lbl_sample_rate">Sample rate</string>
<string name="lbl_state_saved">State saved</string>