am 26b91ca8: Add logging for failed injections to Monkey.
* commit '26b91ca81c5a38f5bc52c33a85657df1a337aa19': Add logging for failed injections to Monkey.
This commit is contained in:
@@ -1150,6 +1150,7 @@ public class Monkey {
|
||||
if (ev != null) {
|
||||
int injectCode = ev.injectEvent(mWm, mAm, mVerbose);
|
||||
if (injectCode == MonkeyEvent.INJECT_FAIL) {
|
||||
System.out.println(" // Injection Failed");
|
||||
if (ev instanceof MonkeyKeyEvent) {
|
||||
mDroppedKeyEvents++;
|
||||
} else if (ev instanceof MonkeyMotionEvent) {
|
||||
|
||||
Reference in New Issue
Block a user