Obviously not. They didn't have the resources or the time to sue; they were on the brink of collapse and already involved in talks of acquisition. Google fully expected them to sue[1], but got a reprieve due to Sun's troubles.
Android was released in September 2008, with the first phone in November. At that time Sun was in acquisition talks with IBM (and maybe HP), which fell through in 3/09. In 4/09 -- about six months after Android was released -- they announced their agreement with Oracle[1]. That's hardly enough time to even prepare such a lawsuit, let alone carry it through, and obviously Sun had much greater concerns at the time.
[1]: Because no such action had ever gone un-sued.
[2]: see https://en.wikipedia.org/wiki/Sun_acquisition_by_Oracle#Hist...