Class ShadowPackageBackwardCompatibility


public class ShadowPackageBackwardCompatibility
extends Object
Shadow of PackageBackwardCompatibility to handle a scenario that can come up when multiple Android versions end up on the classpath
  • Constructor Details

  • Method Details

    • addOptionalUpdater

      @Implementation protected static boolean addOptionalUpdater​(List<> packageUpdaters, String className, Supplier<> defaultUpdater)
      Stubbing this out as if Android S+ is on the classpath, we'll get a ClassCastException instead of a ClassNotFoundException. Since we don't really need this logic, simpler to just skip it