You have the order backward. Google made Android with the full consent from Sun. Their CEOs had a handshake deal, and neither of them believed there was any need for a legal contact.
Fourish years later Oracle bought Sun and promptly sued Google. The handshake deal wasn't legally binding, apparently.
I know this doesn't necessarily change the legal picture, but it certainly changes the ethical one. Your timeline makes Google out to be a predator, maliciously stealing Oracle's precious IP. The actual timeline makes Oracle out to be the predator, buying Sun for little other purpose than to sue people.
I suspect Google wouldn't have gone with Java if it were owned by Oracle at the time. Which would have made for an interesting alternate timeline. Maybe they'd have gone with D? Who knows. C++03 was kind of ass, but if they'd have gone with c++ we'd have new c++ as a first class citizen which would also be rad.