From 7e1e21e3db0a560ee64238eee2d66ecbed078d2f Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Tue, 16 Dec 2025 16:29:41 +0800 Subject: [PATCH] fix: disable bluetooth failed disable bluetooth failed due to name log: fix the disable bluetooth failed bug: https://pms.uniontech.com/bug-view-341783.html Change-Id: I4495dc67a1480ae3695c253b474e3dd45c11442a --- deepin-devicemanager/src/DeviceManager/DeviceBluetooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepin-devicemanager/src/DeviceManager/DeviceBluetooth.cpp b/deepin-devicemanager/src/DeviceManager/DeviceBluetooth.cpp index 7ab89817..be08367f 100644 --- a/deepin-devicemanager/src/DeviceManager/DeviceBluetooth.cpp +++ b/deepin-devicemanager/src/DeviceManager/DeviceBluetooth.cpp @@ -31,7 +31,7 @@ DeviceBluetooth::DeviceBluetooth() void DeviceBluetooth::setInfoFromHciconfig(const QMap &mapInfo) { // 获取设备的基本信息 - setAttribute(mapInfo, "Name", m_Name); + setAttribute(mapInfo, "Name", m_Name, false); setAttribute(mapInfo, "Alias", m_Alias); setAttribute(mapInfo, "Manufacturer", m_Vendor); setAttribute(mapInfo, "HCI Version", m_Version, true);