mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Fossil Hybrid HR: Do not try remove notifications from the watch in unauthenticated mode
This does not seem to work and breaks all further communication with the watch.
This commit is contained in:
parent
2cbb42ba53
commit
faf8ca55c1
@ -921,6 +921,10 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
||||
public void onDeleteNotification(int id) {
|
||||
super.onDeleteNotification(id);
|
||||
|
||||
if (connectionMode == CONNECTION_MODE.NOT_AUTHENTICATED) {
|
||||
return;
|
||||
}
|
||||
|
||||
// send notification dismissal message to watch
|
||||
try {
|
||||
queueWrite(new DismissTextNotificationRequest(id, this));
|
||||
|
Loading…
Reference in New Issue
Block a user