am cc084f1d: Fix superfluous onError callbacks.

* commit 'cc084f1d734c1e332d6acc1f89204036ee82bd0c':
  Fix superfluous onError callbacks.
This commit is contained in:
Narayan Kamath
2011-11-30 04:57:10 -08:00
committed by Android Git Automerger

View File

@@ -428,7 +428,8 @@ class AudioPlaybackHandler {
final AudioTrack audioTrack = params.getAudioTrack();
if (audioTrack == null) {
params.getDispatcher().dispatchOnError();
// There was already a call to handleSynthesisDone for
// this token.
return;
}