I take solace in this is the top comment, at least.
It’s frightening that many people are fine with this sort of invasion of privacy as long as the reason is “good enough”. This is a knee-jerk, uneducated response that only makes sense to the ignorant. I also expect they’re young, and spent more time looking at their phone than paying attention in class.