mobile changes
This commit is contained in:
@@ -76,7 +76,8 @@ class TunVpnService : VpnService() {
|
||||
val fd = vpnInterface!!.detachFd()
|
||||
|
||||
try {
|
||||
activeSession = SessionManager().startMobile("$ip:$port", fd, cacheDir.absolutePath)
|
||||
val manager = SessionManager()
|
||||
activeSession = manager.spawnSession("$ip:$port", fd, cacheDir.absolutePath)
|
||||
triggerVibration(true)
|
||||
sendStatusBroadcast("connected")
|
||||
} catch (e: Exception) {
|
||||
|
||||
Reference in New Issue
Block a user