Fix crash in non-xlarge configurations.
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index c14c22c..6b1290d 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -991,9 +991,13 @@
     View createShortcut(int layoutResId, ViewGroup parent, ShortcutInfo info) {
         TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);
 
-        // Temporarily, we are scaling up all shortcuts on the workspace
-        int scaledSize = parent.getResources().getDimensionPixelSize(R.dimen.temp_scaled_icon_size);
-        Bitmap b = Bitmap.createScaledBitmap(info.getIcon(mIconCache), scaledSize, scaledSize, true);
+        Bitmap b = info.getIcon(mIconCache);
+
+        if (LauncherApplication.isScreenXLarge()) {
+            // Temporarily, we are scaling up all shortcuts on the workspace
+            int scaledSize = getResources().getDimensionPixelSize(R.dimen.temp_scaled_icon_size);
+            b = Bitmap.createScaledBitmap(b, scaledSize, scaledSize, true);
+        }
 
         favorite.setCompoundDrawablesWithIntrinsicBounds(null,
                 new FastBitmapDrawable(b),