diff options
| author | 2010-01-25 11:46:43 -0800 | |
|---|---|---|
| committer | 2010-01-25 11:46:43 -0800 | |
| commit | b1cbc3525fd9cbef63510907251e6feaba151862 (patch) | |
| tree | aa43677cf6619743b8b1e534866024627e737d7e /media/libmedia/AudioSystem.cpp | |
| parent | 7bac72d8ed75e0ae1fa1c491ed9ad8bd261a7526 (diff) | |
| parent | 787aa597d497ffd3019fb64c244a1e944a5f8453 (diff) | |
Merge "Fix issue 2363154: Speech synthesis fails to start over A2DP after media server process crash."
Diffstat (limited to 'media/libmedia/AudioSystem.cpp')
| -rw-r--r-- | media/libmedia/AudioSystem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp index 5352234f7984..e1b17762a7cf 100644 --- a/media/libmedia/AudioSystem.cpp +++ b/media/libmedia/AudioSystem.cpp @@ -348,6 +348,9 @@ void AudioSystem::AudioFlingerClient::binderDied(const wp<IBinder>& who) { Mutex::Autolock _l(AudioSystem::gLock); AudioSystem::gAudioFlinger.clear(); + // clear output handles and stream to output map caches + AudioSystem::gStreamOutputMap.clear(); + AudioSystem::gOutputs.clear(); if (gAudioErrorCallback) { gAudioErrorCallback(DEAD_OBJECT); |