public synchronized void updateTasks ( List < TaskInfo > taskInfoList ) { for ( TaskInfo taskInfo : taskInfoList ) { mJobInfo . setTaskInfo ( taskInfo . getTaskId ( ) , taskInfo ) ; } updateStatus ( ) ; }
Updates internal status with given tasks .