He took my perfume and sprayed it on himself. Is he flirting?

He's my (sort of) exs friend, who I ended things with like a week ago. Nothing serious just a mess around, but then a couple days after his friend started talking to me which is weird bc I had never spoken to this guy before. He started telling me about how him and his girl best friend tried it between them but it just didn't work and they're just friends and they are totally cool to get with other people. I didn't think anything of it bc it was sort of a big thing last year and i thought he was just making convo. But later, he kept coming up to me with little questions and comments. Then, a couple days later we were in Spanish and i took out my perfume to spray it on myself and he comes over, takes it, smells it, then sprays it on himself and sits back down and he's grinning at me the whole time. But honestly i can't tell if he's just trying to be my friend or make his best friend jealous, or if he's flirting.

He took my perfume and sprayed it on himself. Is he flirting?
Post Opinion