diff options
Diffstat (limited to 'test-runner/android')
-rw-r--r-- | test-runner/android/test/mock/MockPackageManager.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index bf1629f..73ae3b9 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -57,11 +57,15 @@ public class MockPackageManager extends PackageManager { } @Override - public Intent getLaunchIntentForPackage(String packageName) - throws NameNotFoundException { + public Intent getLaunchIntentForPackage(String packageName) { throw new UnsupportedOperationException(); } - + + @Override + public ResolveInfo resolveActivity(Intent intent, int flags, String packageName) { + throw new UnsupportedOperationException(); + } + @Override public int[] getPackageGids(String packageName) throws NameNotFoundException { throw new UnsupportedOperationException(); |