1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-12 17:26:35 +02:00
Gadgetbridge/app
Daniele Gobbetti eb49523524 Garmin: Add support for replying to notifications
This uses the (assumed) new method of passing multiple actions, instead of the (assumed) legacy accept/decline approach.
At the moment the preset messages stored on the watch firmware are used for replying, the code supports using custom messages already but those have to be updated to the watch somehow (probably by protobuf) and this is not supported yet. Using custom messages if they are not set will just do nothing.
The NotificationActionIconPosition values have been determined on a vĂ­vomove Style and might not work properly on other watches.
The evaluation of GBDeviceEvent have been moved in GarminSupport since the notification actions handling uses device events.

Also adds a method to read null terminated strings to GarminByteBufferReader.
Also adds a warning in NotificationListener if the wrong handle is used for replying to a notification.
2024-04-29 18:01:05 +02:00
..
src Garmin: Add support for replying to notifications 2024-04-29 18:01:05 +02:00
build.gradle Update hamcrest-library to 2.2 2024-04-15 23:45:55 +01:00
lint-baseline.xml Update linter baseline 2024-02-19 12:14:36 +01:00
proguard-rules.pro Garmin: Fix proguard rules for release builds 2024-04-29 18:01:05 +02:00