platform: Export NeedWIFIState for Android

This commit is contained in:
世界
2024-02-16 13:06:34 +08:00
parent bca0b86549
commit 5583e01c99
3 changed files with 15 additions and 6 deletions

View File

@@ -77,6 +77,10 @@ func (s *BoxService) Close() error {
return s.instance.Close()
}
func (s *BoxService) NeedWIFIState() bool {
return s.instance.Router().NeedWIFIState()
}
var (
_ platform.Interface = (*platformInterfaceWrapper)(nil)
_ log.PlatformWriter = (*platformInterfaceWrapper)(nil)