Package com.android.builder.core
Interface ManifestAttributeSupplier
- All Known Implementing Classes:
DefaultManifestParser
Deprecated.
An interface that provides methods for reading some of the attribute values from the manifest.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns value of theextractNativeLibsattribute of theapplicationtag, if present.Deprecated.Returns the functionalTest from the instrumentation tag in the manifest file.Deprecated.Returns the handleProfiling from the instrumentation tag in the manifest file.Deprecated.Returns the instrumentation runner from the instrumentation tag in the manifest file.Deprecated.Returns the minSdkVersion from the manifest file.Deprecated.Returns the package name from the manifest file.getSplit()Deprecated.Returns the split name from the manifest file.Deprecated.Returns the targetPackage from the instrumentation tag in the manifest file.Deprecated.Returns the targetSdkVersion from the manifest file.Deprecated.Returns the testLabel from the instrumentation tag in the manifest file.Deprecated.Returns value of theuseEmbeddedDexattribute of theapplicationtag, if present.booleanDeprecated.Whether the manifest file is required to exist.
-
Method Details
-
isManifestFileRequired
boolean isManifestFileRequired()Deprecated.Whether the manifest file is required to exist. -
getPackage
Deprecated.Returns the package name from the manifest file.- Returns:
- the package name or null if not found.
-
getSplit
Deprecated.Returns the split name from the manifest file.- Returns:
- the split name or null if not found.
-
getMinSdkVersion
Object getMinSdkVersion()Deprecated.Returns the minSdkVersion from the manifest file. The returned value can be an Integer or a String- Returns:
- the minSdkVersion or null if value is not set.
-
getTargetSdkVersion
Object getTargetSdkVersion()Deprecated.Returns the targetSdkVersion from the manifest file. The returned value can be an Integer or a String- Returns:
- the targetSdkVersion or null if not found
-
getInstrumentationRunner
Deprecated.Returns the instrumentation runner from the instrumentation tag in the manifest file.- Returns:
- the instrumentation runner or
nullif there is none specified.
-
getTargetPackage
Deprecated.Returns the targetPackage from the instrumentation tag in the manifest file.- Returns:
- the targetPackage or
nullif there is none specified.
-
getFunctionalTest
Deprecated.Returns the functionalTest from the instrumentation tag in the manifest file.- Returns:
- the functionalTest or
nullif there is none specified.
-
getHandleProfiling
Deprecated.Returns the handleProfiling from the instrumentation tag in the manifest file.- Returns:
- the handleProfiling or
nullif there is none specified.
-
getTestLabel
Deprecated.Returns the testLabel from the instrumentation tag in the manifest file.- Returns:
- the testLabel or
nullif there is none specified.
-
getExtractNativeLibs
Deprecated.Returns value of theextractNativeLibsattribute of theapplicationtag, if present. -
getUseEmbeddedDex
Deprecated.Returns value of theuseEmbeddedDexattribute of theapplicationtag, if present.
-