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