tunnel: uatch minSdk between tunnel and ui
Signed-off-by: L.W.Reek <syphyr@gmail.com> [Jason: remove else clause] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
176dc18dba
commit
ecc3c0a61c
@@ -331,8 +331,7 @@ public final class GoBackend implements Backend {
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
||||
builder.setMetered(false);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
|
||||
service.setUnderlyingNetworks(null);
|
||||
service.setUnderlyingNetworks(null);
|
||||
|
||||
builder.setBlocking(true);
|
||||
try (final ParcelFileDescriptor tun = builder.establish()) {
|
||||
|
||||
Reference in New Issue
Block a user