Use standard names for search / voice icon meta-data

These shouldn't be renamed to launcher3.*, since they are used
to get icons from external search / voice apps.

Change-Id: Iae10b9c19771133579a8f6f24ce9c0efbae82688
This commit is contained in:
Bjorn Bringert
2013-06-06 21:54:20 +01:00
parent 42aa7b2538
commit e441bbc7d2

View File

@@ -179,11 +179,11 @@ public final class Launcher extends Activity
// Type: parcelable
private static final String RUNTIME_STATE_PENDING_ADD_WIDGET_INFO = "launcher.add_widget_info";
private static final String TOOLBAR_ICON_METADATA_NAME = "com.android.launcher3.toolbar_icon";
private static final String TOOLBAR_ICON_METADATA_NAME = "com.android.launcher.toolbar_icon";
private static final String TOOLBAR_SEARCH_ICON_METADATA_NAME =
"com.android.launcher3.toolbar_search_icon";
"com.android.launcher.toolbar_search_icon";
private static final String TOOLBAR_VOICE_SEARCH_ICON_METADATA_NAME =
"com.android.launcher3.toolbar_voice_search_icon";
"com.android.launcher.toolbar_voice_search_icon";
/** The different states that Launcher can be in. */
private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOADED };