Mark foreground service to use location and connection to other devices, so it can run properly on Android 10+ when app is in the background.

Might fix #61.
This commit is contained in:
Dennis Guse
2019-11-05 20:37:01 +01:00
parent a288255ab1
commit 53572406e9
+1
View File
@@ -124,6 +124,7 @@ limitations under the License.
android:name=".services.TrackRecordingService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="location|connectedDevice"
android:icon="@drawable/ic_logo_color_24dp"
android:label="@string/recording_service" />
</application>