private boolean activeListHasRoom(){
  int maxDownloads=1;
  return mActiveList.size() < maxDownloads;
}

private boolean activeListHasRoom ( ) { int maxDownloads = 1 ; return mActiveList . size ( ) < maxDownloads ; }
check if there is room in the active list .
