@NonNull public static DefaultVectorDrawablesOptions copyOf(@NonNull VectorDrawablesOptions original) { DefaultVectorDrawablesOptions options = new DefaultVectorDrawablesOptions(); options.setGeneratedDensities(original.getGeneratedDensities()); options.setUseSupportLibrary(original.getUseSupportLibrary()); return options; }
DefaultVectorDrawablesOptions.copyOf(productFlavor.getVectorDrawables());
.build()); flavor.getVectorDrawables().setGeneratedDensities( chooseNotNull( overlay.getVectorDrawables().getGeneratedDensities(), base.getVectorDrawables().getGeneratedDensities())); flavor.getVectorDrawables().setUseSupportLibrary( chooseNotNull( overlay.getVectorDrawables().getUseSupportLibrary(),
/** * Creates a ProductFlavor with a given name. * * Names can be important when dealing with flavor groups. * @param name the name of the flavor. * * @see BuilderConstants#MAIN */ public DefaultProductFlavor(@NonNull String name) { mName = name; mVectorDrawablesOptions = new DefaultVectorDrawablesOptions(); }
DefaultVectorDrawablesOptions.copyOf(productFlavor.getVectorDrawables()); flavor.mWearAppUnbundled = productFlavor.getWearAppUnbundled();