use of com.android.tools.build.bundletool.model.SuffixManager in project bundletool by google.
the class SystemApksGenerator method writeSplitIdInManifestHavingSameModule.
private static Stream<ModuleSplit> writeSplitIdInManifestHavingSameModule(ImmutableList<ModuleSplit> splits) {
checkState(splits.stream().map(ModuleSplit::getModuleName).distinct().count() == 1);
SuffixManager suffixManager = new SuffixManager();
return splits.stream().map(split -> split.writeSplitIdInManifest(suffixManager.createSuffix(split)));
}
Aggregations