diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js index 0b1f51ac9..f1fbfff21 100644 --- a/tools/droiddoc/templates-sdk/assets/js/docs.js +++ b/tools/droiddoc/templates-sdk/assets/js/docs.js @@ -1938,11 +1938,18 @@ function changeApiLevel() { 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 + ", you must develop your app using a build target " - + "that supports API level " + $("#doc-api-level").attr("class") + " or higher. To read these " - + "APIs, change the value of the API level filter above.
" - + "This " + thing + + " requires API level " + minLevel + " or higher.
" + + "This document is hidden because your selected API level for the documentation is " + + selectedLevel + ". You can change the documentation API level with the selector " + + "above the left navigation.
" + + "For more information about specifying the API level your app requires, " + + "read Supporting Different Platform Versions.
" + + "" + + "