What a wonderful little aside showing the humanity of the President.
Yes. I saw it live and thought it was really funny. If anyone else did that to a Vice Admiral, they'd be put in their place quickly. But the Vice Admiral simply took the camera and snapped the photo. Then he handed the camera back to the President, who gave it back to the sailor.