AI 145163: am: CL 145096 am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)

Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145163
This commit is contained in:
Xavier Ducrohet
2009-04-08 18:57:57 -07:00
committed by The Android Open Source Project
parent eb42174923
commit 29d2a8ded5

View File

@@ -612,7 +612,7 @@ public class AndroidClasspathContainerInitializer extends ClasspathContainerInit
// all the optional libraries use the same javadoc, so we start with this
String targetDocPath = target.getPath(IAndroidTarget.DOCS);
if (targetDocPath != null) {
paths.add(targetDocPath);
paths.add(ProjectHelper.getJavaDocPath(targetDocPath));
} else {
// we add an empty string, to always have the same count.
paths.add("");