diff options
Diffstat (limited to 'test-runner/src/android/test/mock/MockPackageManager.java')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index cd7ee76..7b7a7b3 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -38,10 +38,8 @@ import android.content.pm.PermissionInfo; import android.content.pm.ProviderInfo; import android.content.pm.ResolveInfo; import android.content.pm.ServiceInfo; -import android.content.pm.UserInfo; import android.content.pm.VerificationParams; import android.content.pm.VerifierDeviceIdentity; -import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Resources; import android.content.res.XmlResourceParser; import android.graphics.drawable.Drawable; @@ -216,6 +214,12 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ + @Override + public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { + throw new UnsupportedOperationException(); + } + @Override public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { throw new UnsupportedOperationException(); @@ -223,7 +227,7 @@ public class MockPackageManager extends PackageManager { /** @hide */ @Override - public List<ResolveInfo> queryIntentActivitiesForUser(Intent intent, + public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { throw new UnsupportedOperationException(); } @@ -255,6 +259,12 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ + @Override + public List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { + throw new UnsupportedOperationException(); + } + @Override public ProviderInfo resolveContentProvider(String name, int flags) { throw new UnsupportedOperationException(); |