0
Uber and Lyft also agreed to an "earnings floor," the N.Y. attorney general said.