It is rude when someone expects to receive tip top service yet they don't have the decency to give you their full attention as they're on the phone. However, I do think the Sainsbury's operative went a bit too far with this.
I would simply scan faster, like my life depended on it and then NOT pack....afterall, you cannot make the obligatory offer to bag pack if the person is on the phone