fix(api,service): from intent api, launch record service on foreground
Fixes : https://github.com/OpenTracksApp/OpenTracks/issues/1904 As record service uses foreground notification, replaces the launch of the the record service from intent api.
Uses
executeForeground
Instead of
execute
Please review and ajust (if needed) before merge, as my knowledge of the code base is close to null for now.
Thanks.
We've been discussing this in https://github.com/hbldh/bleak/issues/1621.
My preference would be to move this to a separate function in addition to adding the require permissions for newer Android versions.
We've been discussing this in #1621.
My preference would be to move this to a separate function in addition to adding the require permissions for newer Android versions.
done
Also, we will need a changelog entry explaining that this is a breaking change.
updated according to review notes
github action should have started itself after pushing new version. It takes way to much time to fix all lint.
Don't worry about the linting, I can fix it when I get back to this.
any chance to get it merged?