We have to remember that the current China is a pretty developed country. It’s citizens are relatively well off compared to the past. They don’t give a fuck about ideological issues like freedom of speech and the right to protest as long as their lives aren’t affected.
China has achieved such rapid economic progress because of it’s move toward capitalism and the dismantling of the artificial supression of it’s economy prior to the Open Door Policy. However, because of the lingering socialist “black market” culture, the amount of systemic government corruption seen was ridiculous even when compared to the most corrupt countries in other parts of Asia. It reached absurd levels in the mid 2000s. This was blamed, as usual, on “capitalism”. This was something created by the government which could only be rectified by the government since no real free market actually existed.
Xi Jinping scored massive political points by “clamping down” on the systemic corruption that the previous post socialist era incumbants created and enabled, while setting everything up so that people slowly, and willingly gave up their freedom just to see the rich bastards who got rich through the system taken down.
The mindset in China now is that the government created the political and economic stability now that “unchecked capitalism” destroyed, along with the economic progress and increase in individual wealth which was actually due to private enterprise despite the existence of so much corruption.
To fully understand the direction they are heading towards in the next few decades, look at the government of Singapore.