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
1 changed files with 2 additions and 1 deletions

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;
}