We have fundamental enforceable human rights, democratic government, independent judiciary, (way too much)state-independent media, functional Intellectual Property Rights(IPR) regime while China lacks all of these.
Also, India has not even begun to setup the kind of real-time mass surveillance, through millions of cameras, already in place (to be fair, US is comparable here) or the upcoming dystopian big data-driven, social network-like integrated citizen evaluation program, Social Credit System(SCS) in China.
So, its wildly inappropriate to mention India and China in the same vein here