Commit Graph

2 Commits (c92d347ac9792fa5fc16ba3a6cebdaa02826b6d7)

Author SHA1 Message Date
kari-ts c92d347ac9 android: prepare and connect VPN
-Create scope for IPNService, tied to the lifecycle of the VPN service
-Create new IPNServiceManager, for actions taken by the backend
-Call local.Start in the backend. This was missing before

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
8 months ago
kari-ts 8b067ea102 android: new backend
Create pkg/tailscale, a Go library for the new Android app which handles starting up and running the local backend
-On initialization, get the JVM and app context to make JNI work
-Send filesystem directory path

Add a logging bridge from Go to Android (copied from Gio)

Add connect function which sends request to edit prefs instead of setting prefs

Future:
-Make build.gradle more portable
-Fix connect and make sure Quick Tiles still works

tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
8 months ago