If the key value of VCONFKEY_MASTER_STARTED is 0, then notification_ipc_monitor_register
is not called in notification.
Change-Id: I6b062c2ff20aea6b1f243e2c50dadb9b9b87c5ab
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
AC_SUBST(DLOPEN_LIBS)
-PKG_CHECK_MODULES([TIZEN], [eina ecore com-core notification dbus-1 bluetooth-api dlog libwlmessage])
+PKG_CHECK_MODULES([TIZEN], [eina ecore com-core notification dbus-1 bluetooth-api dlog libwlmessage vconf vconf-internal-keys])
AC_SUBST(TIZEN_CFLAGS)
AC_SUBST(TIZEN_LIBS)
#include <Ecore.h>
+#include <notification_service.h>
#include <unistd.h>
+#include <vconf.h>
+#include <vconf-internal-livebox-keys.h>
int
main(int argc, char **argv)
goto shutdown;
}
+ vconf_set_bool(VCONFKEY_MASTER_STARTED, 1);
ecore_main_loop_begin();
shutdown:
+ vconf_set_bool(VCONFKEY_MASTER_STARTED, 0);
ecore_shutdown();
+
return 0;
}
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(libwlmessage)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(vconf-internal-keys)
%{?systemd_requires}
%description