Fix the issue that not working screen reader after first booting 71/109471/1
authorsungwook79.park <sungwook79.park@samsung.com>
Tue, 10 Jan 2017 06:52:42 +0000 (15:52 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Tue, 10 Jan 2017 06:52:42 +0000 (15:52 +0900)
Change-Id: Ie0c94b6ddf299a7b77ad76b9b5abedea1f3e4c55
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
scl/utils/linux/sclutils-linux.cpp

index c9a3853..8d1e773 100644 (file)
@@ -89,6 +89,8 @@ static void accessibility_changed_cb(keynode_t *key, void* data)
     if (vconf_get_bool(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, &enabled) == 0) {
         LOGD("VCONFKEY_SETAPPL_ACCESSIBILITY_TTS : %d, (%p)", enabled, tts);
         if (enabled) {
+            CSCLContext *context = CSCLContext::get_instance();
+            context->set_tts_enabled(true);
             if (tts == NULL) {
                 LOGD("Initializing TTS\n");