projects
/
platform
/
core
/
uifw
/
tts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af6b9b
)
Clear data when AUDIO_POLICY_BLOCKED is occurred
56/171256/1
author
sooyeon.kim
<sooyeon.kim@samsung.com>
Tue, 30 Jan 2018 08:41:41 +0000
(17:41 +0900)
committer
Sooyeon Kim
<sooyeon.kim@samsung.com>
Wed, 28 Feb 2018 02:41:13 +0000
(
02:41
+0000)
Change-Id: Ib8dccf450ccdfaa345fd4392c0831457817db4b6
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit
6b3ddc321eb6530a14c775cef4b783ad63cc80a0
)
server/ttsd_server.c
patch
|
blob
|
history
diff --git
a/server/ttsd_server.c
b/server/ttsd_server.c
index
72cee8f
..
966cc7a
100644
(file)
--- a/
server/ttsd_server.c
+++ b/
server/ttsd_server.c
@@
-822,6
+822,7
@@
int ttsd_server_play(int uid, const char* credential)
} else {
if (true == is_current_interrupt) {
SLOG(LOG_WARN, tts_tag(), "[Server WARNING] Current playback focus is set on Interrupt mode. Cannot play default, screen reader, and noti modes.");
+ ttsd_data_clear_data(uid);
return TTSD_ERROR_AUDIO_POLICY_BLOCKED;
}
}