Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices."
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user