The settlement follows a Texas lawsuit accusing the tech giant of violating state privacy laws.