An AFL star is behind bars after police allegedly found child pornography on his phone while he was being arrested on another matter.