Add android package route support

This commit is contained in:
世界 2022-08-15 11:10:27 +08:00
parent b828f01643
commit 1407eae46b
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
7 changed files with 276 additions and 36 deletions

9
packages_stub.go Normal file
View file

@ -0,0 +1,9 @@
//go:build !android
package tun
import "os"
func NewPackageManager(callback PackageManagerCallback) (PackageManager, error) {
return nil, os.ErrInvalid
}