diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/pm/PackageManagerService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java index d3f7795..293043a 100644 --- a/services/core/java/com/android/server/pm/PackageManagerService.java +++ b/services/core/java/com/android/server/pm/PackageManagerService.java @@ -2967,6 +2967,10 @@ public class PackageManagerService extends IPackageManager.Stub { public boolean activitySupportsIntent(ComponentName component, Intent intent, String resolvedType) { synchronized (mPackages) { + if (component.equals(mResolveComponentName)) { + // The resolver supports EVERYTHING! + return true; + } PackageParser.Activity a = mActivities.mActivities.get(component); if (a == null) { return false; |