Here in the UK they have just changed the Highway Code (the rules that given all road users, including pedestrians) so that pedestrians have ultimate right of way in almost all cases. It’s the opposite of the situation in the US, a pedestrian in the UK can cross the road anywhere and I believe cars have to stop and make way. It’s going to be interesting to see how it effects accident numbers, I’m worry it may actuall…
That has long been the law in California, but enforcement is poor. California also has the "jaywalking" law that clearly prioritizes automobiles over pedestrians. It's worse for bicycles: almost nowhere in the USA are drivers punished for killing cyclists, despite what's written in the vehicle code.
The cars are still obligated to stop to avoid hitting someone. It just allows a pedestrian to be ticketed for impeding a vehicle's travel (which is dangerous) while not being in an established crossings (which I believe includes implicit ones at intersections, but unsure about that part).