1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-29 03:55:49 +01:00

Bangle.js: add support for SMS replies

This commit is contained in:
Gordon Williams 2024-03-28 08:31:07 +00:00
parent 665656ddc0
commit 323f8028e0

View File

@ -1280,7 +1280,8 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
if (notificationSpec.attachedActions!=null)
for (int i=0;i<notificationSpec.attachedActions.size();i++) {
NotificationSpec.Action action = notificationSpec.attachedActions.get(i);
if (action.type==NotificationSpec.Action.TYPE_WEARABLE_REPLY) {
if (action.type==NotificationSpec.Action.TYPE_WEARABLE_REPLY ||
action.type==NotificationSpec.Action.TYPE_SYNTECTIC_REPLY_PHONENR) {
mNotificationReplyAction.add(notificationSpec.getId(), action.handle);
canReply = true;
}