Fixed the monkey option - killProcessAfterError is not beging checked in ANR. bug#3146736

Change-Id: I82dc5d28a218f8e2a6e7c13f27a4aca398cd904d
This commit is contained in:
Yu Shan Emily Lau
2011-01-14 19:25:11 -08:00
parent 560094efef
commit bf86c3e1ce

View File

@@ -337,9 +337,8 @@ public class Monkey {
synchronized (Monkey.this) {
mAbort = true;
}
return (mKillProcessAfterError) ? -1 : 1;
}
return 1;
return (mKillProcessAfterError) ? -1 : 1;
}
}