Skip to content

Commit cfce226

Browse files
committed
fix(bluetooth): display notification when file transfer times out
Fix the bug where timeout notification was not displayed during Bluetooth file transfer. The issue was introduced by dde-shell commit: linuxdeepin/dde-shell@c07b130 Changed the notifyID parameter to 0 in notifyReceiveFileTimeout to ensure the timeout notification is properly shown to the user. Log: display notification when file transfer times out Signed-off-by: ComixHe <heyuming@deepin.org>
1 parent 74b20ff commit cfce226

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bluetooth1/obex_agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ func (a *obexAgent) requestReceive(deviceName, filename string) (bool, error) {
595595
a.b.setPropTransportable(true)
596596

597597
if reason == CancelReasonExpired {
598-
a.notifyReceiveFileTimeout(notify, notifyID, filename)
598+
a.notifyReceiveFileTimeout(notify, 0, filename)
599599
}
600600
}
601601

0 commit comments

Comments
 (0)