Monkey: Set the name of the process to distinguish from generic name (app_process)
Change-Id: If58ff437bfbea421dc00a2d85547267c010871e4
This commit is contained in:
@@ -357,6 +357,8 @@ public class Monkey {
|
|||||||
// Set ro.monkey if it's not set yet.
|
// Set ro.monkey if it's not set yet.
|
||||||
SystemProperties.set("ro.monkey", "true");
|
SystemProperties.set("ro.monkey", "true");
|
||||||
|
|
||||||
|
Process.setArgV0("com.android.commands.monkey");
|
||||||
|
|
||||||
int resultCode = (new Monkey()).run(args);
|
int resultCode = (new Monkey()).run(args);
|
||||||
System.exit(resultCode);
|
System.exit(resultCode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user