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

Commit 44aa3d33 authored by Carter Hsu's avatar Carter Hsu Committed by android-build-merger
Browse files

Merge "audio: correct the boundary of soundtrigger index" into qt-dev

am: 34a2d4c8

Change-Id: If01497a3fbe62c6c3f6925890ce9f7c9f51df4fd
parents de4cc559 34a2d4c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2042,7 +2042,7 @@ exit:
                device->getId() : AUDIO_PORT_HANDLE_NONE;

    isSoundTrigger = attributes.source == AUDIO_SOURCE_HOTWORD &&
        mSoundTriggerSessions.indexOfKey(session) > 0;
        mSoundTriggerSessions.indexOfKey(session) >= 0;
    *portId = AudioPort::getNextUniqueId();

    clientDesc = new RecordClientDescriptor(*portId, riid, uid, session, attributes, *config,