am 99096976: merge from open-source master
Merge commit '99096976d0ed8436c0eacdefae0ffb606bd573c5' into kraken * commit '99096976d0ed8436c0eacdefae0ffb606bd573c5': Added missing --pct-syskeys to processOptions in Monkey
This commit is contained in:
committed by
Android Git Automerger
commit
08d3110279
@@ -602,6 +602,9 @@ public class Monkey {
|
||||
} else if (opt.equals("--pct-trackball")) {
|
||||
int i = MonkeySourceRandom.FACTOR_TRACKBALL;
|
||||
mFactors[i] = -nextOptionLong("trackball events percentage");
|
||||
} else if (opt.equals("--pct-syskeys")) {
|
||||
int i = MonkeySourceRandom.FACTOR_SYSOPS;
|
||||
mFactors[i] = -nextOptionLong("system (key) operations percentage");
|
||||
} else if (opt.equals("--pct-nav")) {
|
||||
int i = MonkeySourceRandom.FACTOR_NAV;
|
||||
mFactors[i] = -nextOptionLong("nav events percentage");
|
||||
|
||||
Reference in New Issue
Block a user