public void setInactivityThresholdMs(long inactivityThresholdMs) {
    mInactivityThresholdMs = inactivityThresholdMs;
  }
Watchdog runnable that calls {@link InactivityListener#onInactive()} if necessary or schedules
a new watchdog task otherwise.
animated-drawable/src/main/java/com/facebook/fresco/animation/backend/AnimationBackendDelegateWithInactivityCheck.java