Move icons to mipmap.

Change-Id: If3bd32658300cb028411d1aa7a3f56d8c1d234eb
This commit is contained in:
Ying Wang
2010-11-23 12:03:43 -08:00
parent 52322a9173
commit 8935b15cbb
5 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ public class CreateShortcut extends LauncherActivity {
shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
Intent intent = new Intent();
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,
Intent.ShortcutIconResource.fromContext(this, R.drawable.ic_launcher_settings));
Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_settings));
intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, itemForPosition(position).label);
setResult(RESULT_OK, intent);