From dd7d63fa07adfd4a04450be6e8332006f859b056 Mon Sep 17 00:00:00 2001 From: Me7c7 Date: Sat, 4 Jan 2025 12:44:35 +0200 Subject: [PATCH] Huawei: Set phone number to notification. --- .../devices/huawei/requests/SendNotificationRequest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java index 4a1ec1e12..65deee9b4 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java @@ -16,6 +16,8 @@ along with this program. If not, see . */ package nodomain.freeyourgadget.gadgetbridge.service.devices.huawei.requests; +import android.text.TextUtils; + import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -93,6 +95,7 @@ public class SendNotificationRequest extends Request { params.replyKey = replyKey; params.channelId = notificationSpec.channelId; params.category = notificationSpec.category; + params.address = notificationSpec.phoneNumber; this.packet = new Notifications.NotificationActionRequest(