public static <T extends AnimationBackend> AnimationBackendDelegate<T> createForBackend(
      T backend,
      InactivityListener inactivityListener,
      MonotonicClock monotonicClock,
      ScheduledExecutorService scheduledExecutorServiceForUiThread) {
    return new AnimationBackendDelegateWithInactivityCheck<>(
        backend, inactivityListener, monotonicClock, scheduledExecutorServiceForUiThread);
  }
Called when the animation backend has not been used to draw frames within the given
threshold.
animated-drawable/src/main/java/com/facebook/fresco/animation/backend/AnimationBackendDelegateWithInactivityCheck.java