Commit 494baf59 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Improved abort message when creating a core without context on Android

parent 6d04ab05
......@@ -2342,6 +2342,8 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig
#ifdef __ANDROID__
if (system_context)
lc->platform_helper = LinphonePrivate::createAndroidPlatformHelpers(lc, system_context);
ms_fatal("You must provide the Android's app context when creating the core!");
lc->platform_helper = LinphonePrivate::createIosPlatformHelpers(lc, system_context);
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