package org.torproject.android.settings; import org.torproject.android.service.ITorService; import android.os.AsyncTask; import android.os.RemoteException; public class ProcessSettingsAsyncTask extends AsyncTask { @Override protected Long doInBackground(ITorService... torService) { try { torService[0].processSettings(); } catch (RemoteException e) { e.printStackTrace(); } return 100L; } protected void onProgressUpdate(Integer... progress) { } protected void onPostExecute(Long result) { } }