Merge "Fix issue #3089800: adb shell am -W causes ActivityManager crash" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
259c849989
@@ -2535,7 +2535,7 @@ public class ActivityStack {
|
||||
mWaitingActivityLaunched.add(outResult);
|
||||
do {
|
||||
try {
|
||||
wait();
|
||||
mService.wait();
|
||||
} catch (InterruptedException e) {
|
||||
}
|
||||
} while (!outResult.timeout && outResult.who == null);
|
||||
@@ -2551,7 +2551,7 @@ public class ActivityStack {
|
||||
mWaitingActivityVisible.add(outResult);
|
||||
do {
|
||||
try {
|
||||
wait();
|
||||
mService.wait();
|
||||
} catch (InterruptedException e) {
|
||||
}
|
||||
} while (!outResult.timeout && outResult.who == null);
|
||||
|
||||
Reference in New Issue
Block a user