summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@android.com>2011-01-09 13:44:25 -0800
committerBrett Chabot <brettchabot@android.com>2011-01-09 14:11:50 -0800
commitb45644eac0de5994a1b4dda44597fa3be388df4d (patch)
tree3d41e53456de7238415cd4dc3f4b9908e9b22901 /cmds
parentddfb4b38f5935fe19b08597926aa90eb2ce6c43c (diff)
downloadandroid_development-b45644eac0de5994a1b4dda44597fa3be388df4d.tar.gz
android_development-b45644eac0de5994a1b4dda44597fa3be388df4d.tar.bz2
android_development-b45644eac0de5994a1b4dda44597fa3be388df4d.zip
Replace use of ro.monkey with ro.test_harness.
Bug 3329873 Change-Id: Ia681803c3d0b0afeceb178b8314c9d7227d99355
Diffstat (limited to 'cmds')
-rw-r--r--cmds/monkey/src/com/android/commands/monkey/Monkey.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmds/monkey/src/com/android/commands/monkey/Monkey.java b/cmds/monkey/src/com/android/commands/monkey/Monkey.java
index 2f14a26a7..18cf19de9 100644
--- a/cmds/monkey/src/com/android/commands/monkey/Monkey.java
+++ b/cmds/monkey/src/com/android/commands/monkey/Monkey.java
@@ -452,9 +452,6 @@ public class Monkey {
* @param args The command-line arguments
*/
public static void main(String[] args) {
- // 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");
@@ -551,13 +548,13 @@ public class Monkey {
mCountEvents = false;
} else if (mScriptFileNames != null && mScriptFileNames.size() > 1) {
if (mSetupFileName != null) {
- mEventSource = new MonkeySourceRandomScript(mSetupFileName,
+ mEventSource = new MonkeySourceRandomScript(mSetupFileName,
mScriptFileNames, mThrottle, mRandomizeThrottle, mRandom,
mProfileWaitTime, mDeviceSleepTime, mRandomizeScript);
mCount++;
} else {
mEventSource = new MonkeySourceRandomScript(mScriptFileNames,
- mThrottle, mRandomizeThrottle, mRandom,
+ mThrottle, mRandomizeThrottle, mRandom,
mProfileWaitTime, mDeviceSleepTime, mRandomizeScript);
}
mEventSource.setVerbose(mVerbose);