public static enum ManifestMerger2.Invoker.Feature extends java.lang.Enum<ManifestMerger2.Invoker.Feature>
| Enum Constant and Description |
|---|
ADD_ANDROIDX_MULTIDEX_APPLICATION_IF_NO_NAME
Adds the AndroidX name of
SdkConstants.MULTI_DEX_APPLICATION as application
name if none is specified. |
ADD_FEATURE_SPLIT_ATTRIBUTE
Mark this application as a feature split
|
ADD_INSTANT_APP_FEATURE_SPLIT_INFO
Mark the entry points to the application with splitName
|
ADD_SUPPORT_MULTIDEX_APPLICATION_IF_NO_NAME
Adds the pre-AndroidX name of
SdkConstants.MULTI_DEX_APPLICATION as
application name if none is specified. |
ADVANCED_PROFILING
Perform Studio advanced profiling manifest modifications
|
DEBUGGABLE
Set the android:debuggable flag to the application.
|
EXTRACT_FQCNS
Perform a sweep after all merging activities to remove all fully qualified class
names and replace them with the equivalent short version.
|
HANDLE_VALUE_CONFLICTS_AUTOMATICALLY
When there are attribute value conflicts, automatically pick the higher priority
value.
|
INSTANT_RUN_REPLACEMENT
Perform InstantRun related swapping in the merged manifest file.
|
KEEP_INTERMEDIARY_STAGES
Keep all intermediary merged files during the merging process.
|
MAKE_AAPT_SAFE
Encode unresolved placeholders to be AAPT friendly.
|
NO_IMPLICIT_PERMISSION_ADDITION
Do not perform implicit permission addition.
|
NO_PLACEHOLDER_REPLACEMENT
Do no perform placeholders replacement.
|
PRINT_SIMPLE_FILENAMES
When logging file names, use
File.getName() rather than
File.getPath() |
REMOVE_TOOLS_DECLARATIONS
Perform a sweep after all merging activities to remove all tools: decorations.
|
SKIP_BLAME
Clients will not request the blame history
|
SKIP_XML_STRING
Clients will only request the merged XML documents, not XML pretty printed documents
|
TARGET_SANDBOX_VERSION
Set the android:targetSandboxVersion attribute.
|
TEST_ONLY
Add android:testOnly="true" attribute to prevent APK from being uploaded to Play
store.
|
| Modifier and Type | Method and Description |
|---|---|
static ManifestMerger2.Invoker.Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManifestMerger2.Invoker.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManifestMerger2.Invoker.Feature KEEP_INTERMEDIARY_STAGES
public static final ManifestMerger2.Invoker.Feature PRINT_SIMPLE_FILENAMES
File.getName() rather than
File.getPath()public static final ManifestMerger2.Invoker.Feature EXTRACT_FQCNS
public static final ManifestMerger2.Invoker.Feature REMOVE_TOOLS_DECLARATIONS
public static final ManifestMerger2.Invoker.Feature NO_PLACEHOLDER_REPLACEMENT
public static final ManifestMerger2.Invoker.Feature MAKE_AAPT_SAFE
public static final ManifestMerger2.Invoker.Feature INSTANT_RUN_REPLACEMENT
public static final ManifestMerger2.Invoker.Feature SKIP_BLAME
public static final ManifestMerger2.Invoker.Feature SKIP_XML_STRING
public static final ManifestMerger2.Invoker.Feature TEST_ONLY
public static final ManifestMerger2.Invoker.Feature NO_IMPLICIT_PERMISSION_ADDITION
public static final ManifestMerger2.Invoker.Feature ADVANCED_PROFILING
public static final ManifestMerger2.Invoker.Feature ADD_FEATURE_SPLIT_ATTRIBUTE
public static final ManifestMerger2.Invoker.Feature ADD_INSTANT_APP_FEATURE_SPLIT_INFO
public static final ManifestMerger2.Invoker.Feature DEBUGGABLE
public static final ManifestMerger2.Invoker.Feature TARGET_SANDBOX_VERSION
public static final ManifestMerger2.Invoker.Feature HANDLE_VALUE_CONFLICTS_AUTOMATICALLY
This is for example used in the IDE when we need to merge a new manifest template into an existing one and we don't want to abort the merge.
(This will log a warning.)
public static final ManifestMerger2.Invoker.Feature ADD_ANDROIDX_MULTIDEX_APPLICATION_IF_NO_NAME
SdkConstants.MULTI_DEX_APPLICATION as application
name if none is specified. Used for legacy multidex.public static final ManifestMerger2.Invoker.Feature ADD_SUPPORT_MULTIDEX_APPLICATION_IF_NO_NAME
SdkConstants.MULTI_DEX_APPLICATION as
application name if none is specified. Used for legacy multidex.public static ManifestMerger2.Invoker.Feature[] values()
for (ManifestMerger2.Invoker.Feature c : ManifestMerger2.Invoker.Feature.values()) System.out.println(c);
public static ManifestMerger2.Invoker.Feature valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null