From ca519329c0cc04607286cebcdb0b7b304473ff96 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Mon, 22 Jul 2019 16:27:21 -0700 Subject: binding: mediaplayer: switch to G_BUS_TYPE_SYSTEM dbus session 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 (cherry picked from commit ee883c3f23b4a4b49730396e7522646b9c224ab4) --- binding/media-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.2.3-korg