Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dfb3e61 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am cc084f1d: Fix superfluous onError callbacks.

* commit 'cc084f1d':
  Fix superfluous onError callbacks.
parents 55d3880e cc084f1d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
        }