From 9b7f8f20ac58133af551bc89e5f065a4e0f77103 Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Sat, 1 Nov 2014 17:08:56 -0700 Subject: [PATCH] Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled. Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a --- tools/droiddoc/templates-sdk/assets/js/docs.js | 2 +- tools/droiddoc/templates-sdk/docpage.cs | 8 ++++---- 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 a556f4f6c..d3f815a87 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 7cd9d43e4..98bc92f21 100644 --- a/tools/droiddoc/templates-sdk/docpage.cs +++ b/tools/droiddoc/templates-sdk/docpage.cs @@ -194,10 +194,10 @@ include:"header.cs" ?> - - - - + + + +