Skip to content

Commit 3a6cacd

Browse files
vdinak240ramasat
authored andcommitted
SERXIONE-6222: VG is getting disabled if device is rebooted post activation
Reason for change: tts enable status not updated from downloader thread Test Procedure: Mentioned in ticket Risks: Low Signed-off-by: vdinak240 <[email protected]>
1 parent 442e306 commit 3a6cacd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

TextToSpeech/impl/TTSDownloader.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,8 @@ bool TTSDownloader::downloadFile(std::string ttsRequest)
144144
void TTSDownloader::saveConfiguration(std::string path)
145145
{
146146
TTSLOG_INFO("TTSDownloader saveconfiguration path %s\n", path.c_str());
147-
m_objectMutex.lock();
148-
m_config.saveFallbackPath(path);
149-
m_config.updateConfigStore();
150147
m_defaultConfig.saveFallbackPath(path);
151-
m_objectMutex.unlock();
148+
m_defaultConfig.updateConfigStore();
152149
}
153150

154151
}//end of namespace TTS

0 commit comments

Comments
 (0)