ADT now launches app as if launched from launcher.

BUG 2243142

Change-Id: I793a35a92cf0f818242e74e4794d74a681b25d83
This commit is contained in:
Xavier Ducrohet
2009-11-05 18:38:04 -08:00
parent 421e8d3353
commit efc6be0e33

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