Merge "Protect AudioRecord against double set" into tm-dev