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

Commit 18e9fa72 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

More robust tests.

https://android-build.corp.google.com/test_investigate/?invocationId=I89000010151050377&testResultId=TR75528603005220067

Bug: 275409981
Test: atest PackageManagerTests

Change-Id: Id68a28e9dc12f71286e29822d4b88be88ab03653
parent 6a84c0a5
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -199,10 +199,11 @@ public class PackageManagerTests extends AndroidTestCase {
        }

        public Intent getResult() {
            while (true) {
                try {
                    return mResult.take();
                } catch (InterruptedException e) {
                throw new RuntimeException(e);
                }
            }
        }
    }