Compare commits

...
3 Commits
Author SHA1 Message Date
n3t1zen 601429d63d use my keystore 2026-05-05 12:04:02 +08:00
n3t1zen f27b2f7e08 temporary fix for building 2026-05-05 12:03:23 +08:00
n3t1zen 9932774a1d limit memory... 2026-05-05 11:52:51 +08:00
4 changed files with 14 additions and 1 deletions
Binary file not shown.
@@ -2,6 +2,7 @@ package io.nekohasekai.sfa.bg
import android.app.Service
import android.content.Intent
import io.nekohasekai.libbox.NeighborUpdateListener
import io.nekohasekai.libbox.Notification
class ProxyService :
@@ -14,6 +15,12 @@ class ProxyService :
override fun onBind(intent: Intent) = service.onBind()
override fun onDestroy() = service.onDestroy()
override fun closeNeighborMonitor(listener: NeighborUpdateListener?) {
}
override fun sendNotification(notification: Notification) = service.sendNotification(notification)
override fun startNeighborMonitor(listener: NeighborUpdateListener?) {
}
}
@@ -7,6 +7,7 @@ import android.net.VpnService
import android.os.Build
import android.os.IBinder
import android.util.Log
import io.nekohasekai.libbox.NeighborUpdateListener
import io.nekohasekai.libbox.Notification
import io.nekohasekai.libbox.TunOptions
import io.nekohasekai.sfa.database.Settings
@@ -51,6 +52,9 @@ class VPNService :
protect(fd)
}
override fun closeNeighborMonitor(listener: NeighborUpdateListener?) {
}
var systemProxyAvailable = false
var systemProxyEnabled = false
@@ -182,4 +186,6 @@ class VPNService :
}
override fun sendNotification(notification: Notification) = service.sendNotification(notification)
override fun startNeighborMonitor(listener: NeighborUpdateListener?) {
}
}
+1 -1
View File
@@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx8192m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects