public class ExportCrashLogsTask
extends android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
implements android.content.DialogInterface.OnCancelListener
Modifier and Type | Field and Description |
---|---|
static java.io.FilenameFilter |
DebuLogFileFilter
Used to filter out debug logs so they are not uploaded, when debug uploads are disabled
Filters out non JSON files, with exception for native crash TXT file
|
Constructor and Description |
---|
ExportCrashLogsTask(MapView mapView,
java.lang.String autoUploadLogServer) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
doInBackground(java.lang.Void... arg0) |
void |
onCancel(android.content.DialogInterface arg0) |
protected void |
onCancelled(java.lang.Boolean result) |
protected void |
onPostExecute(java.lang.Boolean result) |
protected void |
onPreExecute() |
protected void |
onProgressUpdate(java.lang.Integer... progress) |
public static final java.io.FilenameFilter DebuLogFileFilter
public ExportCrashLogsTask(MapView mapView, java.lang.String autoUploadLogServer)
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
protected void onProgressUpdate(java.lang.Integer... progress)
onProgressUpdate
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
protected java.lang.Boolean doInBackground(java.lang.Void... arg0)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
protected void onCancelled(java.lang.Boolean result)
onCancelled
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
public void onCancel(android.content.DialogInterface arg0)
onCancel
in interface android.content.DialogInterface.OnCancelListener
protected void onPostExecute(java.lang.Boolean result)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>