public void setAppTasks(List<ActivityManager.AppTask> appTasks) {
    this.appTasks.clear();
    this.appTasks.addAll(appTasks);
  }
public void setAppTasks(List<ActivityManager.AppTask> appTasks) {
    this.appTasks.clear();
    this.appTasks.addAll(appTasks);
  }
public void setAppTasks ( List < ActivityManager . AppTask > appTasks ) { this . appTasks . clear ( ) ; this . appTasks . addAll ( appTasks ) ; }
Sets the values to be returned by {@link #getAppTasks()}.

@see #getAppTasks()
@param tasks List of app tasks.
Sets the values to be returned by { @link #getAppTasks () } .