This CL adds a timeout for the detection of the headset mode that allows it to be entered also for the cases where a headset is inserted during the call. Bug: chromium:826720,webrtc:9083 Change-Id: Ic3cb4cc0258997a74eccd1bcdf65765e44016ad8 Reviewed-on: https://webrtc-review.googlesource.com/65240 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22658}