From 84deb60cf1055385b9922811e5942076dd72e315 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Wed, 27 Jul 2011 13:22:09 +0100 Subject: [PATCH] Reduce the priority of the TTS thread. It's at a very high priority currently - and will trump foreground processes (and UI threads) which it shouldnt. bug:5076001 Change-Id: I0d71c2941950782491ae31526a47ea6f97c38ffb --- core/java/android/speech/tts/TextToSpeechService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/speech/tts/TextToSpeechService.java b/core/java/android/speech/tts/TextToSpeechService.java index 1926c92da0231..b4e8ab4e698ec 100644 --- a/core/java/android/speech/tts/TextToSpeechService.java +++ b/core/java/android/speech/tts/TextToSpeechService.java @@ -227,7 +227,7 @@ public abstract class TextToSpeechService extends Service { private boolean mFirstIdle = true; public SynthThread() { - super(SYNTH_THREAD_NAME, android.os.Process.THREAD_PRIORITY_AUDIO); + super(SYNTH_THREAD_NAME, android.os.Process.THREAD_PRIORITY_DEFAULT); } @Override