-
Notifications
You must be signed in to change notification settings - Fork 581
android: drop health warnings in Stopped and NeedsLogin state #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| // When the client is Stopped, requires Login or has no state, we should drop all | ||
| // existing warnings | ||
| when (val ipnState = pair.second) { | ||
| Ipn.State.NeedsLogin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this isn't relevant to Android, but what about InUseOtherUser?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the logic from the Apple notifier. InOtherUser isn't covered there - I don't think it's relevant on mobile (or at least, not relevant here). NeedsLogin was the state we weren't dealing with IIRC. I'll double check. It's possible we were just transitioning through NoState too - which dropped the warnings.
29bb6bc to
629432e
Compare
fixes tailscale/corp#36233 We should be dropping health warnings when we're not in the Running state. This also adds some functionality to inject fake health warnings to make it possible to trigger these without triggering a real health condition. Signed-off-by: Jonathan Nobels <[email protected]>
629432e to
814fdc7
Compare
…ale#733) fixes tailscale/corp#36233 We should be dropping health warnings when we're not in the Running state. This also adds some functionality to inject fake health warnings to make it possible to trigger these without triggering a real health condition. Signed-off-by: Jonathan Nobels <[email protected]>
…ale#733) fixes tailscale/corp#36233 We should be dropping health warnings when we're not in the Running state. This also adds some functionality to inject fake health warnings to make it possible to trigger these without triggering a real health condition. Signed-off-by: Jonathan Nobels <[email protected]>
…ale#733) fixes tailscale/corp#36233 We should be dropping health warnings when we're not in the Running state. This also adds some functionality to inject fake health warnings to make it possible to trigger these without triggering a real health condition. Signed-off-by: Jonathan Nobels <[email protected]>
fixes tailscale/corp#36233
We should be dropping health warnings when we're not in the Running state.