From 3893379bd1a39789f8f05874644fc137b4ebd384 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Thu, 29 Sep 2016 15:08:55 +0900 Subject: [PATCH] Fix buxton key layer Change-Id: I7f8504d3cd1ec582d1aac6ac7fa30eb2f97adb12 Signed-off-by: sooyeon.kim --- common/tts_config_mgr.c | 2 +- org.tizen.voice.ttsnotiserver.service | 2 +- org.tizen.voice.ttsserver.service | 2 +- org.tizen.voice.ttssrserver.service | 2 +- packaging/tts.spec | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/common/tts_config_mgr.c b/common/tts_config_mgr.c index 2a53f61..f764593 100644 --- a/common/tts_config_mgr.c +++ b/common/tts_config_mgr.c @@ -1394,7 +1394,7 @@ int __tts_set_buxtonkey(const char* engine) SLOG(LOG_ERROR, tts_tag(), "[DBUS-BUXTON2] buxton_open failed!! (%d)", ret); return TTS_CONFIG_ERROR_OPERATION_FAILED; } - bux_layer = buxton_create_layer("user"); + bux_layer = buxton_create_layer("system"); if (NULL == bux_layer) { SLOG(LOG_ERROR, tts_tag(), "[DBUS-BUXTON2] buxton_create_layer FAIL"); buxton_close(bux_cli); diff --git a/org.tizen.voice.ttsnotiserver.service b/org.tizen.voice.ttsnotiserver.service index 018f8ea..715d186 100644 --- a/org.tizen.voice.ttsnotiserver.service +++ b/org.tizen.voice.ttsnotiserver.service @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.tizen.voice.ttsnotiserver -Exec=/bin/sh -c "voice_getengine get user db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}-noti mode noti" +Exec=/bin/sh -c "voice_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}-noti mode noti" #Exec=/bin/sh -c "launch_app org.tizen.tts-engine-default-noti mode noti" diff --git a/org.tizen.voice.ttsserver.service b/org.tizen.voice.ttsserver.service index 432e4f9..4a92dde 100644 --- a/org.tizen.voice.ttsserver.service +++ b/org.tizen.voice.ttsserver.service @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.tizen.voice.ttsserver -Exec=/bin/sh -c "voice_getengine get user db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}" +Exec=/bin/sh -c "voice_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}" #Exec=/bin/sh -c "launch_app org.tizen.tts-engine-default" diff --git a/org.tizen.voice.ttssrserver.service b/org.tizen.voice.ttssrserver.service index 80b6f77..119f965 100644 --- a/org.tizen.voice.ttssrserver.service +++ b/org.tizen.voice.ttssrserver.service @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.tizen.voice.ttssrserver -Exec=/bin/sh -c "voice_getengine get user db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}-sr mode sr" +Exec=/bin/sh -c "voice_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i launch_app {}-sr mode sr" #Exec=/bin/sh -c "launch_app org.tizen.tts-engine-default-sr mode sr" diff --git a/packaging/tts.spec b/packaging/tts.spec index 55c3130..11b4e91 100644 --- a/packaging/tts.spec +++ b/packaging/tts.spec @@ -99,8 +99,6 @@ mkdir -p %{_libdir}/voice mkdir -p %{TZ_SYS_RO_SHARE}/voice/test -# buxton2ctl create-string # -buxton2ctl create-string "user" "db/voice/tts/engine/default" "org.tizen.tts-engine-default" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/platform" %postun -p /sbin/ldconfig -- 2.7.4