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

This commit is contained in:
Lorenzo Colitti
2020-06-15 09:06:29 +00:00
committed by Android (Google) Code Review

View File

@@ -1197,6 +1197,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);
}