code: public void removeStorageDir(StorageDir dir) {
      if (mDirs.remove(dir)) {
        mCapacityBytes -=  dir.getCapacityBytes();
      }
      mLostStorage.add(dir.getDirPath());
    }
docs: Removes a directory.
  @param dir directory to be removed