Google has agreed to pay $68m (£51m) to settle a lawsuit claiming it secretly listened to people's private conversations through their phones.

Users accused Google Assistant - a virtual assistant present on many Android devices - of recording private conversations after it was inadvertently triggered on their devices.

They claimed the recordings were then shared with advertisers in order to send them targeted advertising.

The BBC has contacted Google for comment. But in a filing seeking to settle the case, it denied wrongdoing and said it was seeking to avoid litigation.

Google Assistant is designed to wait in standby mode until it hears a particular phrase - typically "Hey Google" - which activates it.