From: jiyong.min Date: Fri, 3 May 2019 00:59:52 +0000 (+0900) Subject: Disable on-demand service in product TV X-Git-Tag: submit/tizen/20190507.051827~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b2695594cbeda8da3ccf511e3075e663f04352a;p=platform%2Fcore%2Fapi%2Fmedia-controller.git Disable on-demand service in product TV [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 --- diff --git a/packaging/capi-media-controller.spec b/packaging/capi-media-controller.spec index 0c0b3fe..05b7a31 100644 --- a/packaging/capi-media-controller.spec +++ b/packaging/capi-media-controller.spec @@ -1,6 +1,6 @@ Name: capi-media-controller Summary: A media controller library in Tizen Native API -Version: 0.1.87 +Version: 0.1.88 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