code: public void enableWatcher(TextWatcher watcher, boolean enabled){
          int index = mWatchers.indexOfValue(watcher);
          if(index >= 0){
              int key = mWatchers.keyAt(index);
              mEnabledKeys.put(key, enabled);
          }
      }
docs: Enable or Disable a text watcher by reference
  
  @param watcher       The {@link TextWatcher} to enable or disable
  @param enabled       whether or not to enable or disable