While that may be true of Indonesia, it is not true of the US. Since Obama is, and was, a US citizen, neither he or his parents could give up his US citizenship while he was still a minor. It does not matter, in the slightest, what another country decides to do. Obama was a citizen of this country, therefore the US laws apply and Indonesian law does not.
Barack had a window of opportunity to restore his U.S. Citizenship until he turned age 18 and 6 months. Even so, restoration would have required an Oath of Allegiance which would make him a naturalized citizen.
He had no need to restore his citizenship because he never lost it. A minor cannot give up their US citizenship. Period.
I don't know where you are getting your citizenship laws from but you need to change to someone reputable. This person, quite obviously, does not know what they are talking about. Since Obama was a minor, there was no removal of US citizenship. When he came of age he would have had to renounce his citizenship in order to lose it. He did not do that.
You have the way things are done completely turned around.