mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 05:38:14 +00:00
Fixed Sqlite VFS for Android
This commit is contained in:
parent
7b4af96a4a
commit
f426902ebe
1 changed files with 4 additions and 3 deletions
|
|
@ -1823,13 +1823,14 @@ static void linphone_core_init(LinphoneCore * lc, const LinphoneCoreVTable *vtab
|
|||
|
||||
lc->ringtoneplayer = linphone_ringtoneplayer_new();
|
||||
|
||||
#ifdef SQLITE_STORAGE_ENABLED
|
||||
sqlite3_bctbx_vfs_register(0);
|
||||
#endif
|
||||
|
||||
remote_provisioning_uri = linphone_core_get_provisioning_uri(lc);
|
||||
if (remote_provisioning_uri == NULL) {
|
||||
linphone_configuring_terminated(lc, LinphoneConfiguringSkipped, NULL);
|
||||
} // else linphone_core_start will be called after the remote provisioning (see linphone_core_iterate)
|
||||
#ifdef SQLITE_STORAGE_ENABLED
|
||||
sqlite3_bctbx_vfs_register(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
LinphoneCore *linphone_core_new(const LinphoneCoreVTable *vtable,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue