Compare commits

..

1 commit

Author SHA1 Message Date
359c6dd598
feat: cancellable download 2025-03-10 20:31:31 +08:00

View file

@ -381,7 +381,7 @@ class EuiccChannelManagerService : LifecycleService(), OpenEuiccContextMarker {
R.drawable.ic_task_sim_card_download
) {
val callback = object : ProfileDownloadCallback {
override var isCancelled: Boolean = true
override var isCancelled: Boolean = false
override fun onStateUpdate(state: ProfileDownloadCallback.DownloadState) {
if (state.progress == 0) return