am 259c8499: Merge "Fix issue #3089800: adb shell am -W causes ActivityManager crash" into gingerbread

Merge commit '259c849989ccd30b0bb4569d11f125ed2c0c1911' into gingerbread-plus-aosp

* commit '259c849989ccd30b0bb4569d11f125ed2c0c1911':
  Fix issue #3089800: adb shell am -W causes ActivityManager crash
This commit is contained in:
Dianne Hackborn
2010-10-12 19:08:49 -07:00
committed by Android Git Automerger

View File

@@ -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);