mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-25 15:07:24 +00:00
Fixed file service not broadcasting indeterminate states
This commit is contained in:
parent
a12eb3fc6f
commit
d6d82edff5
@ -87,6 +87,7 @@ abstract class RemoteFileService : NotificationService() {
|
|||||||
.setProgress(maxRaw.toInt(), it.toInt(), false)
|
.setProgress(maxRaw.toInt(), it.toInt(), false)
|
||||||
.setContentText("%.2f / %.2f MB".format(progress, max))
|
.setContentText("%.2f / %.2f MB".format(progress, max))
|
||||||
} else {
|
} else {
|
||||||
|
send(-1f, subject)
|
||||||
notification.setContentText("%.2f MB / ??".format(progress))
|
notification.setContentText("%.2f MB / ??".format(progress))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user