Commit 7c51db1f authored by David Black's avatar David Black Committed by Commit Bot

Default to keyboard input modality.

Was previously defaulted to voice input modality.
Later there will be a user preference that we defer to.

Bug: b:110174827
Change-Id: I1a0eac49f76a53145589c0095df82b4a2d673d03
Reviewed-on: https://chromium-review.googlesource.com/1100300Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: David Black <dmblack@google.com>
Cr-Commit-Position: refs/heads/master@{#567463}
parent da9723a1
......@@ -195,7 +195,7 @@ void AssistantController::OnInteractionStateChanged(
assistant_->StopActiveInteraction();
assistant_interaction_model_.ClearInteraction();
assistant_interaction_model_.SetInputModality(InputModality::kVoice);
assistant_interaction_model_.SetInputModality(InputModality::kKeyboard);
}
void AssistantController::OnHighlighterEnabledChanged(
......
......@@ -121,7 +121,7 @@ class AssistantInteractionModel {
void NotifySpeechLevelChanged(float speech_level_db);
InteractionState interaction_state_ = InteractionState::kInactive;
InputModality input_modality_ = InputModality::kVoice;
InputModality input_modality_ = InputModality::kKeyboard;
MicState mic_state_ = MicState::kClosed;
std::unique_ptr<AssistantQuery> query_;
std::vector<AssistantSuggestionPtr> suggestions_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment