Emits the Size property of transfer after calling ->open() because it may update the size information. --- obexd/src/obex.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/obexd/src/obex.c b/obexd/src/obex.c index a4bae857f..ed219d3e7 100644 --- a/obexd/src/obex.c +++ b/obexd/src/obex.c @@ -779,6 +779,9 @@ int obex_put_stream_start(struct obex_session *os, const char *filename) return err; } + if (os->size != OBJECT_SIZE_DELETE && os->size != OBJECT_SIZE_UNKNOWN) + manager_emit_transfer_property(os->service_data, "Size"); + os->path = g_strdup(filename); return 0; -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html