They should have detained him to see what he was up to with that phone
If what he was doing is known to Antifa and friends, its probably known to tech savvy law enforcement.
And, yes, looking at his phone might be in order.