Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices."

This commit is contained in:
Treehugger Robot
2020-06-15 10:58:34 +00:00
committed by Gerrit Code Review

View File

@@ -1015,6 +1015,10 @@ public class SystemConfig {
addFeature(PackageManager.FEATURE_RAM_NORMAL, 0);
}
if (Build.VERSION.FIRST_SDK_INT >= Build.VERSION_CODES.Q) {
addFeature(PackageManager.FEATURE_IPSEC_TUNNELS, 0);
}
for (String featureName : mUnavailableFeatures) {
removeFeature(featureName);
}