public ArrayList<String> getWarnings() {
    return new ArrayList<>(Arrays.asList(warnings.toArray(new String[warnings.size()])));
  }
Used to determine if an animation can be drawn with hardware acceleration.
lottie/src/main/java/com/airbnb/lottie/LottieComposition.java