Revert "Fix headset detection."

This reverts commit d1f03551824a5073d218706f8c60690ad1da2e72.