dynamic disable notification update

This commit is contained in:
Kr328 committed 2019-11-26 13:52:28 +08:00
1 parent db1efcb85d
commit 527f99ea00
1 file changed
+3 -1
@@ -184,10 +184,12 @@ class ClashService : Service(), IClashEventObserver, ClashEventService.Master,
reloadProfile()
notification.show()
eventService.recastEventRequirement()
}
ProcessEvent.STOPPED -> {
eventService.preformTrafficEvent(TrafficEvent(0, 0, 0))
notification.cancel()
}
}