You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/cmd/tailscale
Denton Gentry 79bb2f33d0 ui: more robust isConnected check.
1. Follow
   https://developer.android.com/training/monitoring-device-state/connectivity-status-type
   to determine whether to report ourself as having connectivity or not.

   Tested by turning the Wifi & LTE off and on, seems to work well in
   the contrived test case.

2. Call superclass for onLost() and onLinkPropertiesChanged() handlers.
   Current Android versions have no code in the superclass of these two
   callbacks, but future proofiness.

3. Log when the UI report of LostInternet changes, so we can find it.

Fixes https://github.com/tailscale/tailscale/issues/3542

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
..
backend.go Merge branch 'main' into dns 3 years ago
callbacks.go android,cmd/tailscale: implement taildrop receive for Android < 10 3 years ago
google.png cmd/tailscale: add Google sign-in button 4 years ago
main.go ui: more robust isConnected check. 3 years ago
multitun.go fix name of NewUserspaceEngine in error/comment 3 years ago
pprof.go cmd/tailscale: delete unused FileTargetsEvent; gofmt 3 years ago
store.go jni,cmd/tailscale: replace jni.EnvFor with explicit conversion 3 years ago
tailscale.png all: initial commit 4 years ago
tools.go cmd/tailscale: delete unused FileTargetsEvent; gofmt 3 years ago
ui.go cmd/tailscale,go.*: update Gio version 3 years ago