The lawsuit brought by a pro-democracy activist alleged spyware had been used to hack his phone.