Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.

Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
This commit is contained in:
Winson Chung
2010-10-27 17:18:37 -07:00
parent 625a647bad
commit a9abd0e0bd
6 changed files with 168 additions and 22 deletions

View File

@@ -26,7 +26,7 @@ import android.widget.Toast;
import com.android.launcher.R;
public class InstallShortcutReceiver extends BroadcastReceiver {
private static final String ACTION_INSTALL_SHORTCUT =
public static final String ACTION_INSTALL_SHORTCUT =
"com.android.launcher.action.INSTALL_SHORTCUT";
private final int[] mCoordinates = new int[2];