Skip to content
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

android: synchronize ipn state and UI #585

Merged
merged 1 commit into from
Dec 9, 2024
Merged

android: synchronize ipn state and UI #585

merged 1 commit into from
Dec 9, 2024

Conversation

kari-ts
Copy link
Collaborator

@kari-ts kari-ts commented Dec 9, 2024

Pass in intended state to toggleVpn and keep track of progress to avoid redundant updates and ensure that the action taken reflects the user's intent. This fixes a possible recomposition loop caused by the ipn state and the vpn toggle state getting out of sync.

Updates tailscale/tailscale#14125

Pass in intended state to toggleVpn and keep track of progress to avoid redundant updates and ensure that the action taken reflects the user's intent.
This fixes a possible recomposition loop caused by the ipn state and the vpn toggle state getting out of sync.

Updates tailscale/tailscale#14125

Signed-off-by: kari-ts <[email protected]>
Copy link
Collaborator

@agottardo agottardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I suggest testing by exercising interactions with intents such as toggling via quick toggle / persistent notification.

@kari-ts kari-ts merged commit db6f9fe into main Dec 9, 2024
4 checks passed
@kari-ts kari-ts deleted the kari/toggle branch December 9, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants