diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/service/V2RayServiceManager.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/service/V2RayServiceManager.kt index a85e8467..cbe6ddeb 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/service/V2RayServiceManager.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/service/V2RayServiceManager.kt @@ -88,7 +88,7 @@ object V2RayServiceManager { } override fun protect(l: Long): Long { - val serviceControl = serviceControl?.get() ?: return 1 + val serviceControl = serviceControl?.get() ?: return 0 return if (serviceControl.vpnProtect(l.toInt())) 0 else 1 }