[Live Caption] Clear caption bubble text after inactivity timeout.
Clears caption bubble text after the inactivity timeout. Also, prevents a final transcription received after the bubble has no activity from setting text. This fixes a bug where the bubble disappeared after inactivity, and then the speech service sent a final transcription after several seconds of no audio, which caused the bubble to reappear. Bug: 1055150 Change-Id: I3a0df495c73df0273e925847671f351b61afcd51 AX-Relnotes: N/A (feature not launched) Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2598622 Commit-Queue: Abigail Klein <abigailbklein@google.com> Reviewed-by:Josiah Krutz <josiahk@google.com> Cr-Commit-Position: refs/heads/master@{#839812}
Showing
Please register or sign in to comment