While true, the distractedness (on the part of the pedestrian or the driver) doesn't absolve the driver of their responsibility to yield in this scenario. A driver who hits a pedestrian in this scenario will be subject to criminal and civil penalties, and rightly so.