mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +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)
|
||||
.setContentText("%.2f / %.2f MB".format(progress, max))
|
||||
} else {
|
||||
send(-1f, subject)
|
||||
notification.setContentText("%.2f MB / ??".format(progress))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user