X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fdbus.git;a=blobdiff_plain;f=bus%2Factivation.c;h=cd77faa83112a8a4090f7fffef771470003215b2;hp=124f91bf2666564a26038ee1143667326fbbbbff;hb=bd6d8d261df61ed8b396434e5a80285d43184d6c;hpb=2e2938fcf4e5bc09d8ef24a681fe69d927432088 diff --git a/bus/activation.c b/bus/activation.c index 124f91b..cd77faa 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -1187,7 +1187,14 @@ bus_activation_send_pending_auto_activation_messages (BusActivation *activation { DBusConnection *addressed_recipient; - addressed_recipient = bus_service_get_primary_owners_connection (service); + /* kdbus change - we can not send anything using phantom connections + * (DBusConnection structures for services other than daemon) + * so we have to use daemon connection + */ + if(bus_context_is_kdbus(bus_transaction_get_context (transaction))) + addressed_recipient = entry->connection; + else + addressed_recipient = bus_service_get_primary_owners_connection (service); /* Resume dispatching where we left off in bus_dispatch() */ if (!bus_dispatch_matches (transaction,