Commit a14311ae by Kunj Gupta

Fixed - Bot should stop listening once it captures user text and sends it to server.

parent 6dd6fd17
......@@ -541,6 +541,9 @@ public class ChatActivity extends HandleNotificationActivity implements OnDSList
@Override
public void onDroidSpeechFinalResult(String finalSpeechResult) {
if(droidSpeech != null) {
droidSpeech.closeDroidSpeechOperations();
}
mInputMessageView.setText(firstLetterCaps(finalSpeechResult));
attemptSend();
}
......
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 sign in to comment