Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9a00592 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Automerger Merge Worker
Browse files

Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev...

Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev am: 242087ad am: 77caef47 am: 74ec0c31 am: 5edf334f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11742658

Change-Id: I4f5a5c2c254cde7d13c49569a5d248dfa5b349a9
parents 3b81a13e 5edf334f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1216,6 +1216,10 @@ public class SystemConfig {
            addFeature(PackageManager.FEATURE_APP_ENUMERATION, 0);
        }

        if (Build.VERSION.FIRST_SDK_INT >= Build.VERSION_CODES.Q) {
            addFeature(PackageManager.FEATURE_IPSEC_TUNNELS, 0);
        }

        for (String featureName : mUnavailableFeatures) {
            removeFeature(featureName);
        }