diff options
author | Guang Zhu <guangzhu@google.com> | 2015-06-23 11:25:56 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2015-06-23 11:25:56 -0700 |
commit | 973ecb61088ecac6b90d3332813544e0ebb69ab7 (patch) | |
tree | 7171835f694814e942b191bb6b88384a45b7b28d | |
parent | 403be1157fb80c55e8b8c736485a4754a83288f2 (diff) | |
download | android_development-973ecb61088ecac6b90d3332813544e0ebb69ab7.tar.gz android_development-973ecb61088ecac6b90d3332813544e0ebb69ab7.tar.bz2 android_development-973ecb61088ecac6b90d3332813544e0ebb69ab7.zip |
fix slotting of permission category
Per convention, event categories that are not key events should
be inserted before the block of key event categories.
Change-Id: I2cbe4a34231462dbdee1f8b97270fdd0b3354690
-rw-r--r-- | cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java index 1762f1768..80c7e5066 100644 --- a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java +++ b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java @@ -77,12 +77,12 @@ public class MonkeySourceRandom implements MonkeyEventSource { public static final int FACTOR_PINCHZOOM = 2; public static final int FACTOR_TRACKBALL = 3; public static final int FACTOR_ROTATION = 4; - public static final int FACTOR_NAV = 5; - public static final int FACTOR_MAJORNAV = 6; - public static final int FACTOR_SYSOPS = 7; - public static final int FACTOR_APPSWITCH = 8; - public static final int FACTOR_FLIP = 9; - public static final int FACTOR_PERMISSION = 10; + public static final int FACTOR_PERMISSION = 5; + public static final int FACTOR_NAV = 6; + public static final int FACTOR_MAJORNAV = 7; + public static final int FACTOR_SYSOPS = 8; + public static final int FACTOR_APPSWITCH = 9; + public static final int FACTOR_FLIP = 10; public static final int FACTOR_ANYTHING = 11; public static final int FACTORZ_COUNT = 12; // should be last+1 |