@MainThread
  public void endAnimation() {
    lazyCompositionTasks.clear();
    animator.endAnimation();
    if (!isVisible()) {
      onVisibleAction = OnVisibleAction.NONE;
    }
  }
This method is used to get the marker for animations when system animations are disabled.
It iterates over the list of allowed reduced motion markers and returns the first non-null marker it finds.
If no non-null marker is found, it returns null.

@return The first non-null marker from the list of allowed reduced motion markers, or null if no such marker is found.
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java