diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java
index 7f5a1e7bac538..2e94a2f5fcb18 100644
--- a/core/java/android/app/SearchManager.java
+++ b/core/java/android/app/SearchManager.java
@@ -769,17 +769,15 @@ import java.util.List;
*
*
*
| android:icon |
- * If provided, this icon will be shown in place of the label above the search box.
- * This is a reference to a drawable (icon) resource. Note that the application icon
- * is also used as an icon to the left of the search box and you cannot modify this
- * behavior, so including the icon attribute is unecessary and this may be
- * deprecated in the future. |
+ * This is deprecated. The default
+ * application icon is now always used, so this attribute is
+ * obsolete. |
* No |
*
*
* | android:hint |
- * This is the text to display in the search text field when no user text has been
- * entered. |
+ * This is the text to display in the search text field when no text
+ * has been entered by the user. |
* No |
*
*
@@ -790,17 +788,14 @@ import java.util.List;
*
* | showSearchLabelAsBadge |
* If set, this flag enables the display of the search target (label)
- * above the search box. If this flag and showSearchIconAsBadge
- * (see below) are both not set, no badge will be shown. |
+ * above the search box. As an alternative, you may
+ * want to instead use "hint" text in the search box.
+ * See the "android:hint" attribute above.
*
* | showSearchIconAsBadge |
- * If set, this flag enables the display of the search target (icon)
- * above the search box. If this flag and showSearchLabelAsBadge
- * (see above) are both not set, no badge will be shown. If both flags
- * are set, showSearchIconAsBadge has precedence and the icon will be
- * shown. Because the application icon is now used to the left of the
- * search box by default, using this search mode is no longer necessary
- * and may be deprecated in the future. |
+ * This is deprecated. The default
+ * application icon is now always used, so this
+ * option is obsolete. |
*
* | queryRewriteFromData |
* If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml
index 88ea70e8b2f69..9d1b2c896987c 100644
--- a/core/res/res/values/attrs.xml
+++ b/core/res/res/values/attrs.xml
@@ -2894,12 +2894,9 @@
For a more in-depth discussion of search configuration, please refer to
{@link android.app.SearchManager}. -->
-
+
@@ -2922,9 +2919,9 @@
-
+
|
|---|