Speaking in English in public

I have to admit that when my son is playing with other children and other parents are around, I don’t speak in my mother tongue to my son, I speak with him in English. However when I am around my own friends or family, I speak in my mother language to my son. Maybe in a way, I don’t want other people to get uncomfortable when I speak in another language. Does anyone else only speak in English when they are in public and around strangers?