Remove unused flag for playing popup sound on listening state in ContinueWakeWordInvoke() function (#1881)

This commit is contained in:
Xiaoxia
2026-03-26 13:12:02 +08:00
committed by GitHub
parent d9f0ef13aa
commit d340efe58d

View File

@ -840,9 +840,6 @@ void Application::ContinueWakeWordInvoke(const std::string& wake_word) {
}
// Set the chat state to wake word detected
protocol_->SendWakeWordDetected(wake_word);
// Set flag to play popup sound after state changes to listening
play_popup_on_listening_ = true;
SetListeningMode(GetDefaultListeningMode());
#else
// Set flag to play popup sound after state changes to listening