mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
mobile request map
This commit is contained in:
@@ -124,6 +124,11 @@ class ProcessInfoManager private constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
if (host == null || localPort <= 0 || ProxyVpnService.host == null || ProxyVpnService.port <= 0) {
|
||||
Log.w("ProcessInfoManager", "Invalid host or local port: $host:$localPort or ProxyVpnService not initialized")
|
||||
return null
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
return withContext(Dispatchers.IO) {
|
||||
val localAddress = InetSocketAddress(host, localPort)
|
||||
|
||||
Reference in New Issue
Block a user