public static boolean isKeyframesEnabled() {
    return Build.VERSION.SDK_INT >= 15;
  }
Helper class to add custom decoders and drawable factories if enabled.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/CustomImageFormatConfigurator.java