What happened in India is complicated.
A lower court (High Court of Delhi), during a case, ruled the old laws against unnatural sex (which includes sodomy) null and void since the court saw them as an infringement of human freedom, about a year ago. When the case went to the Supreme Court of India through public petition, it ruled about two weeks ago that the courts have no power to amend constitutional laws and the separation of powers among the executive, legislature and the judiciary necessitated the Supreme Court overturning the High Court ruling, thereby reinstating the laws making homosexual acts illegal in India. This is where things stand today.
Now that the Supreme Court has directed that the laws be amended by the legislature, it has become a political issue. The current government of India is centre-right. They are unpopular and the opinion poll prediction is that the right-wing nationalists are going to win the general elections next year. The current government wants to change the laws against homosexuality before it is voted out.
However, as a deeply conservative country, especially on matters pertaining to sexuality and marriage, the homosexual activists have a bleak outlook for their influence in India.