What does it mean when a married man changes in full view of me?

I visited my friend the other day. While she was in the bathroom, her husband changed without closing their bedroom door. He knew I could see him and he gave me a full view.

What does it mean when a married man changes in full view of me?
Post Opinion