iface-modem-messaging: flush sms list update before notifying added/removed
So that clients are able to have the full updated list before the list update notification.
This commit is contained in:
@@ -498,6 +498,8 @@ update_message_list (MmGdbusModemMessaging *skeleton,
|
|||||||
paths = mm_sms_list_get_paths (list);
|
paths = mm_sms_list_get_paths (list);
|
||||||
mm_gdbus_modem_messaging_set_messages (skeleton, (const gchar *const *)paths);
|
mm_gdbus_modem_messaging_set_messages (skeleton, (const gchar *const *)paths);
|
||||||
g_strfreev (paths);
|
g_strfreev (paths);
|
||||||
|
|
||||||
|
g_dbus_interface_skeleton_flush (G_DBUS_INTERFACE_SKELETON (skeleton));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user