优化
This commit is contained in:
1 parent
cb19cb5c14
commit
6f7d4c6e35
1 file changed
+4
-1
@@ -123,7 +123,10 @@ class ExportBookService : BaseService() {
|
||||
toastOnUi(it.localizedMessage)
|
||||
}
|
||||
|
||||
IntentAction.stop -> stopSelf()
|
||||
IntentAction.stop -> {
|
||||
notificationManager.cancel(NotificationId.ExportBook)
|
||||
stopSelf()
|
||||
}
|
||||
}
|
||||
return super.onStartCommand(intent, flags, startId)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user