/** * Creates a new {@link com.android.manifmerger.ManifestMerger2.Invoker} instance to invoke * the merging tool to merge manifest files for an application. * * @param mainManifestFile application main manifest file. * @param logger the logger interface to use. * @return an {@link com.android.manifmerger.ManifestMerger2.Invoker} instance that will allow * further customization and trigger the merging tool. */ @NonNull public static Invoker newMerger(@NonNull File mainManifestFile, @NonNull ILogger logger, @NonNull MergeType mergeType) { return new Invoker(mainManifestFile, logger, mergeType, XmlDocument.Type.MAIN); }