Change-Id: I9532753400e8e10ebec5e1d2f81558a55c6c67a7
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/voice-recognition-blacklist
DESTINATION /opt/var/lib/bluetooth/)
+
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf.in ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-ag-agent.conf DESTINATION /etc/dbus-1/system.d)
--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy group="system">
+ </policy>
+ <policy group="root">
+ </policy>
+ <policy group="pulse">
+ <allow own="Org.Hfp.App.Interface"/>
+ <allow send_interface="Org.Hfp.App.Interface"/>
+ <allow send_destination="Org.Hfp.App.Interface"/>
+ <allow send_type="method_call"/>
+ </policy>
+</busconfig>
+
%attr(0666,-,-) /opt/var/lib/bluetooth/voice-recognition-blacklist
%endif
%{_datadir}/license/bluetooth-agent
+%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf