public void recoverWork ( ) { if ( DEBUG ) { CLog . d ( LOG_TAG , "work_status: recoverWork %s" , this ) ; } mExitTasksEarly = false ; setPause ( false ) ; Iterator < Entry < String , LoadImageTask > > it = ( Iterator < Entry < String , LoadImageTask > > ) mLoadWorkList . entrySet ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { Entry < String , LoadImageTask > item = it . next ( ) ; LoadImageTask task = item . getValue ( ) ; task . restart ( ) ; mImageTaskExecutor . execute ( task ) ; } }
Recover the from the work list