Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba0492d5 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #3089800: adb shell am -W causes ActivityManager crash

Change-Id: I5508afeb523d84e552117f94c8b70e2bae2c33fa
parent 45738f67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);