docs: @Override
    protected boolean onLevelChange(int level) {
      if (mIsRunning) {
        // If the client called start on us, they expect us to run the animation. In that case,
        // we ignore level changes.
        return false;
      }
      if (mLastFrameAnimationTimeMs != level) {
        mLastFrameAnimationTimeMs = level;
        invalidateSelf();
        return true;
      }
      return false;
    }