Public masturbation is not legal, it is just filed under a lesser crime than sexual assault.
So in short, nothing has really changed, if you masturbate in public you will get dragged off by the cops for indecent exposure and disorderly conduct same as people who urinate in public.