Loading privacymoduletor/src/main/java/foundation/e/privacymodules/ipscramblermodule/IpScramblerModule.kt +2 −1 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import android.content.Context.NOTIFICATION_SERVICE import androidx.core.content.ContextCompat.getSystemService import android.app.NotificationManager import android.net.VpnManager import android.os.Bundle import java.security.InvalidParameterException import java.util.* Loading Loading @@ -210,7 +211,7 @@ class IpScramblerModule(private val context: Context): IIpScramblerModule { private fun getExitCountryCode(): String { val raw = Prefs.getExitNodes() return if (raw.isEmpty()) raw else raw.slice(1..3) return if (raw.isEmpty()) raw else raw.slice(1..2 ) } override fun prepareAndroidVpn(): Intent? { Loading Loading
privacymoduletor/src/main/java/foundation/e/privacymodules/ipscramblermodule/IpScramblerModule.kt +2 −1 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import android.content.Context.NOTIFICATION_SERVICE import androidx.core.content.ContextCompat.getSystemService import android.app.NotificationManager import android.net.VpnManager import android.os.Bundle import java.security.InvalidParameterException import java.util.* Loading Loading @@ -210,7 +211,7 @@ class IpScramblerModule(private val context: Context): IIpScramblerModule { private fun getExitCountryCode(): String { val raw = Prefs.getExitNodes() return if (raw.isEmpty()) raw else raw.slice(1..3) return if (raw.isEmpty()) raw else raw.slice(1..2 ) } override fun prepareAndroidVpn(): Intent? { Loading