summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDirk Dougherty <ddougherty@google.com>2014-11-01 17:08:56 -0700
committerDirk Dougherty <ddougherty@google.com>2014-11-01 20:33:25 -0700
commit9b7f8f20ac58133af551bc89e5f065a4e0f77103 (patch)
tree450526924c115f27015e732220eb41c1ee26dea8 /tools
parent775b1abb12a5d891ac66b51d28381692bde6ab03 (diff)
downloadbuild-9b7f8f20ac58133af551bc89e5f065a4e0f77103.zip
build-9b7f8f20ac58133af551bc89e5f065a4e0f77103.tar.gz
build-9b7f8f20ac58133af551bc89e5f065a4e0f77103.tar.bz2
Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
Diffstat (limited to 'tools')
-rw-r--r--tools/droiddoc/templates-sdk/assets/js/docs.js2
-rw-r--r--tools/droiddoc/templates-sdk/docpage.cs8
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js
index a556f4f..d3f815a 100644
--- a/tools/droiddoc/templates-sdk/assets/js/docs.js
+++ b/tools/droiddoc/templates-sdk/assets/js/docs.js
@@ -1988,7 +1988,7 @@ function search_changed(e, kd, toroot)
// Search for matching JD docs
- if (text.length >= 3) {
+ if (text.length >= 2) {
// Regex to match only the beginning of a word
var textRegex = new RegExp("\\b" + text.toLowerCase(), "g");
diff --git a/tools/droiddoc/templates-sdk/docpage.cs b/tools/droiddoc/templates-sdk/docpage.cs
index 7cd9d43..98bc92f 100644
--- a/tools/droiddoc/templates-sdk/docpage.cs
+++ b/tools/droiddoc/templates-sdk/docpage.cs
@@ -194,10 +194,10 @@ include:"header.cs" ?>
<?cs include:"trailer.cs" ?>
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
- <script src="<?cs var:toroot ?>jd_lists_unified.js?v=3" type="text/javascript"></script>
- <script src="<?cs var:toroot ?>jd_extras.js?v=4" type="text/javascript"></script>
- <script src="<?cs var:toroot ?>jd_collections.js?v=4" type="text/javascript"></script>
- <script src="<?cs var:toroot ?>jd_tag_helpers.js?v=3" type="text/javascript"></script>
+ <script src="<?cs var:toroot ?>jd_lists_unified.js?v=4" type="text/javascript"></script>
+ <script src="<?cs var:toroot ?>jd_extras.js?v=5" type="text/javascript"></script>
+ <script src="<?cs var:toroot ?>jd_collections.js?v=5" type="text/javascript"></script>
+ <script src="<?cs var:toroot ?>jd_tag_helpers.js?v=4" type="text/javascript"></script>
</body>
</html>