Huawei: Set phone number to notification.

This commit is contained in:
Me7c7 2025-01-04 12:44:35 +02:00 committed by José Rebelo
parent 21f8b88746
commit dd7d63fa07

View File

@ -16,6 +16,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. */ along with this program. If not, see <https://www.gnu.org/licenses/>. */
package nodomain.freeyourgadget.gadgetbridge.service.devices.huawei.requests; package nodomain.freeyourgadget.gadgetbridge.service.devices.huawei.requests;
import android.text.TextUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -93,6 +95,7 @@ public class SendNotificationRequest extends Request {
params.replyKey = replyKey; params.replyKey = replyKey;
params.channelId = notificationSpec.channelId; params.channelId = notificationSpec.channelId;
params.category = notificationSpec.category; params.category = notificationSpec.category;
params.address = notificationSpec.phoneNumber;
this.packet = new Notifications.NotificationActionRequest( this.packet = new Notifications.NotificationActionRequest(