Support uninstalling an app by dragging from all apps to trash can.
diff --git a/src/com/android/launcher2/ApplicationInfoDropTarget.java b/src/com/android/launcher2/ApplicationInfoDropTarget.java
index 737d198..b053fa0 100644
--- a/src/com/android/launcher2/ApplicationInfoDropTarget.java
+++ b/src/com/android/launcher2/ApplicationInfoDropTarget.java
@@ -16,6 +16,7 @@
 
 package com.android.launcher2;
 
+import android.content.ComponentName;
 import android.content.Context;
 import android.graphics.Paint;
 import android.graphics.PorterDuff;
@@ -65,13 +66,13 @@
         // in onDrop, because it allows us to reject the drop (by returning false)
         // so that the object being dragged isn't removed from the home screen.
 
-        String packageName = null;
+        ComponentName componentName = null;
         if (dragInfo instanceof ApplicationInfo) {
-            packageName = ((ApplicationInfo)dragInfo).componentName.getPackageName();
+            componentName = ((ApplicationInfo)dragInfo).componentName;
         } else if (dragInfo instanceof ShortcutInfo) {
-            packageName = ((ShortcutInfo)dragInfo).intent.getComponent().getPackageName();
+            componentName = ((ShortcutInfo)dragInfo).intent.getComponent();
         }
-        mLauncher.startApplicationDetailsActivity(packageName);
+        mLauncher.startApplicationDetailsActivity(componentName);
         return false;
     }