diff --git a/src/org/torproject/android/service/CheckBinariesAsyncTask.java b/src/org/torproject/android/service/CheckBinariesAsyncTask.java new file mode 100644 index 00000000..7ab0c50c --- /dev/null +++ b/src/org/torproject/android/service/CheckBinariesAsyncTask.java @@ -0,0 +1,32 @@ +package org.torproject.android.service; + +import org.torproject.android.service.TorService; + +import android.os.AsyncTask; +import android.os.RemoteException; + +public class CheckBinariesAsyncTask extends AsyncTask +{ + + + @Override + protected Long doInBackground(TorService... torService) { + + try { + torService[0].checkTorBinaries(false); + } catch (Exception e) { + e.printStackTrace(); + } + + return 100L; + } + + protected void onProgressUpdate(Integer... progress) { + + } + + protected void onPostExecute(Long result) { + + } + +}