question: public void updatePendingList ( ) { while ( mPendingList . size ( ) > 0 && activeListHasRoom ( ) ) { DownloadInfoRunnable pending = mPendingList . get ( 0 ) ; pending . changeStatusState ( new ActiveState ( pending ) ) ; } }
target:  Check if there are pending downloads and if so move the top one up to the active list.