diff --git a/Linphone/core/App.cpp b/Linphone/core/App.cpp index 831c5c0e9..06a667e35 100644 --- a/Linphone/core/App.cpp +++ b/Linphone/core/App.cpp @@ -418,6 +418,8 @@ void App::setSelf(QSharedPointer(me)) { }, Qt::SingleShotConnection); } + } else if (gstate == linphone::GlobalState::Off) { + CoreModel::getInstance()->getCore()->stopHidDevicesDetection(); } }); }); @@ -495,6 +497,8 @@ void App::setSelf(QSharedPointer(me)) { }, Qt::SingleShotConnection); } + } else if (state == linphone::GlobalState::Off) { + CoreModel::getInstance()->getCore()->stopHidDevicesDetection(); } }); }); @@ -691,6 +695,8 @@ void App::initCore() { // QML mEngine = new QQmlApplicationEngine(this); assert(mEngine); + lDebug() << log().arg("Starting HID devices detection"); + CoreModel::getInstance()->getCore()->startHidDevicesDetection(); // Provide `+custom` folders for custom components and `5.9` for old components. QStringList selectors("custom"); const QVersionNumber &version = QLibraryInfo::version(); diff --git a/external/linphone-sdk b/external/linphone-sdk index aa0864f7b..466a74a1c 160000 --- a/external/linphone-sdk +++ b/external/linphone-sdk @@ -1 +1 @@ -Subproject commit aa0864f7b00dc48893798556ca7c6ba3e4c12e43 +Subproject commit 466a74a1c208107348c7fd2612703734a4d2345a