MCPcopy
hub / github.com/XiaoYouChR/Ghost-Downloader-3 / notifyTaskCompleted

Function notifyTaskCompleted

app/platform/android_notification.py:42–46  ·  view source on GitHub ↗
(task: Task)

Source from the content-addressed store, hash-verified

40
41
42def notifyTaskCompleted(task: Task) -> None:
43 notify(DOWNLOAD_CHANNEL, tr("Notifications", "Downloads"),
44 hash(task.taskId) & 0x7FFFFFFF,
45 tr("Notifications", "Download completed"), task.name,
46 ongoing=False, lowImportance=False)
47
48
49DISK_SPACE_NOTIFICATION_ID = 0x6764_0003

Callers

nothing calls this directly

Calls 2

notifyFunction · 0.85
trFunction · 0.85

Tested by

no test coverage detected