The idea was that the good British made the Raj more tolerable.
- - - -
Edit to add: I should point out that that strategy did not result in victory. It was famously Gandhi and the Non-violence movement who ultimately succeeded.
https://en.wikipedia.org/wiki/Indian_independence_movement
Is Gandhi censored by the CCP?
Was Ghandi's method really the reason for success or does western media (& ruling class) prefer that narrative?
If you check the Wikipedia link in my previous comment you'll see that it was actually a whole epic constellation of events and forces and personalities and masses of people. Not quite the Mahabharata but still pretty epic.
The particular thing that Gandhi's "arc", if you will, achieved was to demolish utterly the rationale for the British Raj in the first place: that Indians needed outside governance. The non-violent movement showed that Indians were the moral equals or even superiors of the British, and Gandhi knew it.
Winston Churchill: What do you think of Western civilization?
Gandhi: I think it would be a good idea.
Just like russians are now being forced to learn to live without Ikea furniture or Intel computers, for the hopes that the complete lack of the better stuff might encourage them to think about overthrowing their oppressors.
Google with censorship is like a false hope, a kind of political PR greenwashing. The people of China use Google and think it's the same Google the rest of the world uses. It might be better to reveal the ugly truth, and say, you either get the whole truth, or no truth at all. To reveal the liars.