android: use new System with pre-populated event bus (#670)

Updates tailscale/tailscale#15160

Signed-off-by: kari-ts <kari@tailscale.com>
pull/671/head
kari-ts 6 months ago committed by GitHub
parent 14b0bd8b19
commit 014f591a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -266,7 +266,7 @@ func (a *App) runBackendOnce(ctx context.Context) error {
func (a *App) newBackend(dataDir string, appCtx AppContext, store *stateStore, func (a *App) newBackend(dataDir string, appCtx AppContext, store *stateStore,
settings settingsFunc) (*backend, error) { settings settingsFunc) (*backend, error) {
sys := new(tsd.System) sys := tsd.NewSystem()
sys.Set(store) sys.Set(store)
logf := logger.RusagePrefixLog(log.Printf) logf := logger.RusagePrefixLog(log.Printf)

Loading…
Cancel
Save