meta-agl-profile-graphical: update weston for dunfell
[AGL/meta-agl.git] / meta-agl-profile-core / recipes-connectivity / bluez5 / bluez5 / 0001-obex-report-notification-status-on-incoming-message.patch
1 From 0d85faf308285c6a1f77f01660a2ce0541bfa5b4 Mon Sep 17 00:00:00 2001
2 From: Matt Ranostay <matt.ranostay@konsulko.com>
3 Date: Wed, 12 Jun 2019 17:04:00 -0700
4 Subject: [PATCH] obex: report notification status on incoming message
5
6 To match doc/obex.txt on incoming message notification the respective
7 Status field should be set.
8 ---
9  obexd/client/map.c | 1 +
10  1 file changed, 1 insertion(+)
11
12 diff --git a/obexd/client/map.c b/obexd/client/map.c
13 index 550c5afb4..23be2d6b2 100644
14 --- a/obexd/client/map.c
15 +++ b/obexd/client/map.c
16 @@ -1914,6 +1914,7 @@ static void map_handle_notification(struct map_event *event, void *user_data)
17         switch (event->type) {
18         case MAP_ET_NEW_MESSAGE:
19                 map_handle_new_message(map, event);
20 +               map_handle_status_changed(map, event, "notification");
21                 break;
22         case MAP_ET_DELIVERY_SUCCESS:
23                 map_handle_status_changed(map, event, "delivery-success");
24 -- 
25 2.20.1
26