import java.io.IOException;
import java.io.PrintStream;
import java.lang.Thread.UncaughtExceptionHandler;
-import java.util.Arrays;
+import java.util.Collections;
import org.eclipse.jdt.annotation.Nullable;
ex.printStackTrace(pw);
pw.close();
- new SendHttpMessageAsyncTask(toNonNull(Arrays.asList(
- new Header("X-Action", "CRASHDUMP")
- )), toNonNull(context), toNonNull(baos.toByteArray())).execute();
+ new HttpCallExecutableRunnable("/crashdump", toNonNull(Collections.<Header>emptyList()),
+ toNonNull(context), null, false, toNonNull(baos.toByteArray())).execute();
try {
baos.close();