Doesn't matter. Texting while driving = irresponsible driving. Not only irresponsible but doing so risk your own life and the lives of others on the road.
Texting while driving = drunk driving = immature drivers.
Pull over if you have to text. Or if you cannot. Turn off your phone so as not to be distracted. Please, none of the "emergency" bs stuff.