Sorry, but I am just pulling this info out of my memory from something I read about the law in the past year. I don't have the source readily available. We have to be very wary of media propaganda regarding what this law does - they will falsely depict this as a bloody pogrom against all suspected homosexuals.
Well I am not gonna advocate for the US trying to dictate to Ugandans how to run their nation just because gay rights activists in the US might be screaming and yelling for that, this is a given. But I am not on board with laws outlawing unapproved sexual acts in private either. Lawrence v Texas and Bowers v. Hardwick showed how impractical such laws against private sexual acts are. I know that is an extremely unpopular opinion for some groups around here, but I just don’t think it is a coincidence that countries which try to outlaw certain private sexual acts between consenting adults are typically also the least free and most totalitarian places in the world as well.