Merge branch 'master' of codeberg.org:Freeyourgadget/Gadgetbridge into menu-watchface

This commit is contained in:
Daniel Dakhno 2022-02-22 01:55:00 +01:00
commit 13428ae3f8
5 changed files with 13 additions and 5 deletions

View File

@ -15,8 +15,7 @@ If you just have a question, please ask first in the user chatroom in Matrix: `#
### I got Gadgetbridge from:
* [ ] F-Droid
* [ ] I built it myself from source code (specify tag / commit)
If you got it from Google Play, please note [that version](https://github.com/TaaviE/Gadgetbridge) is unofficial and not supported here; it's also often quite outdated. Please switch to one of the above versions if you can.
* [ ] I previously used Gadgetbridge from other sources and then updated to F-Droid version
#### Your issue is:
*If possible, please attach [logs](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Log-Files)! that might help identifying the problem.*

View File

@ -15,8 +15,7 @@ If you just have a question, please ask first in the user chatroom in Matrix: `#
### I got Gadgetbridge from:
* [ ] F-Droid
* [ ] I built it myself from source code (specify tag / commit)
If you got it from Google Play, please note [that version](https://github.com/TaaviE/Gadgetbridge) is unofficial and not supported here; it's also often quite outdated. Please switch to one of the above versions if you can.
* [ ] I previously used Gadgetbridge from other sources and then updated to F-Droid version
#### Your issue is:
*If possible, please attach [logs](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Log-Files)! that might help identifying the problem.*

View File

@ -14,9 +14,15 @@ You can use the `Preview` tab ^ above to see final rendering of your report. Use
#### Device information
- Adding an implementation for a new device requires a "willing to learn" developer, ideally with the device at hand. Without that, you may try to submit a device request and see if anyone steps up and implements it.
- Provide device name, manufacturer and similarity to other devices:
- Ideally, use an Android Bluetooth scanner app like nRF Connect or BLExplorer and provide screenshots of the scanned device from that app. This provides a name and some available UUIDs, which are needed for implementation. You may want to blur a MAC address for privacy reasons.
- Specify model and firmware version if possible:

View File

@ -881,6 +881,7 @@ public class NotificationListener extends NotificationListenerService {
String source = sbn.getPackageName();
if (source.equals("de.dennisguse.opentracks")
|| source.equals("de.dennisguse.opentracks.debug")
|| source.equals("de.dennisguse.opentracks.nightly")
|| source.equals("de.tadris.fitness")
|| source.equals("de.tadris.fitness.debug")
) {

View File

@ -85,6 +85,9 @@ public class OpenTracksController extends Activity {
public static void stopRecording(Context context) {
sendIntent(context, "de.dennisguse.opentracks.publicapi.StopRecording");
GBApplication.app().getOpenTracksObserver().finish();
OpenTracksContentObserver openTracksObserver = GBApplication.app().getOpenTracksObserver();
if (openTracksObserver != null) {
openTracksObserver.finish();
}
}
}