Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Akuma
bitmask_android
Commits
58a1aec0
Commit
58a1aec0
authored
Jul 12, 2019
by
cyberta
Browse files
cleanup: undo unnecessary if-clause nesting
parent
6abe74c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
View file @
58a1aec0
...
...
@@ -539,10 +539,8 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
VpnStatus
.
logInfo
(
R
.
string
.
last_openvpn_tun_config
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
)
{
if
(
mProfile
.
mAllowLocalLAN
)
{
allowAllAFFamilies
(
builder
);
}
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
&&
mProfile
.
mAllowLocalLAN
)
{
allowAllAFFamilies
(
builder
);
}
if
(
mLocalIP
==
null
&&
mLocalIPv6
==
null
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment