Disable on-demand service in product TV 10/205510/1
authorjiyong.min <jiyong.min@samsung.com>
Fri, 3 May 2019 00:59:52 +0000 (09:59 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Tue, 7 May 2019 05:04:07 +0000 (14:04 +0900)
[Cause]
It spent 100~200ms to execute mediacontroller daemon by systemd.
When application starts, the handle creation spent 200~300ms.

[Solution]
The mediacontroller daemon will starts on boot in product TV.
After this patch, the handle creation spent 30~50ms.

Change-Id: Ibc85df6f7dde8e31e3ceb197d5da5051dd87bf99

packaging/capi-media-controller.spec

index a6ff7b2adbb978aa9741e61ccddefffcc2d2c005..3f4c5b440ca34c509b7cccbfb43971b34227fca3 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.1.81
+Version:    0.1.82
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -25,7 +25,11 @@ BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(capi-appfw-app-control)
 
 # socket activation enable(1), disable(0)
+%if "%{tizen_profile_name}" == "tv"
+%define on_demand 0
+%else
 %define on_demand 1
+%endif
 
 %description
 This package provides a media controller library in Tizen Native API