Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dbus] Allow use of sender in signal matching. JB#18661
The mce signal listener does not support matching sender names. This is not a problem as long as the interfaces and member names are unique enough. But when tracking signals from standard dbus interfaces such as InterfacesAdded and InterfacesRemoved from org.freedesktop.DBus.ObjectManager / PropertiesChanged from org.freedesktop.DBus.Properties interface, the sender must be included in the rule to avoid unnecessary i/o and scheduling. Make it possible to define sender name when installing mce D-Bus signal listeners. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters