diff options
author | Andy McFadden <fadden@android.com> | 2010-05-06 14:34:23 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2010-05-06 14:34:23 -0700 |
commit | 20e79fd41268489ddc97edf79c507d6d5c0c6cda (patch) | |
tree | 0ac9811eb730f64de909ffadecc644966d7e8274 /core/tests/hosttests/src/android/content | |
parent | 8cc3672095ea9597939a7d5f6c6eea0c93951ee1 (diff) | |
download | frameworks_base-20e79fd41268489ddc97edf79c507d6d5c0c6cda.zip frameworks_base-20e79fd41268489ddc97edf79c507d6d5c0c6cda.tar.gz frameworks_base-20e79fd41268489ddc97edf79c507d6d5c0c6cda.tar.bz2 |
Fix sim-eng build.
Not sure how this would build anywhere -- checked exception was not
checked. Apparently only sim-eng cares.
Change-Id: I10bc7d0c41666fca55a7df60ef18517956097d9b
Diffstat (limited to 'core/tests/hosttests/src/android/content')
-rw-r--r-- | core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java b/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java index 2326672..6f3fa43 100644 --- a/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java +++ b/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java @@ -124,7 +124,11 @@ public class PackageManagerHostTestUtils extends Assert { RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( pkgName, mDevice); CollectingTestRunListener listener = new CollectingTestRunListener(); - testRunner.run(listener); + try { + testRunner.run(listener); + } catch (IOException ioe) { + Log.w(LOG_TAG, "encountered IOException " + ioe); + } return listener; } |