Luckily smartphones don't have cameras and are allowed in Court.
Well some smartphones have cameras but then the smartphone's flash is wired to come on when they're recording.