am 644b8222: blacklist KEYCODE_SLEEP in random key generation
* commit '644b8222183d57dafd8de98e04756cbd28b7ae80': blacklist KEYCODE_SLEEP in random key generation
This commit is contained in:
@@ -436,6 +436,7 @@ public class MonkeySourceRandom implements MonkeyEventSource {
|
||||
|
||||
if (lastKey != KeyEvent.KEYCODE_POWER
|
||||
&& lastKey != KeyEvent.KEYCODE_ENDCALL
|
||||
&& lastKey != KeyEvent.KEYCODE_SLEEP
|
||||
&& PHYSICAL_KEY_EXISTS[lastKey]) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user