parent
6429ff0603
commit
8a8d38a30f
3 changed files with 4 additions and 1 deletions
|
|
@ -396,7 +396,6 @@ class VPNService : BaseVpnService(), LocalDnsService.Interface {
|
|||
fun establish(): ParcelFileDescriptor? {
|
||||
Log.v(tag, "Aman: establish....................")
|
||||
mbuilder.allowFamily(OsConstants.AF_INET)
|
||||
mbuilder.allowFamily(OsConstants.AF_INET6)
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) mbuilder.setMetered(false)
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) setUnderlyingNetworks(null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue