Public computers like in libraries have had trouble with this sort of thing for many years, so I am not surprised that it now happens with phones.
I don't think it really matters that a woman was sitting next to him, it's inappropriate whether it was a woman, man, or an empty seat.