content: package com.aice.appstartfaster.test;
  
  import android.util.Log;
  
  
  import com.aice.appstartfaster.task.AppStartTask;
  
  import java.util.ArrayList;
  import java.util.List;
  import java.util.concurrent.Executor;
  
  public class TestAppStartTaskFive extends AppStartTask {
  
      @Override
      public void run() {
          long start = System.currentTimeMillis();
          try {
              Thread.sleep(300);
          }catch (Exception e){
          }
          Log.i("Task:","TestAppStartTaskFive执行耗时: " + (System.currentTimeMillis() - start));
      }
  
      @Override
      public List<Class<? extends AppStartTask>> getDependsTaskList() {
          List<Class<? extends AppStartTask>> dependsTaskList = new ArrayList<>();
          dependsTaskList.add(TestAppStartTaskThree.class);
          dependsTaskList.add(TestAppStartTaskTwo.class);
          return dependsTaskList;
      }
  
      @Override
      public Executor runOnExecutor() {
          return super.runOnExecutor();
      }
  
      @Override
      public boolean isRunOnMainThread() {
          return false;
      }
  
  
  }
  