From a6974b9e90d5728db40b5c49464e8f7b11e419b3 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 31 Mar 2026 15:48:23 +0200 Subject: [PATCH] Manually start HID devices detection after crash handler startup. --- Linphone/core/App.cpp | 6 ++++++ external/linphone-sdk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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