That happened to me on Saturday night.
I was about to go to the movies in downtown West Palm Beach, and had to go, so I stopped into the Publix supermarket, went to the restroom, and did what I had to do. What's the question?
The gun remained on my belt. It's not like someone was coming near and was looking under the stall. And if they were, I was not doing anything illegal, they were!
If someone went out of the bathroom hollering that someone in the stall had a gun on his belt while he took a dump, what could happen? I'm not going to get arrested: HE probably would, though.