Merge change 25918 into eclair

* changes:
  Set intent_component of in-app shortcuts to app itself
This commit is contained in:
Android (Google) Code Review
2009-09-21 05:02:18 -04:00

View File

@@ -1218,7 +1218,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
cv.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, intent.getAction());
cv.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, intent.getDataString());
cv.put(SearchManager.SUGGEST_COLUMN_INTENT_COMPONENT_NAME,
intent.getStringExtra(SearchManager.COMPONENT_NAME_KEY));
intent.getComponent().flattenToShortString());
// ensure the icons will work for global search
cv.put(SearchManager.SUGGEST_COLUMN_ICON_1,