Пример #1
0
  private static void copierFichiers2(final boolean copyFiles, final boolean langueChanged) {

    if (copyFiles || langueChanged) {
      afficherProgress();
      // attendreAffichageProgress();
    }

    try {
      if (copyFiles) CopyFiles();
      if (copyFiles || langueChanged) {
        CollectionManager.ImportArchive(AppData.current_activity, mProgressDialog);
      }

      AppData.current_activity.runOnUiThread(
          new Runnable() {
            public void run() {
              fermerProgress();
              delegate.onBootstrapInitialised();
            }
          });
    } catch (Exception e) {
      e.printStackTrace();
    }
  }