@Deprecated public class LocalAddonPkgInfo extends LocalPlatformPkgInfo
PROP_VERSION_CODENAME, PROP_VERSION_RELEASE, PROP_VERSION_SDK
Modifier and Type | Method and Description |
---|---|
IPkgDesc |
getDesc()
Deprecated.
Returns the
IPkgDesc describing this package. |
java.lang.String |
getTargetHash()
Deprecated.
The "path" of an add-on is its Target Hash.
|
static java.lang.String |
sanitizeDisplayToNameId(java.lang.String displayName)
Deprecated.
Computes a sanitized name-id based on an addon name-display.
|
getLayoutlibApi
compareTo, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getSourceProperties, hashCode, toString
@NonNull public IPkgDesc getDesc()
LocalPkgInfo
IPkgDesc
describing this package.getDesc
in class LocalPlatformPkgInfo
@NonNull public java.lang.String getTargetHash()
getTargetHash
in class LocalPlatformPkgInfo
public static java.lang.String sanitizeDisplayToNameId(@NonNull java.lang.String displayName)
displayName
- A name-display field or a old-style name field.[a-zA-Z0-9_-]+
pattern.