• Sonny Sasaka's avatar
    dbus: Remove LOG(ERROR) in ObjectProxy · ad887b5a
    Sonny Sasaka authored
    It is a valid use case for a daemon to have multiple ObjectProxies of
    different services with the exact same object path and interface name.
    Currently, this may cause log pollution of "rejecting a message from a
    wrong sender" because one ObjectProxy receives signals intended for
    another ObjectProxy. Since it's actually a valid case and not a bug, it
    shouldn't be logged as error but it may still be logged with VLOG.
    
    Currently this is discovered in Bluetooth daemon (btdispatch) because it
    listens to both BlueZ's and Newblue's objects which have identical
    object paths and interfaces.
    
    Bug: 866704
    Change-Id: I25b6437ec6081e244a47c635c0adedf281530967
    Reviewed-on: https://chromium-review.googlesource.com/1164474Reviewed-by: default avatarRyo Hashimoto <hashimoto@chromium.org>
    Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581937}
    ad887b5a
object_proxy.cc 28.5 KB