am 4388d2c3: Merge "Monkey: Set the name of the process to distinguish from generic name (app_process)"

Merge commit '4388d2c333c164ce67db6d4a59cded8dfea9fc9a' into gingerbread-plus-aosp

* commit '4388d2c333c164ce67db6d4a59cded8dfea9fc9a':
  Monkey: Set the name of the process to distinguish from generic name (app_process)
This commit is contained in:
Jean-Baptiste Queru
2010-08-16 13:16:44 -07:00
committed by Android Git Automerger

View File

@@ -357,6 +357,8 @@ public class Monkey {
// Set ro.monkey if it's not set yet.
SystemProperties.set("ro.monkey", "true");
Process.setArgV0("com.android.commands.monkey");
int resultCode = (new Monkey()).run(args);
System.exit(resultCode);
}