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

Commit bd874a80 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am e30bae7f: am b8341cf7: am 6d42d806: Merge change I9cc489a2 into eclair

Merge commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5'

* commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
parents dbd23c10 4659bf20
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ status_t AudioRecord::set(
    audio_io_handle_t input = AudioSystem::getInput(inputSource,
                                    sampleRate, format, channels, (AudioSystem::audio_in_acoustics)flags);
    if (input == 0) {
        LOGE("Could not get audio output for stream type %d", inputSource);
        LOGE("Could not get audio input for record source %d", inputSource);
        return BAD_VALUE;
    }

@@ -539,7 +539,6 @@ ssize_t AudioRecord::read(void* buffer, size_t userSize)
        return BAD_VALUE;
    }

    LOGV("read size: %d", userSize);

    do {