code: public static void setExecutor(Executor executor) {
          Validate.notNull(executor, "executor");
          synchronized (LOCK) {
              Settings.executor = executor;
          }
      }
docs: Sets the Executor used by the SDK for non-AsyncTask background work.
  
  @param executor
  the Executor to use; must not be null.