It's quite different. Both are rude. But in one case the person is looking at their phone, and in another case the person is basically looking directly at you but engaged with some other thing happening on their device, as if they are in some drug induced stupor or having a neurological episode.