am 396a10e4: Merge change I793a35a9 into eclair

Merge commit '396a10e48d7201215e54821fa0d7901ffde3a30a' into eclair-mr2

* commit '396a10e48d7201215e54821fa0d7901ffde3a30a':
  ADT now launches app as if launched from launcher.
This commit is contained in:
Xavier Ducrohet
2009-11-06 11:15:38 -08:00
committed by Android Git Automerger

View File

@@ -65,7 +65,9 @@ public class ActivityLaunchAction implements IAndroidLaunchAction {
: "") //$NON-NLS-1$
+ " -n " //$NON-NLS-1$
+ info.getPackageName() + "/" //$NON-NLS-1$
+ mActivity.replaceAll("\\$", "\\\\\\$"), //$NON-NLS-1$ //$NON-NLS-2$
+ mActivity.replaceAll("\\$", "\\\\\\$") //$NON-NLS-1$ //$NON-NLS-2$
+ " -a android.intent.action.MAIN" //$NON-NLS-1$
+ " -c android.intent.category.LAUNCHER", //$NON-NLS-1$
new AMReceiver(info, device, mLaunchController));
// if the app is not a debug app, we need to do some clean up, as