Files
olm/dns/override/dns_override_android.go
Owen 28910ce188 Add stub
Former-commit-id: ece4239aaa
2025-12-29 17:50:15 -05:00

18 lines
372 B
Go

//go:build android
package olm
import (
"github.com/fosrl/olm/dns"
)
// SetupDNSOverride is a no-op on Android
// Android handles DNS through the VpnService API at the Java/Kotlin layer
func SetupDNSOverride(interfaceName string, dnsProxy *dns.DNSProxy) error {
return nil
}
// RestoreDNSOverride is a no-op on Android
func RestoreDNSOverride() error {
return nil
}