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

Merge commit '8930942de2fdbb864c73f62d016d8e23844bca98'

* commit '8930942de2fdbb864c73f62d016d8e23844bca98':
  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 15:18:59 -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);
}