A group of people are sleeping on a bus while a boy sends a text message.
A boy is sending his friend a message while he is riding the bus.
A group of people are sleeping on a bus while a boy sends a text message does not indicate that a  boy is sending his friend a message while he is riding the bus.
(-x)
(-x)