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

Commit 2f72bdcd authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "More robust tests." into udc-dev am: 0fe4eb97

parents 34a2cd24 0fe4eb97
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -199,10 +199,11 @@ public class PackageManagerTests extends AndroidTestCase {
        }
        }


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