A dog is giving its paw to a police officer.