Fix searchable icon for search app.
android:icon is not support in the searchable config, the search app takes
it from the activity info instead.
Bug: 7128148
Change-Id: I944decf2538ad6b7e94d2bfcf52736c792d86891
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d77c335..b69f6d9 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -12,6 +12,7 @@
<activity android:name="ApplicationLauncher"
android:label="@string/search_label"
+ android:icon="@android:drawable/sym_def_app_icon"
android:stateNotNeeded="true"
android:excludeFromRecents="true">
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
index aed545b..e6df7cd 100644
--- a/res/xml/searchable.xml
+++ b/res/xml/searchable.xml
@@ -15,7 +15,6 @@
-->
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
- android:icon="@android:drawable/sym_def_app_icon"
android:label="@string/search_label"
android:includeInGlobalSearch="true"
android:searchSuggestAuthority="applications"