Fixes TC-1563 - Blackscreen when launching Modello Phone 64/27064/1 accepted/tizen/ivi/20140908.201319 submit/tizen_ivi/20140908.173512
authorJimmy Huang <jimmy.huang@intel.com>
Thu, 4 Sep 2014 02:50:28 +0000 (19:50 -0700)
committerJimmy Huang <jimmy.huang@intel.com>
Thu, 4 Sep 2014 02:54:20 +0000 (19:54 -0700)
The previous commit moved Phoned to start on the system bus, but this
caused phone plugin to not able to connect to it over dbus as Phoned api
is registered on the session bus on DBUS.  Have phoned start on
the session bus for now.

Change-Id: I3f22e31e3e5c055b730ad32f838281fde4050c60
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
CMakeLists.txt
packaging/phoned.changes
packaging/phoned.spec
scripts/phoned.service

index 1155271..19a2c58 100644 (file)
@@ -67,7 +67,7 @@ ADD_DEFINITIONS("-std=c++11")
 
 SET(DESTINATION_PREFIX bin)
 SET(DBUS_SERVICE_PREFIX share/dbus-1/services)
-SET(SYSTEMD_SERVICE_PREFIX lib/systemd/system)
+SET(SYSTEMD_SERVICE_PREFIX lib/systemd/user)
 
 # -----------------------------------------------------------------------------
 # Macros for pkgconfig
index 11c1d09..a637126 100644 (file)
@@ -1,3 +1,6 @@
+* Wed Sep 03 2014 Jimmy Huang <jimmy.huang@intel.com> accepted/tizen/ivi/20140901.103829-1-ga645ab6
+- Fixes TC-1563 - Blackscreen when launching Modello Phone
+
 * Wed Aug 27 2014 Jimmy Huang <jimmy.huang@intel.com> submit/tizen/20140416.223255-3-g9e04e01
 - Fixed systemd unit files
 
index db14dcd..7d741bc 100644 (file)
@@ -33,12 +33,12 @@ make %{?jobs:-j%jobs} VERBOSE=1
 rm -rf %{buildroot}
 %make_install
 
-%install_service multi-user.target.wants phoned.service
+%install_service ../user/weston.target.wants phoned.service
 
 %files
 %{_libdir}/pkgconfig/phoned.pc
 %{_prefix}/bin/phoned
 %{_prefix}/share/dbus-1/services/org.tizen.phone.service
-%{_unitdir}/phoned.service
-%{_unitdir}/multi-user.target.wants/phoned.service
+%{_unitdir_user}/phoned.service
+%{_unitdir_user}/weston.target.wants/phoned.service
 
index 965d810..1988abc 100644 (file)
@@ -4,10 +4,8 @@ After=ofono.service
 
 [Service]
 Type=dbus
-User=app
 BusName=org.tizen.phone
 ExecStart=/usr/bin/phoned
-Type=simple
 
 [Install]
 WantedBy=multi-user.target