Java was literally dying before Google released Android. It was just something you did if you were in university or working on a legacy system. Everyone was moving to Ruby, JavaScript, and C#.
From that you see that interest in Java is slowly declining since 2004, release of Android didn't even move it up a bit.
If we're using Google Trends as a proxy for what happened, then I'd say there's some truth to Android saving Java from its decline.