diff options
| author | Narayan Kamath <narayan@google.com> | 2011-07-27 13:22:09 +0100 |
|---|---|---|
| committer | Narayan Kamath <narayan@google.com> | 2011-07-27 13:22:09 +0100 |
| commit | 84deb60cf1055385b9922811e5942076dd72e315 (patch) | |
| tree | e381559dd84cb99f8cec4e24ef30120bef014dac /core/java/android/speech | |
| parent | f4a28b5aa0c81086c55497ff921a80335ffe22d1 (diff) | |
| download | frameworks_base-84deb60cf1055385b9922811e5942076dd72e315.zip frameworks_base-84deb60cf1055385b9922811e5942076dd72e315.tar.gz frameworks_base-84deb60cf1055385b9922811e5942076dd72e315.tar.bz2 | |
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
Diffstat (limited to 'core/java/android/speech')
| -rw-r--r-- | core/java/android/speech/tts/TextToSpeechService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeechService.java b/core/java/android/speech/tts/TextToSpeechService.java index 1926c92..b4e8ab4 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 |
