aboutsummaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-07-22 16:27:21 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-07-25 13:09:27 +0000
commitca519329c0cc04607286cebcdb0b7b304473ff96 (patch)
tree647203d342110497aa1204ebf05f00a79d8c683d /binding
parentb2174f462d8da243b8ae7ea0955f614907a3bda7 (diff)
lightmediascanner now listens on the G_BUS_TYPE_SYSTEM dbus session and no longer the user's session. Bug-AGL: SPEC-2655 Change-Id: I054de128556b7d2cfcdd42d8ddc345befa3a2021 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit ee883c3f23b4a4b49730396e7522646b9c224ab4)
Diffstat (limited to 'binding')
-rw-r--r--binding/media-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-manager.c b/binding/media-manager.c
index f15d79e..549153b 100644
--- a/binding/media-manager.c
+++ b/binding/media-manager.c
@@ -220,7 +220,7 @@ static int MediaPlayerDBusInit(void)
GError *error = NULL;
MediaPlayerManage.lms_proxy = scanner1_proxy_new_for_bus_sync(
- G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE,
+ G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE,
LIGHTMEDIASCANNER_PATH, NULL, &error);
if (MediaPlayerManage.lms_proxy == NULL) {