What did this dogs behaviour mean?

Is was a golden labrador. I was feeling really sad that day and looked it. I sat down on a bench, the dog I wasn't sure if it was a stray or not, but it came and sat down right on my feet, on top of my feet

About 15 minutes later I went to get ice cream across the road and sat down outside the store to eat it and the dog came over, licked my thigh then walked away

What did this dogs behaviour mean?
Post Opinion