Commit 3af62d98 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed crash in file transfer due to backgroundtaskid not being initialized +...

Fixed crash in file transfer due to backgroundtaskid not being initialized + removed unused header in jni
parent 49540f6b
......@@ -141,7 +141,7 @@ private:
belle_http_request_listener_t *httpListener = nullptr;
SalOp *salOp = nullptr;
SalCustomHeader *salCustomHeaders = nullptr;
unsigned long backgroundTaskId;
unsigned long backgroundTaskId = 0;
unsigned char currentSendStep = Step::None;
bool applyModifiers = true;
// Cache for returned values, used for compatibility with previous C API
......
......@@ -36,7 +36,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifdef __ANDROID__
#include <android/log.h>
#include <belle-sip/wakelock.h>
#endif /* __ANDROID__ */
static JavaVM *jvm = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment