public class NaiveDexMergingStrategy extends java.lang.Object implements DexMergingStrategy
| Constructor and Description |
|---|
NaiveDexMergingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<com.android.dex.Dex> |
getAllDexToMerge()
Returns the current list of DEX files that can be merged.
|
void |
startNewDex()
Starts a new list of DEX file(s) that can be merged.
|
boolean |
tryToAddForMerging(com.android.dex.Dex dexFile)
Tries to add a new DEX file to the existing list of DEX files to be merged.
|
public boolean tryToAddForMerging(@NonNull
com.android.dex.Dex dexFile)
DexMergingStrategyfalse. If it is possible to add it, true is
returned.tryToAddForMerging in interface DexMergingStrategypublic void startNewDex()
DexMergingStrategystartNewDex in interface DexMergingStrategy@NonNull public com.google.common.collect.ImmutableList<com.android.dex.Dex> getAllDexToMerge()
DexMergingStrategygetAllDexToMerge in interface DexMergingStrategy