We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 976ba8e commit ca7dc5fCopy full SHA for ca7dc5f
android/src/main/java/com/tailscale/ipn/QuickToggleService.java
@@ -60,9 +60,13 @@ public void onStopListening() {
60
}
61
62
63
- @SuppressWarnings("deprecation")
64
@Override
65
public void onClick() {
+ unlockAndRun(this::secureOnClick);
66
+ }
67
+
68
+ @SuppressWarnings("deprecation")
69
+ private void secureOnClick() {
70
boolean r;
71
synchronized (lock) {
72
r = UninitializedApp.get().isAbleToStartVPN();
0 commit comments