We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506b227 commit 9a3d310Copy full SHA for 9a3d310
system/bluetooth1/adapter.go
@@ -179,7 +179,8 @@ func (a *adapter) connectProperties() {
179
a.bt.syncCommonToBackupDevices(a.Path)
180
}
181
// Sleep for 1s and wait for bluez to set the attributes before sending the attribute change signal
182
- time.Sleep(1 * time.Second)
+ // 延时1s发送状态,会导致前端蓝牙插件图标由disable变化为enable,不符合需求。需求要求插入蓝牙,蓝牙是enable打开状态。
183
+ // time.Sleep(1 * time.Second)
184
a.notifyPropertiesChanged()
185
})
186
if err != nil {
0 commit comments