mobile request map

This commit is contained in:
wanghongenpin
2025-07-29 22:51:04 +08:00
parent d54ad20e6d
commit 4aa0d03356
14 changed files with 1133 additions and 31 deletions

View File

@@ -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)