And what is taught now? Did Indian kids have to learn about the War of Roses and the battle of Hastings or was it mostly propaganda?
The history curriculum definitely had British history in it, obviously engineered to make Britain look great. But Indian history was also taught, though in a very distorted form.
A very important book in this respect is James Mill's History of India which came out in the early 19th Century. Mill, who had never been to India presented Indian history in three phases - an early glorious Hindu phase which fell into decay and stagnation, a middle Dark Muslim phase which was one long history of persecution by Muslim invaders and lastly the glorious British phase in which India becomes great again. This history was adopted and taught in schools as it meshed very well with the British Empire's Divide and Rule policy in the 19th C when they were trying to win over the Hindus at the expense of the Muslims.
Unfortunately this problematic periodisation and even more unfortunate characterisation persisted after independence. While it has been removed from textbooks and far more historically accurate views are now taught, the essential damage has been done as the basic ideas conveyed persist in the popular consciousness.