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

This commit is contained in:
Terrence
2026-03-26 13:08:07 +08:00
parent d9f0ef13aa
commit 3327500dfc

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