public class ShadowResolveInfo
extends java.lang.Object
Utilities for ResolveInfo
.
Constructor and Description |
---|
ShadowResolveInfo() |
Modifier and Type | Method and Description |
---|---|
static android.content.pm.ResolveInfo |
newResolveInfo(android.content.pm.ResolveInfo orig)
Copies
ResolveInfo . |
static android.content.pm.ResolveInfo |
newResolveInfo(java.lang.String displayName,
java.lang.String packageName)
Creates a
ResolveInfo . |
static android.content.pm.ResolveInfo |
newResolveInfo(java.lang.String displayName,
java.lang.String packageName,
java.lang.String activityName)
Creates a
ResolveInfo . |
public static android.content.pm.ResolveInfo newResolveInfo(java.lang.String displayName, java.lang.String packageName)
Creates a ResolveInfo
.
displayName
- Display name.packageName
- Package name.public static android.content.pm.ResolveInfo newResolveInfo(java.lang.String displayName, java.lang.String packageName, java.lang.String activityName)
Creates a ResolveInfo
.
displayName
- Display name.packageName
- Package name.activityName
- Activity name.public static android.content.pm.ResolveInfo newResolveInfo(android.content.pm.ResolveInfo orig)
Copies ResolveInfo
.
Note that this is shallow copy as performed by the copy constructor existing in API 17.