it is unclear. I read an article yesterday saying California had just passed legislation to compensate for it. Obviously, it is pretty unethical, especially if you spend the majority of the day on the phone.
Edit 2: It was actually on Reddit. This is the link to Reddit commenting on the computer world article focusing on the same ruling at the appellate level: