docs: public void setLevel(int level) {
          if (level >= 0 && mLevel != level && level < mLevelInfo.size()) {
              Log.d(Log.SUBSYSTEM.WIDGET, TAG, "setLevel(%d): clearing level: %d", level, mLevel);
              if (mLevel >= 0) {
                  mLevelInfo.get(mLevel).setState(null);
              }
  
              mLevel = level;
  
              updateState();
          }
      }