TIVERTON — As if his day was not going badly enough, William Medeiros was being questioned by police when the brick fell out of his shorts, police said.

With that, he was arrested because this brick was made of heroin, police alleged.

At least Medeiros had company.

Police arrested three men at 4 p.m. on Monday after an anonymous caller reported what appeared to be drug dealing going on from a gray BMW in the parking lot at the corner of Stafford and Bulgarmarsh Roads.

Officers John Leduc and Bryan Palagi pulled up and asked the three men to get out of the car, police reported.