diff options
author | Scott Main <smain@google.com> | 2011-01-21 11:58:56 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2011-01-21 11:58:56 -0800 |
commit | 42d1d32aa02196b1a8a203f3d7210989c1ac2a39 (patch) | |
tree | 76356c1987b0f5ef939fbd1ae701b6c8a2ea5e26 | |
parent | 66888a7c420f911574c59dd10d32f62bada91adb (diff) | |
download | build-42d1d32aa02196b1a8a203f3d7210989c1ac2a39.tar.gz |
don't use the sdkdoc template if the index file is a preview
(the features.html doc is no longer used, so removed check for that also)
Change-Id: I1985b2e48060337030df53c19051ea363cb3b700
-rw-r--r-- | tools/droiddoc/src/DocFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/droiddoc/src/DocFile.java b/tools/droiddoc/src/DocFile.java index cc7a8cfb8f..180fdcd952 100644 --- a/tools/droiddoc/src/DocFile.java +++ b/tools/droiddoc/src/DocFile.java @@ -129,7 +129,7 @@ public class DocFile } else { if (outfile.indexOf("sdk/") != -1) { hdf.setValue("sdk", "true"); - if ((outfile.indexOf("index.html") != -1) || (outfile.indexOf("features.html") != -1)) { + if ((outfile.indexOf("index.html") != -1) && (outfile.indexOf("preview/") == -1)) { ClearPage.write(hdf, "sdkpage.cs", outfile); } else { ClearPage.write(hdf, "docpage.cs", outfile); |