A police officer in Bradford sexually assaulted a woman and then tried to evade justice by factory restoring his phone.