Merge "ndk: Update platform system libraries." into gingerbread
diff --git a/cmds/monkey/src/com/android/commands/monkey/Monkey.java b/cmds/monkey/src/com/android/commands/monkey/Monkey.java
index 676043a..47c9cd8 100644
--- a/cmds/monkey/src/com/android/commands/monkey/Monkey.java
+++ b/cmds/monkey/src/com/android/commands/monkey/Monkey.java
@@ -404,6 +404,9 @@
// Set ro.monkey if it's not set yet.
SystemProperties.set("ro.monkey", "true");
+ // Set the process name showing in "ps" or "top"
+ Process.setArgV0("com.android.commands.monkey");
+
int resultCode = (new Monkey()).run(args);
System.exit(resultCode);
}