Monkey: request am to show the ANR dialog
Default return value of 1 from appNotResponding was to show the ANR dialog in eclair. However, recent version of android's am interpret 1 as to wait. Fix is to change the default return value from 1 to 0. Change-Id: I6620ef54309f1d30ef18a2b60d73b346c2446f93
This commit is contained in:
@@ -337,9 +337,9 @@ public class Monkey {
|
||||
synchronized (Monkey.this) {
|
||||
mAbort = true;
|
||||
}
|
||||
return (mKillProcessAfterError) ? -1 : 1;
|
||||
return (mKillProcessAfterError) ? -1 : 0;
|
||||
}
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user