From c14b9ccdf13163cae5ce5d21bcf377010b37594b Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 17 Jun 2009 18:02:12 -0700 Subject: Extend Intent/Uri conversion for use by Browser This introduces a new Uri form of Intent with an "intent:" scheme, and a corresponding update to the parser to handle these, so that the browser can use this generic facility for starting activities based on the links that are clicked and allow for web pages to link to arbitrary intents. There is also a new "package" field on Intent which allows you to limit the components it finds to a given package. This replaces the new method that was added to PackageManger for doing this when resolving activities, and implements it for all Intent queries against the package manager. --- test-runner/android/test/mock/MockPackageManager.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test-runner') diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index 5e7802d..399a053 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -63,11 +63,6 @@ public class MockPackageManager extends PackageManager { } @Override - public ResolveInfo resolveActivity(Intent intent, int flags, String packageName) { - throw new UnsupportedOperationException(); - } - - @Override public int[] getPackageGids(String packageName) throws NameNotFoundException { throw new UnsupportedOperationException(); } -- cgit v1.1