Google has announced that the 4.4 version of Android OS, previously known as Key Lime Pie, will now be called KitKat.
They also made it clear that no money was changing hands in the naming of Android although Nestle plans to sell over 50 million chocolate bars that will feature the Android mascot.
One branding expert warned there were potential pitfalls to such a deal.
“If your brand is hooked up with another, you inevitably become associated with that other brand, for good or ill,” said Simon Myers, a partner at the consultancy Prophet.
Nestle has previously faced criticism for the way it promoted powdered baby milk in the developing world and has had to recall numerous products, most recently bags of dog food following a salmonella scare in the US.
Google has also attracted some negative press itself including a recent report from the US government suggesting that Android attracts more malware attacks than any other mobile OS.
However, Google has also more positively announced that it has recorded the system being activated on a smartphone or other device more than one billion times.
Google has historically codenamed each Android release after a type of treat, with major updates progressing a letter along the alphabet.
Previous versions have been called Cupcake, Donut, Eclair, Froyo (short for frozen yoghurt), Gingerbread, Honeycomb, Ice Cream Sandwich and Jelly Bean.
Most Google employees would have only known about the name change from Key Lime Pie to KitKat when the Android statue made of giant KitKat fingers went up outside Google’s HQ.