WIKI:
Hmmmm....looks to me like it was the other way around, ISLAM supplanted Hinduism and Buddhism.
And Obama's statement was referring to the US. The US has never colonized a muslim nation, whether indiginous religion was supplanted to islam or not.
Islam is thought to have first been adopted by peoples of the Indonesian archipelago sometime during the eleventh century, although Muslims had visited the archipelago early in the Muslim era. By the end of the 16th century, Islam, through conversion, had supplanted Hinduism and Buddhism as the dominant religion of the peoples of Java and Sumatra. At this time, only Bali retained a Hindu-practising majority, and the eastern islands remained largely animist but would adopt Islam and Christianity in the seventeenth and eighteenth centuries.
Hmmmm....looks to me like it was the other way around, ISLAM supplanted Hinduism and Buddhism.
And Obama's statement was referring to the US. The US has never colonized a muslim nation, whether indiginous religion was supplanted to islam or not.