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

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);
else
ms_fatal("You must provide the Android's app context when creating the core!");
#elif TARGET_OS_IPHONE
lc->platform_helper = LinphonePrivate::createIosPlatformHelpers(lc, system_context);
#endif
......
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