Skip to content

Commit 41fd2b0

Browse files
committed
Fix
1 parent 72da42e commit 41fd2b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

V2rayNG/app/src/main/java/com/v2ray/ang/service/NotificationService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ object NotificationService {
158158
mBuilder = null
159159
speedNotificationJob?.cancel()
160160
speedNotificationJob = null
161+
mNotificationManager = null
161162
}
162163

163164
/**

V2rayNG/app/src/main/java/com/v2ray/ang/service/V2RayServiceManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ object V2RayServiceManager {
169169

170170
try {
171171
MessageUtil.sendMsg2UI(service, AppConfig.MSG_STATE_START_SUCCESS, "")
172-
NotificationService.startSpeedNotification(currentConfig)
173172
NotificationService.showNotification(currentConfig)
173+
NotificationService.startSpeedNotification(currentConfig)
174174

175175
PluginUtil.runPlugin(service, config, result.socksPort)
176176
} catch (e: Exception) {

0 commit comments

Comments
 (0)