Merge "More robust tests." into udc-dev

This commit is contained in:
Treehugger Robot
2023-04-17 15:15:07 +00:00
committed by Android (Google) Code Review

View File

@@ -199,10 +199,11 @@ public class PackageManagerTests extends AndroidTestCase {
}
public Intent getResult() {
try {
return mResult.take();
} catch (InterruptedException e) {
throw new RuntimeException(e);
while (true) {
try {
return mResult.take();
} catch (InterruptedException e) {
}
}
}
}