docs: public static AnimationBackend wrapAnimationBackendWithInactivityCheck(
        final Context context,
        final AnimationBackend animationBackend) {
      AnimationBackendDelegateWithInactivityCheck.InactivityListener inactivityListener =
          new AnimationBackendDelegateWithInactivityCheck.InactivityListener() {
            @Override
            public void onInactive() {
              // Forward the inactive callback to the backend if needed
              if (animationBackend instanceof
                  AnimationBackendDelegateWithInactivityCheck.InactivityListener) {
                ((AnimationBackendDelegateWithInactivityCheck.InactivityListener) animationBackend)
                    .onInactive();
              }
              Toast.makeText(
                  context,
                  "Animation backend inactive.",
                  Toast.LENGTH_SHORT)
                  .show();
            }
          };
      return createForBackend(
          animationBackend,
          inactivityListener,
          RealtimeSinceBootClock.get(),
          UiThreadImmediateExecutorService.getInstance());
    }