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

Commit 8f992a17 authored by Dean Wheatley's avatar Dean Wheatley Committed by Mikhail Naganov
Browse files

Fix AudioSystem ioConfigChanged log statement

Test: check logcat manually
Change-Id: I00850daa5dc8f52487c574ce16529b6985738c88
parent b15c7985
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -577,7 +577,8 @@ void AudioSystem::AudioFlingerClient::ioConfigChanged(audio_io_config_event even
        case AUDIO_INPUT_CONFIG_CHANGED: {
            sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle);
            if (oldDesc == 0) {
                ALOGW("ioConfigChanged() modifying unknown output! %d", ioDesc->mIoHandle);
                ALOGW("ioConfigChanged() modifying unknown %s! %d",
                    event == AUDIO_OUTPUT_CONFIG_CHANGED ? "output" : "input", ioDesc->mIoHandle);
                break;
            }