diff --git a/tools/droiddoc/templates-sdk/customization.cs b/tools/droiddoc/templates-sdk/customization.cs index 6bdb99206..6ae844662 100644 --- a/tools/droiddoc/templates-sdk/customization.cs +++ b/tools/droiddoc/templates-sdk/customization.cs @@ -73,9 +73,10 @@ def:custom_masthead() ?> call:default_search_box() ?>
This " + thing + " is not available with API Level " + selectedLevel + ".
" + if (selectedLevel < minLevel) { + var thing = ($("#jd-header").html().indexOf("package") != -1) ? "package" : "class"; + $("#naMessage").show().html("This " + thing + " is not available with API Level " + selectedLevel + ".
" + "To use this " + thing + ", your application must specify API Level " + minLevel + " or higher in its manifest " + "and be compiled against a version of the Android library that supports an equal or higher API Level. To reveal this " + "document, change the value of the API Level filter above.
" + "