Allow cancelling TTS

This commit is contained in:
M66B
2024-08-27 10:31:30 +02:00
parent 9106ce19d3
commit 15b0289fd5
3 changed files with 13 additions and 4 deletions

View File

@@ -1315,7 +1315,7 @@ public class EntityRule {
sb.append(context.getString(R.string.title_rule_tts_content))
.append(' ').append(preview);
TTSHelper.speak(context, "rule:" + message.id, sb.toString(), message.language);
TTSHelper.speak(context, "rule:" + message.id, sb.toString(), message.language, false);
}
private boolean onActionSnooze(Context context, EntityMessage message, JSONObject jargs) throws JSONException {