Google is calling the next version of its mobile operating system Android KitKat.
The news comes as a surprise as the firm had previously indicated version 4.4 of the OS would be Key Lime Pie.
The decision to brand the software with the name of Nestle’s chocolate bar is likely to be seen as a marketing coup for the Swiss food and beverage maker.
However, Google told the BBC that it had come up with the idea and that neither side was paying the other.
“This is not a money-changing-hands kind of deal,” John Lagerling, director of Android global partnerships, told the BBC.
Instead, he said, the idea was to do something “fun and unexpected”.
However, 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.
“If that brand or business has some reputational issues that emerge, it would be naive to think as a brand owner that your good name, your brand equity, would not be affected.”
Nestle has faced criticism in the past for the way it promoted powdered baby milk in the developing world. It has also had to recall numerous products, most recently bags of dog food following a salmonella scare in the US.