You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
android: hide allow LAN access if feature not enabled (#583)
excludeRoute is only supported on API 33+, so we are not supporting allow LAN access for older versions. To avoid confusion, don't show the option if the feature is not enabled.
Updates tailscale/corp#25083
Signed-off-by: kari-ts <[email protected]>
val tailnetExitNodes by model.tailnetExitNodes.collectAsState()
@@ -99,7 +100,8 @@ fun ExitNodePicker(
99
100
}
100
101
}
101
102
102
-
if (!allowLanAccessMDMDisposition.value.hiddenFromUser) {
103
+
// https://developer.android.com/reference/android/net/VpnService.Builder#excludeRoute(android.net.IpPrefix) - excludeRoute is only supported in API 33+, so don't show the option if allow LAN access is not enabled.
104
+
if (!allowLanAccessMDMDisposition.value.hiddenFromUser &&Build.VERSION.SDK_INT>=Build.VERSION_CODES.TIRAMISU) {
0 commit comments