mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 09:01:55 +01:00
Huawei: Set phone number to notification.
This commit is contained in:
parent
21f8b88746
commit
dd7d63fa07
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user