am d98ba32e: DO NOT MERGE Fix bug where monkey always tries to run multiple scripts.
Merge commit 'd98ba32eeff587a30396fa24728a1150de9dc305' into eclair-plus-aosp * commit 'd98ba32eeff587a30396fa24728a1150de9dc305': DO NOT MERGE Fix bug where monkey always tries to run multiple scripts.
This commit is contained in:
@@ -411,7 +411,7 @@ public class Monkey {
|
||||
mEventSource.setVerbose(mVerbose);
|
||||
|
||||
mCountEvents = false;
|
||||
} else if (mScriptFileNames != null) {
|
||||
} else if (mScriptFileNames != null && mScriptFileNames.size() > 1) {
|
||||
if (mSetupFileName != null) {
|
||||
mEventSource = new MonkeySourceRandomScript(mSetupFileName, mScriptFileNames,
|
||||
mThrottle, mSeed);
|
||||
|
||||
Reference in New Issue
Block a user