summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/CreateShortcut.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/CreateShortcut.java')
-rw-r--r--src/com/android/settings/CreateShortcut.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/CreateShortcut.java b/src/com/android/settings/CreateShortcut.java
index 5ca6370..0312a4b 100644
--- a/src/com/android/settings/CreateShortcut.java
+++ b/src/com/android/settings/CreateShortcut.java
@@ -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);